Ask Your Question
0

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

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

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
1

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

jonn gravatar image

Hi,

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
1

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

graham_m_dunn gravatar image

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

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

Stats

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

Seen: 6,725 times

Last updated: Feb 04 '15