These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for httpd socket and port errors on the new forum.
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 Syntax OK
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:
[code:1]
NameVirtualHost x.y.z.q:80
<VirtualHost x.y.z.q:80>
...
</VirtualHost>
[/code:1]
It sounds like it's finding some entries with *'s rather than IP addresses though, which may be confusing it.
-Eric
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?
NameVirtualHost *
NameVirtualHost 66.126.10.137:80
Yeah, delete or comment out that first entry, and restart Apache -- hopefully that'll do the trick!
-Eric
got it, thnaks