Bind error; "Address already in use"

skyraider

Verified User
Joined
Jun 9, 2006
Messages
10
Hi,

I'm using CentOS 5.0. I can access the apache welcome page, but I can't access myip:2222 - the page times out.

cd /usr/local/directadmin
./directadmin

produces: Bind Error: Make sure there aren't any copies running in the background.
Address already in use

Any ideas?

Thanks in advance.
 
/sbin/service iptables stop
/sbin/chkconfig iptables off

Now there is no firewall at all. Not recommended for the long term.
 
Right. I tried to service iptables start, but nothing happened. The solution is to add port 2222 to the apf exception list in the conf file (if you have the apf firewall) and then do:

apf -r

to reload the conf file. This helps if iptables doesn't want to start up. Then do service iptables start and you should be good to go. To check, do service iptables status.
 
Back
Top