Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Supervisor on Debian Wheezy: another program is already listening on a port that one of our HTTP servers is configured to use [closed]

When I run service supervisor start I run into the following error:

Starting supervisor: Error: Another program is already listening on a port that one of our HTTP servers is configured to use.  Shut this program down first before starting supervisord. For help, use /usr/bin/supervisord -h 

Content of /var/log/superuser/supervisord.log:

2014-08-04 16:25:45,891 CRIT Supervisor running as root (no user in config file) 2014-08-04 16:25:45,891 WARN Included extra file "/etc/supervisor/conf.d/com.domain.subdomain.conf" during parsing 

Good-to-know-stuff:
- I use Debian Wheezy on a Digital Ocean server.
- I have tried to check the ports supervisor uses in a clean Vagrant box with the same specs, but I have got the same errors.

How could I check which port is the source of this error?

like image 529
balintant Avatar asked Aug 04 '14 15:08

balintant


1 Answers

I solved my problem by unlinking the .sock file.

sudo unlink /var/run/supervisor.sock 

If this does not help you should check and unlink the file at /tmp/supervisor.sock.

like image 74
balintant Avatar answered Sep 23 '22 05:09

balintant