Hello!
I had Apache 2.0.50 compiled on my Fedora Core 2 box. It's just for running my PHP scripts and testing my homepage. Then I changed the config file and enabled viewing the local homepage to all on the LAN. This worked great too.
Then once it stoped running. I got always this message "The connection was refused when attempting to connect to localhost.". Tryed
http://localhost/ ,
http://172.17.23.21/ [my IP adress].
I searched the forum for simmilar threads, I found some, but they didn't fix my problem.
So I recompiled my apache 2.0.52, but I still get this error. It's not working either on LAN nor on my local PC.
First, I'd like to say it's no firewall problem, port 80 is not blcked.
I made some changes to the httpd.conf file but it still won't connect.
I get this error when trying to start apache:
Code:
[root@space root]# /usr/local/Apache2/bin/apachectl start
httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(98)Address already in use: make_sock: could not bind to address 172.17.23.21:80
no listening sockets available, shutting down
Unable to open logs
[root@space root]#
So if I remove my IP adress from the "Listen" command I'll get this error:
Code:
[root@space root]# /usr/local/Apache2/bin/apachectl start
httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[root@space root]#
This is the error_log file:
Code:
[root@space root]# cat /usr/local/Apache2/logs/error_log
[Sun Nov 14 16:04:44 2004] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "space"
Configuration Failed
[Sun Nov 14 16:09:59 2004] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "space"
Configuration Failed
[Tue Nov 16 23:43:30 2004] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "space"
Configuration Failed
[Tue Nov 16 23:52:01 2004] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "space"
Configuration Failed
[Tue Nov 16 23:52:19 2004] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "space"
Configuration Failed
[Tue Nov 16 23:55:57 2004] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "space"
Configuration Failed
[Tue Nov 16 23:56:03 2004] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "space"
Configuration Failed
[Wed Nov 17 00:18:08 2004] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "space"
Configuration Failed
[Wed Nov 17 00:19:14 2004] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "space"
Configuration Failed
[root@space root]#
"space" is my hostname.
What can I do?
Thank you for any help!
Regards, Boby!