【问题标题】:Centos 7 Puppet Enterprise installation - Connection refused on 4433 portCentos 7 Puppet Enterprise 安装 - 4433 端口上的连接被拒绝
【发布时间】:2017-11-24 01:51:48
【问题描述】:

由于以下错误,在 Centos 7 上安装 Puppet Enterprise 失败:

“2017-06-21 07:11:41,242 - [错误]:无法应用目录:连接被拒绝 - “abc.xyz.com”端口 4433 的连接(2)”

我做了以下步骤:

  1. 安装firewalld:yum install firewalld

  2. 启动firewalld服务:sudo systemctl start firewalld.service

  3. 获取防火墙区域:firewall-cmd --get-active-zones --> 这没有返回任何东西

  4. 将 4433 端口添加到公共区域:

firewall-cmd --zone=public --add-port=4433/tcp --permanent --> 这确实返回了“成功”消息

  1. 重新加载:firewall-cmd --reload

  2. 搜索4433端口:netstat -tulpn | grep 4433 --> 这没有返回任何东西

  3. 检查端口 4433:curl -v abc.xyz.com:4433 --> 这仍然返回“连接被拒绝”错误。

我在这里错过了什么?

【问题讨论】:

    标签: centos puppet firewall puppet-enterprise


    【解决方案1】:

    我遇到的问题是当我尝试使用 Web 控制台“https://abc.xyz.com:3000”进行安装时。该问题已通过使用 pe.conf 文件进行安装解决。

    {
      "console_admin_password": "password",
      "puppet_enterprise::puppet_master_host": "abc.xyz.com",
      "pe_install::puppet_master_dnsaltnames": [
        "puppet",
        "master",
        "abc"
      ],
      "puppet_enterprise::use_application_services": true
    }
    

    【讨论】:

      猜你喜欢
      • 2015-06-14
      • 1970-01-01
      • 1970-01-01
      • 2019-11-10
      • 2021-01-27
      • 2019-10-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多