niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » Distributions » Suse
Apache won't accept incoming requests
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
Author Message
David Wright
*nix forums Guru


Joined: 20 Feb 2005
Posts: 767

PostPosted: Thu Feb 03, 2005 8:24 am    Post subject: Apache won't accept incoming requests Reply with 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

(SuSE 9.2, Apache 2, SuSE Firewall disabled)

Dave
Back to top
Gregory Toomey
*nix forums Guru Wannabe


Joined: 26 Feb 2005
Posts: 152

PostPosted: Thu Feb 03, 2005 8:36 am    Post subject: Re: Apache won't accept incoming requests Reply with quote

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

PostPosted: Thu Feb 03, 2005 8:58 am    Post subject: Re: Apache won't accept incoming requests Reply with quote

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

PostPosted: Thu Feb 03, 2005 4:11 pm    Post subject: Re: Apache won't accept incoming requests Reply with 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
Andrew
*nix forums Guru


Joined: 24 Feb 2005
Posts: 387

PostPosted: Fri Feb 04, 2005 4:06 am    Post subject: Re: Apache won't accept incoming requests Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 1:54 am | All times are GMT
navigation Forum index » *nix » Linux » Distributions » Suse
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Restricting postfix mail incoming only from Barracuda firewa gnewak Postfix 0 Thu Jul 03, 2008 12:57 am
No new posts Exim4 not creating and/or receiving incoming mail... jtelep@localonline.net Exim 1 Fri Jul 21, 2006 1:59 am
No new posts freebsd with apache, php and mysql Yves Savoie FreeBSD 5 Wed Jul 19, 2006 11:39 pm
No new posts apache startup woes (Solaris 10) Daphne Tregear Solaris 7 Wed Jul 19, 2006 11:15 am
No new posts Unexpected Behavior in Apache 2.2 / Win XP Charles Michener Apache 1 Tue Jul 18, 2006 11:16 pm

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
[ Time: 0.1973s ][ Queries: 16 (0.1104s) ][ GZIP on - Debug on ]