I am receiving the following error from the httpd log:
[error] (9)Bad file descriptor: apr_socket_accept: (client socket)
Executing apachectl configtest gives:
[Thu Feb 19 12:45:47 2009] [error] VirtualHost default:443 – mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
I also cannot access port 80 and get a Forbidden error. Seems like I need to correct the default port from 443 to 80.
In your Apache config, what does your NameVirtualHost line(s) look like?
And what about your VirtualHost lines?
Generally, you’d have something like:
It sounds like it’s finding some entries with *'s rather than IP addresses though, which may be confusing it.
Curiously enough it has two entries. This is a fresh install so no changes were done to the config file. Perhaps I should delete the first entry then?
Yeah, delete or comment out that first entry, and restart Apache – hopefully that’ll do the trick!