LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-19-2007, 06:33 AM   #1
GavB
Member
 
Registered: Nov 2006
Posts: 54

Rep: Reputation: 15
httpd service won't start


Hello,

I am having a slight problem here, for some reason, I cant start Apache using the service httpd start command. I get a message saying that httpd has been started but the web pages just don't load and when I check with pidof httpd there is no process running. I'm not sure the CPU or memory usage is too high or anything, here is the output I get from TOP:

http://www.web-resources.co.uk/top.gif

(What is normal for load average?)

I hope someone can give me some advice, Thanks
 
Old 01-19-2007, 06:41 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Gav, your top post seems to be missing most of the screen

What do your logs say?
 
Old 01-19-2007, 08:38 AM   #3
GavB
Member
 
Registered: Nov 2006
Posts: 54

Original Poster
Rep: Reputation: 15
Hi thanks for your reply, I have updated the image to show all of the processes as well.

In the Apache logs (usr/apache/local/logs/error_log) where is just the following:

Quote:
[Fri Jan 19 07:54:04 2007] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Fri Jan 19 07:54:06 2007] [notice] Apache/1.3.37 (Unix) PHP/4.4.4 FrontPage/5.0.2.2510 mod_ssl/2.8.28 OpenSSL/0.9.7a configured -- resuming normal operations
[Fri Jan 19 07:54:06 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Fri Jan 19 07:54:06 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Fri Jan 19 08:00:18 2007] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
semget: No space left on device
[Fri Jan 19 08:01:36 2007] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
semget: No space left on device
[Fri Jan 19 09:01:37 2007] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
semget: No space left on device
[Fri Jan 19 10:01:40 2007] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
semget: No space left on device
 
Old 01-19-2007, 08:47 AM   #4
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
Wat is the output of

Code:
$ df
 
Old 01-19-2007, 08:56 AM   #5
GavB
Member
 
Registered: Nov 2006
Posts: 54

Original Poster
Rep: Reputation: 15
Hi, after some digging around, I found this:

http://www.cpwiki.org/wiki/Troublesh...che_semaphores

For anyone else that has the same problem, this sorted it for me:

# service httpd stop
# /usr/bin/ipcrm sem $(/usr/bin/ipcs -s | grep nobody | awk '{print$2}')
# service httpd start

Thanks again to billymayday and merchtemeagle for your replies
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
My httpd service is weird Dann Linux - Server 3 01-16-2007 08:01 AM
Service httpd nnadithya Linux - Server 5 12-16-2006 10:08 PM
service httpd status, results in httpd dead but subsys locked squadja Red Hat 2 09-11-2004 11:31 PM
httpd as a service joshf Linux - Software 5 07-10-2003 08:54 AM
Using HTTPD Service skopje909 Linux - General 1 11-15-2001 04:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration