LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 01-26-2005, 06:31 AM   #1
number11
LQ Newbie
 
Registered: Jan 2005
Posts: 17

Rep: Reputation: 0
Failed to start apache : Apache does not appear to be running :


Hello

I get the below error message when I try and start apache can someone tell me what is wrong.

Failed to start apache : Apache does not appear to be running :

[Wed Jan 26 03:14:34 2005] [warn] module http_core.c is already added, skipping
/usr/sbin/apachectl start: httpd started
 
Old 01-26-2005, 08:13 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
How are you trying to start apache? Is this the default packages that come with Slackware or your own compiled packages? Is apache already running?
 
Old 01-26-2005, 08:21 AM   #3
number11
LQ Newbie
 
Registered: Jan 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by trickykid
How are you trying to start apache? Is this the default packages that come with Slackware or your own compiled packages? Is apache already running?
When I start apache or restart it my server says it is already running. I am using webmin so when I start it there I get the error message above. The packages are Slackware packages I upgraded my system and now apache doesn't work.
 
Old 01-26-2005, 08:27 AM   #4
number11
LQ Newbie
 
Registered: Jan 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Oh one more thing trickykid when I type ps ax apache is not running.
 
Old 02-11-2005, 05:59 AM   #5
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
After upgrading to 10.1 apache was working fine until somewhere around lastnight it seemingly has flipped.. d: It isnt running, ps aux cannot find it, and if I restart & start & stop it via rc.d&*rc.httpd get some weird results>
start: appears to start as before and normally
stop: not running

Also a manual start via apachectl and httpd seem to go ok, but nothing is actually started..

Apache was working fine before the update, I was riding the current till the end, but the last updates killed it, or so I assume..

Ill try downgrading later, but also inetd is behaving oddly after the final update.. glibc not so nicely installed?
 
Old 02-11-2005, 07:16 AM   #6
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
Now at home, so back to some more tests.. Tried starting it while monitoring acctail, the httpd process exits rightaway with code 25 ... Why doesnt this get reported in any way? And what is 25? And what could cause it?
 
Old 02-11-2005, 07:22 AM   #7
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
okies, this is getting interesting.. Ill do a full post incase someone has a similar problem. I googled for exitcode 25, and ended up in some dspam mailinlist post. There the same code was caused by a too large errorlog.. Soo, out of interest, I checked, and for some oddball reason my apache error_log had bloated to a tad over 2 gigs.. I catted some /dev/zero over it, and voila, apachge starts and stays online..
 
Old 02-11-2005, 08:45 AM   #8
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
Quote:
I checked, and for some oddball reason my apache error_log had bloated to a tad over 2 gigs
You might want to check and make sure that the apache logs are included in logrotate. Logs that size shouldn't happen.
 
Old 02-11-2005, 09:18 AM   #9
Artanicus
Member
 
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
they arnt included as I dont want them to be flushed.. The bloat size now was due to major changes in php 5, so some of my code is "a tad" incompatible.. (;

Maybe I should add the error_log to the rotate.. d:
 
Old 02-11-2005, 10:51 AM   #10
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,791
Blog Entries: 1

Rep: Reputation: 414Reputation: 414Reputation: 414Reputation: 414Reputation: 414
I would add them to logrotate. If you don't want them to be flushed, just set up logrotate to save 4 or 5 old versions before flushing.
 
  


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
Apache httpd start failed on fedora core 1 k_1701 Linux - Software 10 05-05-2006 08:40 AM
Failed to chroot apache 1.x dominant Linux - Security 10 11-28-2004 04:00 PM
can't get SSLl working on Apache. Apache won't start bentman78 Linux - Software 1 08-10-2003 07:17 PM
Failed to start apache error help SSBN Linux - Networking 2 04-30-2003 08:35 PM
apache benchmarks (apache v13 / apache v20) ; large differences between benchmarking markus1982 Linux - Software 0 02-08-2003 11:53 AM


All times are GMT -5. The time now is 11:29 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration