|
|
|
|
|
|
| Author |
Message |
David Wright *nix forums Guru
Joined: 20 Feb 2005
Posts: 767
|
Posted: Thu Feb 03, 2005 8:24 am Post subject:
Apache won't accept incoming requests
|
|
|
I set-up a test wiki on my home server. I wanted to test it with a friend,
but he was unavailable last week. I went to poke a hole in the external
firewall today, but tested the Wiki first...
Apache is refusing connections. I checked the configuration and it seems OK,
but when I try and restart Apache in YaST, it says "cannot adjust apache2
service".
It looks like it went down on the 19th and hasn't been running since...
While I've been busy on other things, I haven't tried to access apache
since... The only entries in the log file are as follows:
[Mon Jan 17 23:07:23 2005] [notice] caught SIGTERM, shutting down
[Tue Jan 18 08:24:02 2005] [warn] Init: Session Cache is not configured
[hint: SSLSessionCache]
[Tue Jan 18 08:24:02 2005] [notice] suEXEC mechanism enabled
(wrapper: /usr/sbin/suexec2)
[Tue Jan 18 08:24:13 2005] [notice] Apache/2.0.50 (Linux/SUSE) configured --
resuming normal operations
[Wed Jan 19 10:56:10 2005] [error] [client 192.168.0.2] File does not
exist: /srv/www/htdocs/wiki
(SuSE 9.2, Apache 2, SuSE Firewall disabled)
Dave |
|
| Back to top |
|
 |
Gregory Toomey *nix forums Guru Wannabe
Joined: 26 Feb 2005
Posts: 152
|
Posted: Thu Feb 03, 2005 8:36 am Post subject:
Re: Apache won't accept incoming requests
|
|
|
David Wright wrote:
| Quote: | I set-up a test wiki on my home server. I wanted to test it with a friend,
but he was unavailable last week. I went to poke a hole in the external
firewall today, but tested the Wiki first...
Apache is refusing connections. I checked the configuration and it seems
OK, but when I try and restart Apache in YaST, it says "cannot adjust
apache2 service".
It looks like it went down on the 19th and hasn't been running since...
While I've been busy on other things, I haven't tried to access apache
since... The only entries in the log file are as follows:
[Mon Jan 17 23:07:23 2005] [notice] caught SIGTERM, shutting down
[Tue Jan 18 08:24:02 2005] [warn] Init: Session Cache is not configured
[hint: SSLSessionCache]
[Tue Jan 18 08:24:02 2005] [notice] suEXEC mechanism enabled
(wrapper: /usr/sbin/suexec2)
[Tue Jan 18 08:24:13 2005] [notice] Apache/2.0.50 (Linux/SUSE) configured
[--
resuming normal operations
[Wed Jan 19 10:56:10 2005] [error] [client 192.168.0.2] File does not
exist: /srv/www/htdocs/wiki
How are we supposed to know if the file exists? |
Look in /var/log/apache2 for more error messages
| Quote: | (SuSE 9.2, Apache 2, SuSE Firewall disabled)
Dave
|
Assuming you can get your site workking locally, test from another home
machine/external IP
- ping your Apache machine
- telnet to port 80 on your Apache machine
gtoomey
gtoomey |
|
| Back to top |
|
 |
David Wright *nix forums Guru
Joined: 20 Feb 2005
Posts: 767
|
Posted: Thu Feb 03, 2005 8:58 am Post subject:
Re: Apache won't accept incoming requests
|
|
|
Gregory Toomey wrote:
| Quote: | David Wright wrote:
I set-up a test wiki on my home server. I wanted to test it with a
friend, but he was unavailable last week. I went to poke a hole in the
external firewall today, but tested the Wiki first...
Apache is refusing connections. I checked the configuration and it seems
OK, but when I try and restart Apache in YaST, it says "cannot adjust
apache2 service".
It looks like it went down on the 19th and hasn't been running since...
While I've been busy on other things, I haven't tried to access apache
since... The only entries in the log file are as follows:
[Mon Jan 17 23:07:23 2005] [notice] caught SIGTERM, shutting down
[Tue Jan 18 08:24:02 2005] [warn] Init: Session Cache is not configured
[hint: SSLSessionCache]
[Tue Jan 18 08:24:02 2005] [notice] suEXEC mechanism enabled
(wrapper: /usr/sbin/suexec2)
[Tue Jan 18 08:24:13 2005] [notice] Apache/2.0.50 (Linux/SUSE) configured
[--
resuming normal operations
[Wed Jan 19 10:56:10 2005] [error] [client 192.168.0.2] File does not
exist: /srv/www/htdocs/wiki
How are we supposed to know if the file exists?
Look in /var/log/apache2 for more error messages
(SuSE 9.2, Apache 2, SuSE Firewall disabled)
Dave
Assuming you can get your site workking locally, test from another home
machine/external IP
- ping your Apache machine
- telnet to port 80 on your Apache machine
gtoomey
gtoomey
|
The machine is on my home network. I can't access it locally (either
localhost, ip address or name, and can't access it from other machines on
the same network (connection refused).
The file exists, but even the root htdocs directory isn't available
....
BAH! Thanks though, checked the access log, all fine, checked the
rcapache2.out "syntax error line 96" !!
Dave |
|
| Back to top |
|
 |
jdonnell *nix forums beginner
Joined: 24 Mar 2005
Posts: 25
|
Posted: Thu Feb 03, 2005 4:11 pm Post subject:
Re: Apache won't accept incoming requests
|
|
|
run the following as root and see what happens.
apache2ctl start
If it doesn't say anything then it started fine. Check if it's running
with
ps ax | grep httpd
If it's running then you may have it running on a different port than
the one your trying to connect to. |
|
| Back to top |
|
 |
Andrew *nix forums Guru
Joined: 24 Feb 2005
Posts: 387
|
Posted: Fri Feb 04, 2005 4:06 am Post subject:
Re: Apache won't accept incoming requests
|
|
|
Hi David
if you have SELinux security running it may be causing the problems,
to check it, go to "System settings"--> "security Level"-->At this
point check if the etho card is trusted, if not ticked tick it and try
the webpage,
if it not work, continue and try to continue with the following,
click tab "SELinux"--> click the arrow next to "transition", and click
the box for -->"Disable SELinux protection for httpd daemon", this is
not such a good idea as it can create a security hole, but try it, and
if you work out how to configure it let us know,
good luck
Andrew
--"jdonnell" <jaydonnell@gmail.com> wrote in message news:<1107450666.389853.140580@c13g2000cwb.googlegroups.com>...
| Quote: | run the following as root and see what happens.
apache2ctl start
If it doesn't say anything then it started fine. Check if it's running
with
ps ax | grep httpd
If it's running then you may have it running on a different port than
the one your trying to connect to. |
|
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Fri Jan 09, 2009 1:54 am | All times are GMT
|
|
Debt Management | Europe Hotel | Read Free Manga Online | Bankruptcy | Novela histórica
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|