 |
Linode.com Forum Linode Community Forums
|
| Author |
Message |
rhunter007
Joined: 24 Jul 2003
Posts: 22
|
| Posted: Wed Oct 01, 2003 5:54 pm Post subject: Web Server Crashing, Part II |
|
|
My Apache web server crashed again. It's been running for about two weeks, and today I went to my web page, and it wouldn't load.
This is a continuation of the thread: http://www.linode.com/forums/viewtopic.php?t=300
Before I restarted the server, I ran top, but nothing was really taking up any memory. I looked at my apache error_log, and it didn't seem that I was bombarded or anything. I do receive attention from what look like hackers searching IPs for certain Windows files (but these are coming in just every few hours so it shouldn't be a problem).
I ran: "apachectl status" before I restarted my server and got:
Code:
Looking up localhost
localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.
lynx: Can't access startfile http://localhost/server-status
Caker, you asked me awhile whether I was starting my apache server by console or ssh. I start it via ssh...is that wrong?
I suppose two weeks isn't so bad, but I feel like it shouldn't crash like this. Any ideas?
Thanks all. |
|
| Back to top |
|
BlueWWWeb
Joined: 24 Aug 2003
Posts: 6
Location: Wonder Lake, IL
|
| Posted: Thu Oct 02, 2003 3:27 pm Post subject: |
|
|
| My apache httpd also stopped working yesterday. What happened on my machine was that the hostname somehow got changed. In my /etc/HOSTNAME file it was still the same, but I ran 'hostname dmbshare.org' (thats my hostname) and all is fine again. I fig'd this out after repeatedly trying to start httpd (using apachectl). Then i tried to restart proftpd, and same probs, but said it couldnt resolve the local host.. One of my brain cells woke up and I decided to check the httpd error logs, and low and behold, same prob. Hence the 'hostname hostname' |
|
| Back to top |
|
| |
|