Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Apache 2 - Connection to localhost fails

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Confused between Tomcat 4 and 5  
Author Message
lukes65

External


Since: May 11, 2004
Posts: 3



(Msg. 1) Posted: Tue May 11, 2004 4:30 am
Post subject: Apache 2 - Connection to localhost fails
Archived from groups: alt>apache>configuration (more info?)

I have Mandrake 9.2 with Apache 2 installed as part of the Advanced
Extranet Server. Everything worked OK for a few days and suddenly no
pages are served by apache despite the fact that httpd is up and
running and I can connect to the server with Webmin on port 10000. By
the way, I had to reinstall Mandrake because of the same problem
previously. Checking apachectl status gives the following:

root@server ndumi]# apachectl extendedstatus

Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.

lynx: Can't access startfile http://localhost/server-status

##############################################################################
Apache Server Status for 192.168.0.2

Server Version: Apache-AdvancedExtranetServer/1.3.28
(Mandrake
Linux/3mdk) mod_perl/1.28
Server Built: Sep 15 2003 07:33:36
_________________________________________________________________

Current Time: Tuesday, 11-May-2004 07:11:46 SAST
Restart Time: Tuesday, 11-May-2004 07:09:16 SAST
Parent Server Generation: 0
Server uptime: 2 minutes 30 seconds
1 requests currently being processed, 3 idle servers
_W__............................................................
................................................................
................................................................
................................................................

Scoreboard Key:
"_" Waiting for Connection, "S" Starting up,
"R" Reading Request,
"W" Sending Reply, "K" Keepalive (read),
"D" DNS Lookup,
"L" Logging, "G" Gracefully finishing,
"." Open slot with no current
process

##############################################################################
[root@server ndumi]#


Please help, this is driving me nuts right now. I cannot find anything
from Google or MandrakeClub.



----------------------------------------
The post originated from Apache Freaks:
----------------------------------------
http://www.apachefreaks.com
http://www.apachefreaks.com/forums

 >> Stay informed about: Apache 2 - Connection to localhost fails 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Tue May 11, 2004 10:42 am
Post subject: Re: Apache 2 - Connection to localhost fails [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

ndumi <lukes65.RemoveThis@hotmail-dot-com.no-spam.invalid> wrote:
 > running and I can connect to the server with Webmin on port 10000.

Webmin has his own web server, so this doesn't matter. Check the
error_log file, check if the server IS actually listening
netstat -an | grep 80 should report something.

 > 1 requests currently being processed, 3 idle servers

It looks to me that is working.

Davide

--
| There are three kinds of lies: Lies, Damn Lies, and Statistics.
|
|
|<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Apache 2 - Connection to localhost fails 
Back to top
Login to vote
lukes65

External


Since: May 11, 2004
Posts: 3



(Msg. 3) Posted: Wed May 12, 2004 5:30 am
Post subject: Re: Apache 2 - Connection to localhost fails [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sure enough, Apache was not listening on Port 80. But why? After
checking my error_log I found that my server is suffering from the
same problem described in
http://www.apachefreaks.com/forums/index.php?showtopic=3497 in this
forum. There definitely is an issue with Apache 2 that is bundled
with Madrake 9.2.

Well, to keep my intranet up and running, I have switched to Apache
1.3 which is also bundled with Mandrake 9.2. Everything is back to
what it was with my RH9 be4 I switched to Mdk9.2.

It would be nice to use Apache 2.0 if anyone can help solve the proble
I have.

Thanks for your info Davide.


Regards



----------------------------------------
The post originated from Apache Freaks:
----------------------------------------
http://www.apachefreaks.com
http://www.apachefreaks.com/forums
 >> Stay informed about: Apache 2 - Connection to localhost fails 
Back to top
Login to vote
invalid5

External


Since: May 09, 2004
Posts: 17



(Msg. 4) Posted: Wed May 12, 2004 8:44 pm
Post subject: Re: Apache 2 - Connection to localhost fails [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

lukes65 DeleteThis @hotmail-dot-com.no-spam.invalid (ndumi) wrote in
news:YK6dnciEKLrgTzzdRVn_vQ@giganews.com:

 > It would be nice to use Apache 2.0 if anyone can help solve the proble
 > I have.

Im just a newbie but you can change the listening port in the config file.
Perhaps something is changing that on you?<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Apache 2 - Connection to localhost fails 
Back to top
Login to vote
lukes65

External


Since: May 11, 2004
Posts: 3



(Msg. 5) Posted: Sun May 16, 2004 11:30 am
Post subject: Re: Apache 2 - Connection to localhost fails [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

The configuration file is in order I believe. It is set to listen to
port 80 and 8080.



----------------------------------------
The post originated from Apache Freaks:
----------------------------------------
http://www.apachefreaks.com
http://www.apachefreaks.com/forums
 >> Stay informed about: Apache 2 - Connection to localhost fails 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache start with windows boor fails - Hello, When i first start windows and apache starts, i can not reach the apache server. Only when i stop and start the service (Not with a restart!) i can reach the apache server normally. Can someone explain to me what this might be? I am using Windows...

Apache Rewrite fails to find index.* - This is my first time around the block with Apache (1.3.29 Linux) RewriteRule and I'm running into a situation I don't understand. Unfortunately, I'm on a commercial account that has only .htaccess control so am unable to turn on rewrite logging for more...

Apache-run localhost & Windows Network Places - I have Apache 2.0.48 running successfully on Windows XP (Home Edition, no ability to install to Microsoft IIS server). My question is why does my local web (localhost) not show up in Windows Network Places? When I ran IIS on my old Win98 box, I could..

Apache 4.0.46 and Win2k - no page served through localhost - OK, Apache gurus. I've been using Apache 1.3 for a while (with PHP) to develop some web sites on my laptop running Windows 2000 (I put them onto my Linux box for final proofing). No problems to date. Recently I had cause to rebuild the laptop so I..

Apache newbie: map folder outside c:\apache2\htdocs to loc.. - Thanks for spending some time to read a newbie question! I have recently installed Apache2Triad to develop a web application using PHP and mySQL. Before I had Apache2Triad installed, I uploaded my php pages to my provider, and tested them online. I..
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]