Ask Your Question

Error: Could not run: Address already in use - bind(2)

asked 2014-09-29 20:54:53 -0600

jennisshrestha gravatar image

I got this error while trying to configure puppet agent with this command puppet master --verbose --no-daemonize. What is the problem and how to fix it?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-09-30 02:35:30 -0600

jonn gravatar image


It probably means that the puppet master is already running. Try checking the output of netstat -anpl | grep 8140 - if you see a line referencing port 8140 with LISTEN, then that is probably your issue. (The puppet master process listens on port 8140 for incoming connections from clients by default.)

edit flag offensive delete link more

answered 2015-02-04 08:27:25 -0600

graham_m_dunn gravatar image

updated 2015-02-04 08:28:27 -0600

If you've followed the default setup for Ubuntu, apache will have started, listening on port 8140. sudo service apache2 stop, then carry on with the config.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-09-29 20:54:53 -0600

Seen: 8,321 times

Last updated: Feb 04 '15