Toggle navigation
Koozali.org: home of the SME Server
Community
Forums
Bugs
Lists
Forum Help
Download
SME Server ISOs
Contribs
Documentation
Manual
Wiki
FAQ
HowTo
Donate
Search
Login
Register
Login
Register
×
Close
Login
Remember me
Koozali.org: home of the SME Server
Legacy Forums
Experienced User Forum
Topic:
Can't stop apache
« previous
next »
+
Print
Pages: [
1
]
Go Down
Can't stop apache
8 Replies
1431 Views
Erik
Can't stop apache
«
on:
November 26, 2002, 07:35:53 AM »
Hi all,
I have run into a problem where my users are unable to access their webmail. Their POP mail works fine. I figured that their was a problem with the web server so I tried to restart it, stop it, start it etc. I am unable to stop it. Every time I issue a command to stop the server the response is :
stopping httpd [ FAILED ]
However, when I start the server the prompt dispays the usual start message:
starting httpd [OK]
All I want to do is kill the webserver entirely and bring it back up again. I do not want to reboot the server because it has bee up for so many months.
Any advice would be greatly appreciated.
Best,
Erik
Logged
Chris Parker
Re: Can't stop apache
«
Reply #1 on:
November 26, 2002, 10:33:35 AM »
apache wont stop because it may not be running. Can you access any web pages?
Also check /var/log/messages to see if their are any abnormal messages which might relate to the problem
Logged
Bill Talcott
Re: Can't stop apache
«
Reply #2 on:
November 26, 2002, 05:33:51 PM »
Yup. If it's not running, it will fail if you try to stop it. Just restart apache, and you should be fine whether or not it's currently running.
Logged
Erik
Re: Can't stop apache
«
Reply #3 on:
November 26, 2002, 05:45:20 PM »
Restarting it does not work. It won't stop only start. Even so no pages are accesible.
Logged
guestHH
Re: Can't stop apache
«
Reply #4 on:
November 26, 2002, 05:48:35 PM »
what's the response using 'service httpd status' ?
enter 'service httpd' for more options
Regards,
guestHH
Logged
Erik
Re: Can't stop apache
«
Reply #5 on:
November 26, 2002, 06:24:31 PM »
I caved in and rebooted the server. Too many phone calls. The webserver is running fine now. But I am sure this problem will happen again in the near future. All the normal processes of of stopping, starting and re-starting the server would not work. When I check the server status now, everything is fine. Is there a command to kill the apache process?
Logged
guestHH
Re: Can't stop apache
«
Reply #6 on:
November 26, 2002, 06:28:42 PM »
That still would be 'service httpd stop'
Logged
Dan Brown
Re: Can't stop apache
«
Reply #7 on:
November 26, 2002, 06:30:12 PM »
What was happening is almost certainly that apache was dying immediately after starting. The error log should have given some indication of why.
Logged
Jon Blakely
Re: Can't stop apache
«
Reply #8 on:
November 27, 2002, 11:32:36 AM »
The correct way of stopping/starting httpd is
/etc/rc.d/init.d/httpd-e-smith [restart, stop, start, status] for webserver
or
/etc/rc.d/init.d/httpd-admin [restart, stop, start, status] for server-manager
Jon
Logged
+
Print
Pages: [
1
]
Go Up
« previous
next »
Koozali.org: home of the SME Server
Legacy Forums
Experienced User Forum
Topic:
Can't stop apache