connection refused: 8140

317 views
Skip to first unread message

Chaitanya Phani

unread,
Feb 19, 2016, 10:17:35 AM2/19/16
to Puppet Users
Hi All,

When I run "puppet agent --test" i am getting the connection refused error at port 8140.

When I am installing puppet master I have faced the following issues

Issue 1: 

Initially when I installed puppet enterprise the installation failed due to some firewall issue. I tried to stop the iptables "service iptables stop"  but still not able to install. Finally I removed the iptables then I was able to install. 

Please let me know how to install puppet enterprise without removing iptables. 

I tried to accept the 8140 and 3000 ports in iptables but no use. 

Issue 2:

After removing iptables the installation is progressing and able to access web console but I faced another issue. 

Installing your deployment

Install Puppet Enterprise on saim3.sai.com. [saim3.sai.com] An error occured while performing installpesaim3.sai.com: invalid byte sequence in US-ASCI


Not sure what is this issue and how to resolve. Since I am working in VM, I started with new VM with fresh installation. 


Please let me know if any have any suggestions. 

Thanks,

warron.french

unread,
Feb 19, 2016, 8:02:00 PM2/19/16
to puppet...@googlegroups.com

Chaitanya, you should have been able to install the Puppet Master easily without disabling or removing the iptables at all.

Explain your environment,  CentOS, or what OSI exactly by brand and version.

What puppet master installation? Monolithic or separated?

How are you implementing the Puppet Master binaries? Packages or tarball?

Finally, what do your iptables rules for 8140 and 3000 look like exactly?

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/e07f6bcb-aab3-4777-8a2e-bddcec3a298e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rich Burroughs

unread,
Feb 20, 2016, 12:16:56 AM2/20/16
to puppet...@googlegroups.com
This is PE and I'm pretty sure iptables can cause this. I believe I've had the same problem, because iptables was blocking the installer from connecting to Puppet DB. I was doing a monolithic install but I expect it could happen if Puppet DB is running on a separate host too.

Take a look at the installer output/log and I'm guessing you'll see that's what failed.

The agent gets connection refused because the install failed on the master, the master isn't actually running. I can't recall the port number for Puppet DB off the top of my head but I know there's a page about network requirements in the PE docs.


Rich

Chaitanya Phani

unread,
Feb 20, 2016, 3:04:36 PM2/20/16
to Puppet Users
French, 

i am using CentOs 7 and I am using Monolithic with tarball(puppet-enterprise-2015.3.2-el-7-x86_64.tar.gz) via web console.

I have added 8140 and 3000 ports with the below commands. 

-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 8140 -j ACCEPT
-A RH-Firewall-1-INPUT -p tcp -m tcp --dport 3000 -j ACCEPT

Still it didnt work.


Thanks,
Chaitanya
Reply all
Reply to author
Forward
0 new messages