LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 01-12-2007, 09:15 AM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 73
Apache2 Error?


I get this message when I reload Apache2 on my Linux box. Does anyone know what the problem could be?

So far it is displaying my web page with no problem but the error concerns me.

Code:
tunafish:/var/www# /etc/init.d/apache2 restart
Forcing reload of web server: Apache2 ... no pidfile found! not running?.
 
Old 01-12-2007, 10:21 AM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
what is the message when you type in start instead of restart.
 
Old 01-12-2007, 10:27 AM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 73
Well - I just tried again and it seems to work.

Code:
Last login: Fri Jan 12 08:36:19 2007 from cwilliams.xxxxxx.org
cwilliams@tunafish:~$ sudo su -
Password:
tunafish:~# /etc/init.d/apache2 stop
Stopping web server: Apache2.
tunafish:~# /etc/init.d/apache2 start
Starting web server: Apache2.
 
Old 01-12-2007, 10:31 AM   #4
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
well I asked the question because I thought/think you were restarting the server when it wasnt running. so naturally the error.
 
Old 01-12-2007, 06:13 PM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 73
Hmmm - I was pretty sure Apache was running. Anyways - I will make sure it does not come back.
 
Old 01-12-2007, 06:57 PM   #6
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Usually that error is generated when apache cannot find the pid or the file that is stored in whatever file you have configured in httpd.conf that is usually specified like this:

PidFile /var/run/httpd.pid
 
  


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
apache2 won't start, no error given mikecrowe Linux - Networking 12 09-19-2010 05:46 PM
Apache2 boot error xucaen Debian 1 10-11-2006 01:10 PM
SuSe Apache2 error: cannot adjust 'apache2' service sir_shunt Suse/Novell 14 04-18-2006 12:36 PM
apache2 403 error eagletalontim Linux - Software 2 01-03-2006 11:39 PM
Apache2 error with mod_imap nizo Linux - Networking 2 05-03-2004 04:15 PM


All times are GMT -5. The time now is 03:23 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