Apache start up error

General support questions
Post Reply
CS10
Posts: 3
Joined: 2016/04/29 22:25:11

Apache start up error

Post by CS10 » 2016/04/29 22:27:17

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

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Apache start up error

Post by gerald_clark » 2016/04/29 22:49:53

Sounds like you have duplicate IP addresses.

Whoever
Posts: 1089
Joined: 2013/09/06 03:12:10

Re: Apache start up error

Post by Whoever » 2016/04/30 01:16:20

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.

CS10
Posts: 3
Joined: 2016/04/29 22:25:11

Re: Apache start up error

Post by CS10 » 2016/04/30 06:15:54

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

User avatar
TrevorH
Forum Moderator
Posts: 27127
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Apache start up error

Post by TrevorH » 2016/04/30 10:51:19

Post the output from uname -a
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

CS10
Posts: 3
Joined: 2016/04/29 22:25:11

Re: Apache start up error

Post by CS10 » 2016/04/30 12:34:50

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...

Whoever
Posts: 1089
Joined: 2013/09/06 03:12:10

Re: Apache start up error

Post by Whoever » 2016/04/30 15:52:20

How are you starting Apache? It needs to be started by root in order to bind to port 88.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Apache start up error

Post by gerald_clark » 2016/04/30 16:18:02

Why are you listening on port 88 instead of port 80?
Selinux is not going to allow that without adding custom rules.

Petersool
Posts: 7
Joined: 2018/11/25 15:17:48

Re: Apache start up error

Post by Petersool » 2018/11/30 18:47:35

Do rebuilding Apache wipe out www content and websites ?

lightman47
Posts: 999
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: Apache start up error

Post by lightman47 » 2018/11/30 23:44:18

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.
Multple login IDs are not your friend when asking for help!

Post Reply

Return to “CentOS 6 - General Support”