LinuxQuestions.org
Help answer threads with 0 replies.
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 10-14-2006, 05:08 PM   #1
badhat70
LQ Newbie
 
Registered: Oct 2006
Posts: 5

Rep: Reputation: 0
Apache stopped working


Here is what I am using:

Slack 10
Apache 1.3.*

My webserver has been up and running for quite a while.. 6 months or more. All of a sudden yesterday my sites didn't work and I logged in and apache stopped running. When I try to restart apache it says that it started ok, no errors in the logs, but it definitely didn't start. I haven't made any changes to the configs or done any updates lately. Has anyone ran into something like this and have any idea where I should start looking or what I might do to get it running again?
 
Old 10-14-2006, 06:41 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
See any httpd processes in a ps -fax output?

Try doing a:

/etc/rc.d/rc.httpd stop

Make sure no httpd processes are running. If they are, kill them. Then do a:

/usr/sbin/apachectl configtest

Make sure it comes back with a Syntax OK. If it does, then restart apache with:

/etc/rc.d/rc.httpd start
 
Old 10-14-2006, 08:02 PM   #3
badhat70
LQ Newbie
 
Registered: Oct 2006
Posts: 5

Original Poster
Rep: Reputation: 0
I have done all of that. I even checked the logs. The config file is fine, it says it started when I do apachectl start, it just doesn't actually start it just says it did.
 
Old 02-08-2007, 04:55 PM   #4
en3r0
LQ Newbie
 
Registered: Feb 2006
Posts: 16

Rep: Reputation: 0
Exclamation

I am having the same exact problem. This came from no where, no config files were edited at all. Using slack 10 as well.

This is really inconvenient, any suggestions?


God bless,
-en3r0
 
Old 02-08-2007, 05:10 PM   #5
en3r0
LQ Newbie
 
Registered: Feb 2006
Posts: 16

Rep: Reputation: 0
Update*

It started working again, but all I did was start it like I had tried a million other times.
 
Old 02-09-2007, 12:38 AM   #6
badhat70
LQ Newbie
 
Registered: Oct 2006
Posts: 5

Original Poster
Rep: Reputation: 0
I never did get it working. I never had this problem with other distro's. I know that sounds weird but it has to be related somehow because I have been using apache for years but on Gentoo.
 
Old 02-16-2007, 10:06 AM   #7
RienParhan
LQ Newbie
 
Registered: Dec 2005
Location: Netherlands, Bussum
Distribution: Slackware 11
Posts: 14

Rep: Reputation: 0
I have exactly the same problem, I can't find any errors in my logfiles. It just won't start anymore whatever I try.
 
Old 02-16-2007, 11:45 AM   #8
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
Why don't you all try using XAMPP?? I find it really simple to use... www.apachefriends.org
 
Old 02-16-2007, 11:06 PM   #9
badhat70
LQ Newbie
 
Registered: Oct 2006
Posts: 5

Original Poster
Rep: Reputation: 0
duryodhan: crack kills. And everyone would benefit if things would stay on topic here.
 
Old 02-17-2007, 12:41 AM   #10
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Have you stayed current with all the security updates ?
http://www.slackware.com/security/
 
Old 02-17-2007, 03:19 AM   #11
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
Quote:
duryodhan: crack kills. And everyone would benefit if things would stay on topic here.
hmm ... en3r0 had said that he had gotten it working. I was just telling him that ,next time, he could try using XAMPP.

From the site :
Quote:
Many people know from their own experience that it's not easy to install an Apache web server and it gets harder if you want to add MySQL, PHP and Perl. XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use - just download, extract and start.
I think this is certainly not OT. This is just an example of another way to get Apache working. Anyways Slackware doesn't come with the latest Apache... it would really help you if you get XAMP, and hell getting MySQL PHP and apache working together is HARD on Slackware.

So I very respectfully state : WTF?
 
Old 02-17-2007, 11:28 PM   #12
badhat70
LQ Newbie
 
Registered: Oct 2006
Posts: 5

Original Poster
Rep: Reputation: 0
I suppose it could be viewed that way but I personally wouldn't use xampp. I already resolved my problem by going back with Gentoo. I just hoped in the past that I would get some true feedback and useful help with my problems with Slack since I was actually giving it a chance. I think that if Slackware maybe had its own forums then maybe.. just maybe there would be better overall support. Looking back I just picked the wrong place to seek support. I will stay away from here now.
 
Old 02-18-2007, 12:59 AM   #13
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
whatever, man
 
Old 02-19-2007, 03:47 AM   #14
Tomtherab
LQ Newbie
 
Registered: Feb 2007
Posts: 15

Rep: Reputation: 0
To anyone else having the same problem, make sure there are no stale lock and pid files preventing apache from running.

Take a peek in /var/{lock,run} for apache http entries.
 
Old 02-19-2007, 04:15 AM   #15
RienParhan
LQ Newbie
 
Registered: Dec 2005
Location: Netherlands, Bussum
Distribution: Slackware 11
Posts: 14

Rep: Reputation: 0
Deleting the pid file did work for 10 seconds or so, after that httpd stopped again. I installed xampp as suggested and now everything works again.
 
  


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 suddenly stopped working newlinuxnewbie Linux - General 21 11-25-2005 03:56 PM
Apache stopped working Thor31x Linux - Newbie 6 08-28-2005 07:46 AM
Apache 1.3 (w oracle) stopped working. Fedora Core 1 Bjorkli Linux - Software 2 04-16-2004 10:06 PM
Apache: SSI stopped working Nic-MDKman Linux - Software 0 02-14-2004 09:07 AM
subdirs stopped working (apache) herc Linux - Software 0 09-24-2003 06:48 AM


All times are GMT -5. The time now is 07:04 AM.

Main Menu
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