Results 1 to 9 of 9
I am using SuSe9.1. My server has rebooted (I dont know why). Now I type: "apache2ctl start". But I cant go my web site, why? How I can confirm that ...
- 10-09-2005 #1Just Joined!
- Join Date
- Oct 2005
- Posts
- 5
Basi apache question
I am using SuSe9.1. My server has rebooted (I dont know why). Now I type: "apache2ctl start". But I cant go my web site, why? How I can confirm that apache2 is running?
Last uptime was over 120 days and only now I have this kind of problem (or at first i couldnt remember "apache2ctl start" command).
- 10-09-2005 #2Linux Newbie
- Join Date
- Jul 2005
- Location
- Turn Around
- Posts
- 202
what do you get for an error while trying to get to ur site?
- 10-09-2005 #3Just Joined!
- Join Date
- Oct 2005
- Posts
- 5
Something like that:
Originally Posted by DoctorDan
"The connection was refused when..."
- 10-09-2005 #4Just Joined!
- Join Date
- Oct 2005
- Posts
- 5
If I try this:
Originally Posted by Poy
linux:/etc/apache2 # apache2ctl graceful
httpd not running, trying to start
linux:/etc/apache2 # apache2ctl graceful
httpd not running, trying to start
I understand that it isnt running at all.
Is my apache server broken?
- 10-09-2005 #5Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
How are you accessing it? If you are using a router you are on a LAN and may not be able to access your DNS name. You should try accessing it as http://localhost:80. I usually start apache with
You can check current status withCode:sudo rcapache2 start
Code:sudo rcapache2 status
- 10-09-2005 #6Just Joined!
- Join Date
- Oct 2005
- Posts
- 5
---
Originally Posted by bigtomrodney
linux:/ # sudo rcapache2 start
Starting httpd2 (prefork) done
linux:/ # sudo rcapache2 status
Checking for httpd2: unused
linux:/ #
---
I dont know what is it now working or not (unused)? I am behind my wlan router, but as I said it has been working before. I have routed port 80 to server's ip address. Or I have tried (from my other computer) to use http://192.168.0.174 unsuccesfully.
- 10-09-2005 #7Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
after firing up apache you can make sure that your port is actually open with
nmap -sT localhost...if you see port 80, or whatever, open for http, then the problem lies elsewhere...then you could check permissions or your router, etc...Operating System: GNU Emacs
- 10-09-2005 #8
have't seen this yet, have you checked apache error logs to see what they say. should be in /<yourapacheinstalldir>/logs/error_log
- 10-09-2005 #9Just Joined!
- Join Date
- Oct 2005
- Posts
- 5
[Mon Oct 10 00:41:00 2005] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
Originally Posted by jledhead
[Mon Oct 10 00:41:00 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)


Reply With Quote