Apache 2.0: server running, but no luck loading pages
Posted 06 April 2003 - 08:42 PM
I am very much an apache newb, so any help you could provide would be much obliged.
I have a fresh install of Apache 2.0 on a freebsd box. When I try \"apachectl start\" I get the following message:
blahblah# bin/apachectl start
httpd (pid 806) already running
Now, \"apachectl status\" returns:
Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.
lynx: Can\'t access startfile http: / / localhost/server-status
Unofortunately, I\'m not really sure what this means, though it seems clear that being unable to connect to the remote host is my issue. Any help you could provide would be much obliged!
Posted 07 April 2003 - 04:42 AM
ps -aux | grep http
ps -elf | grep http
and see if anything shows up.
have you tried viewing just //localhost ? apache may not be configured to allow the server-status extension.
Posted 09 April 2003 - 05:35 PM
When I try \"apachectl start\" with my normal login, it tells me that it cannot bind port 80. However, when I execute \"apachectl start\" in sudo, after a restrart, it just returns another commnand line, and if typed again, it will tell me \"httpd (pid 783) already running\".
Can anyone give me a quick synopsis on how binding ports works in unix? I guess I need to check that port 80 is open. Another odd symptom is that at one point I could FTP to this machine, but now I cannot. I haven\'t changed any FTP settings that I know of, so I am rather confused as to what has happened. Thanks for your time,
Posted 09 April 2003 - 10:24 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users