Tail Apache's error logfile in the background before you try to start the server again. Look in httpd.conf for an ErrorLog directive that does not appear in a virtual server configuration to find out where the log is.
On my system, I do:
tail -f /var/log/httpd/error_log &
Then I try to start the server again. Want the best answers? Ask the best questions:
and i changed the name of the IPv4 to an ip address
now the error we get is
Failed to start apache :
Starting httpd: (98)Address already in use: make_sock: could not bind to address 216.93.175.112:80
no listening sockets available, shutting down
[FAILED]
You may have the same problem with 1.3.x. In order for a virtual server to bind to an IP address, that IP address must be available on a network interface.
One problem that can crop up is NAT. The routeable address your ISP has assigned to you may not be the one bound to your server because of some NATting going on at your network border. If so, then you will need to direct Apache to bind to the non-routeable address to which incoming packets are routed. Want the best answers? Ask the best questions:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.