Hey all,

I'm having a little bit of a weird issue on my web host. I was just
wondering if anyone's seen anything like this before.

The problem is that you can't seem to restart apache via the stock init
script that comes with apache:

[root@beta:~] #service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: [Mon Mar 03 11:21:14 2014] [warn] module php5_module is
already loaded, skipping
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address
0.0.0.0:80<http://0.0.0.0/>
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]
[root@beta:~] #

IT complains that apache can't restart because apache is already listening.

So what you have to do in this case is kill it like so:

[root@beta:~] #pgrep httpd
12322
22405
22505
22506
22507
22508
22509
22510
22511
22512
[root@beta:~] #

[root@beta:~] #pkill httpd


And repeat as necessary until you can achieve this:

[root@beta:~] #pgrep httpd
[root@beta:~] #


It's a real pain with it being the way it is, because this makes it
impossible for puppet to manage this service. I'm mainly just tired of
seeing errors in the reports about this! :)

So whaddya think? Have you ever seen this problem before and do you know
how to solve this issue?

Thanks,
Tim

-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to