Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 20th, 2005, 01:46 PM
t_chelle16 t_chelle16 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 5 t_chelle16 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 51 m 44 sec
Reputation Power: 0
Apache was working fine now it's not

Little back history: I had Apache installed on my computer several months ago and it worked fine. Then my motherboard went kaput (it was a really old computer) and when I got a new computer I decided to forgo running my own webserver. I quickly got fed up with limitations of free online hosting sites so I decided to do the Apache thing again. (I'm running Windows XP, btw).

I got it installed, the config stuff all set up, and my router (Netgear) all set right. It ran perfectly for a few hours (had someone on another computer double check for me). I started moving files (pictures & some web pages - simple HTML, nothing fancy) into the webserver directory. Then all of a sudden it stopped working.

Apache is still running. When I go to localhost, it comes up fine, but if I try to go there via the url, I keep getting timeout errors.

Here's the most recent entries in the error log:

[Wed Jul 20 10:49:16 2005] [notice] Parent: Received restart signal -- Restarting the server.
[Wed Jul 20 10:49:16 2005] [notice] Child 376: Exit event signaled. Child process is ending.
[Wed Jul 20 10:49:17 2005] [notice] Apache/2.0.54 (Win32) configured -- resuming normal operations
[Wed Jul 20 10:49:17 2005] [notice] Server built: Apr 16 2005 14:25:31
[Wed Jul 20 10:49:17 2005] [notice] Parent: Created child process 316
[Wed Jul 20 10:49:17 2005] [notice] Child 316: Child process is running
[Wed Jul 20 10:49:17 2005] [notice] Child 376: Released the start mutex
[Wed Jul 20 10:49:17 2005] [notice] Child 316: Acquired the start mutex.
[Wed Jul 20 10:49:17 2005] [notice] Child 316: Starting 250 worker threads.
[Wed Jul 20 10:49:19 2005] [notice] Child 376: Waiting for 250 worker threads to exit.
[Wed Jul 20 10:49:19 2005] [notice] Child 376: All worker threads have exited.
[Wed Jul 20 10:49:20 2005] [notice] Child 376: Child process is exiting


I hope that's enough info, but if I left anything out, just ask. Any help is appreciated.

-Chelle

Reply With Quote
  #2  
Old July 20th, 2005, 01:55 PM
t_chelle16 t_chelle16 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 5 t_chelle16 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 51 m 44 sec
Reputation Power: 0
One more thing. I just tried to ping it. When I ping the url, it goes through, but when I try to ping it via IP address, it times out.

-Chelle

Reply With Quote
  #3  
Old July 20th, 2005, 02:07 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
Are you positive you've set the router up correctly?
Do you have a software firewall running?

You're able to connect locally, http://localhost
You are not able to connect externally, http://your-ip-address

Are you able to connect using other computers on your home network?

Reply With Quote
  #4  
Old July 20th, 2005, 03:04 PM
t_chelle16 t_chelle16 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 5 t_chelle16 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 51 m 44 sec
Reputation Power: 0
Quote:
Originally Posted by MadCowDzz
Are you positive you've set the router up correctly?

Yes. Yesterday I called my brother and he walked me through setting it up. Afterwards, he accessed the server from his computer and it was fine. A few hours later, it was inaccessable.


Quote:
Do you have a software firewall running?

My computer does have the basic Windows firewall, but I've tried turning it off and that doesn't make any difference.



Quote:
You're able to connect locally, http://localhost
You are not able to connect externally, http://your-ip-address

Correct.


Quote:
Are you able to connect using other computers on your home network?

I just tried and no, I can't get to it from the other computer.

I haven't touched any of the router or apache settings between the time it was working and when it stopped working. All I did was move some pictures and html files into the directory that apache uses for the server.

-Chelle

Reply With Quote
  #5  
Old July 20th, 2005, 03:09 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
I'd say if it's working locally, Apache must be set up correctly.
This is likely more of a networking issue.

Try disabling your Windows firewall and connecting from another computer on your home network.
Otherwise, you may want to check that your router is configured to forward the port correctly.

Reply With Quote
  #6  
Old July 20th, 2005, 08:21 PM
t_chelle16 t_chelle16 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 5 t_chelle16 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 51 m 44 sec
Reputation Power: 0
Disabled the firewall and couldn't access it from the other computer.

And in the router, the IP address & port (80) are correct.

-Chelle

Reply With Quote
  #7  
Old July 21st, 2005, 01:15 PM
t_chelle16 t_chelle16 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 5 t_chelle16 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 51 m 44 sec
Reputation Power: 0
FWIW, I think I finally got it working.

The MAC address in the router didn't match the MAC address of my computer and my computer's IP address had changed.

Thanks for the help.

-Chelle

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > Apache was working fine now it's not


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT