"(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
no listening sockets available, shutting down
Unable to open logs"
But I can kill the running httpd and apache will start without a
problem...no warnings whatsoever. I never got this error prior to
upgrading.
I've changed absolutely nothing about my httpd.conf but during testing I
did note that the default httpd.conf installed doesn't cause the restart
error. I'm guessing that's because the default httpd.conf doesn't setup
virtualhosts, etc. but it might be significant. Apache's test shows no
errors in the .conf file. I don't have any files in the conf.d directory
so there are no conflicts there.
Any ideas?
> /etc/init.d/httpd relies on a static reference to the httpd.pid and I
> had moved mine into another directory in httpd.conf. Seems to be time
> they derive that from the httpd.conf since it's not guaranteed to be in
> a static location and this is a VERY non-obvious bug to hunt out.
Moving data from where it's expected can hardly be called a bug.
Doc it hurts when I do this.
--
I told you this was going to happen.
If the path was hard coded in the apache binary then I might agree with
you but it's not; it's in httpd.conf for a reason so my assertion
stands, it's a bug with the "service" command.
> Ivan Marsh wrote:
>
>> Moving data from where it's expected can hardly be called a bug.
>
> If the path was hard coded in the apache binary then I might agree with
> you but it's not; it's in httpd.conf for a reason so my assertion
> stands, it's a bug with the "service" command.
I will admit that if the init script is getting all it's other
configuration data from the conf file it might as well get the pid as
well. I still wouldn't call it a bug... poorly written and redundant?
Sure.