当我在代理上做傀儡代理时,我看到以下内容。它最近突然发生了。几件事情要提到: 1.木偶大师和代理商全部投入运行。 2.证书已成功签名。 木偶主版本4.3.1 木偶代理版本3.8.4 OS RedHat,主人6人,某些代理人7人。Puppet上的连接问题
Warning: Unable to fetch my node definition, but the agent run will continue:
Warning: Connection refused - connect(2)
Info: Retrieving pluginfacts
Error: /File[/var/lib/puppet/facts.d]: Failed to generate additional resources using 'eval_generate': Connection refused - connect(2)
Error: /File[/var/lib/puppet/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet://vengcjn501.mmm.com/pluginfacts: Connection refused - connect(2)
Info: Retrieving plugin
Error: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': Connection refused - connect(2)
Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve file metadata for puppet://vengcjn501.mmm.com/plugins: Connection refused - connect(2)
Info: Loading facts
Error: Could not retrieve catalog from remote server: Connection refused - connect(2)
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Error: Could not send report: Connection refused - connect(2)
如果主服务器正在运行,但代理程序收到“连接被拒绝”消息,则很可能连接在防火墙处被阻塞 - 可能在主服务器端,但可能位于代理端。显然,如果防火墙配置发生变化,这可能会突然发生。 –