Page 1 of 1

Apache start up error

Posted: 2016/04/29 22:27:17
by CS10
Hi All,
I recently purchased a new dedicated server with CentOS 6 installed.
I've installed Webmin/VirtualMin on it as my control panel.

When I try to start apache from a virtual server ive created, i get the following:

Starting httpd: (98)Address already in use: make_sock: could not bind to address 0.0.0.0:88
no listening sockets available, shutting down
Unable to open logs
[FAILED]

I'm really struggling and would appreciate help.

Many thanks,
Craig

Re: Apache start up error

Posted: 2016/04/29 22:49:53
by gerald_clark
Sounds like you have duplicate IP addresses.

Re: Apache start up error

Posted: 2016/04/30 01:16:20
by Whoever
CS10 wrote:Hi All,
ake_sock: could not bind to address 0.0.0.0:88
Looks like something is already listening on port 88.

Code: Select all

netstat -avpn | grep ":88 .*LISTEN"
should reveal it.

Re: Apache start up error

Posted: 2016/04/30 06:15:54
by CS10
Thanks for the reply.

I get this when i try and run netstat -avpn | grep ":88 .*LISTEN"

netstat: no support for `AF INET (sctp)' on this system.
netstat: no support for `AF INET (sctp)' on this system.
netstat: no support for `AF IPX' on this system.
netstat: no support for `AF AX25' on this system.
netstat: no support for `AF X25' on this system.
netstat: no support for `AF NETROM' on this system.

Can you think of anything else?

Many thanks in advance,
Craig

Re: Apache start up error

Posted: 2016/04/30 10:51:19
by TrevorH
Post the output from uname -a

Re: Apache start up error

Posted: 2016/04/30 12:34:50
by CS10
Hi Trevor,

The output is:

Linux green6119.server-cp.com 2.6.32-573.22.1.el6.x86_64 #1 SMP Wed Mar 23 03:35:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux.

I'm almost convinced that the server needs rebuilding to be honest...

Re: Apache start up error

Posted: 2016/04/30 15:52:20
by Whoever
How are you starting Apache? It needs to be started by root in order to bind to port 88.

Re: Apache start up error

Posted: 2016/04/30 16:18:02
by gerald_clark
Why are you listening on port 88 instead of port 80?
Selinux is not going to allow that without adding custom rules.

Re: Apache start up error

Posted: 2018/11/30 18:47:35
by Petersool
Do rebuilding Apache wipe out www content and websites ?

Re: Apache start up error

Posted: 2018/11/30 23:44:18
by lightman47
You may get better results by starting your own post rather than trying to 'redirect' one that is unrelated and 2 1/2 years old.

More to your question: You'll need to tell us what you call "rebuilding". If you refer to merely a 'yum reinstall' of http then your 'pages' should survive. For any other method, you'll need to be very much more descriptive of your plans before your question can be answered.