LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 08:15 AM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
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, 09:21 AM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

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

Original Poster
Rep: Reputation: 77
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, 09:31 AM   #4
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

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, 05:13 PM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

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

Rep: Reputation: 269Reputation: 269Reputation: 269
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



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 04:46 PM
Apache2 boot error xucaen Debian 1 10-11-2006 12:10 PM
SuSe Apache2 error: cannot adjust 'apache2' service sir_shunt SUSE / openSUSE 14 04-18-2006 11:36 AM
apache2 403 error eagletalontim Linux - Software 2 01-03-2006 10:39 PM
Apache2 error with mod_imap nizo Linux - Networking 2 05-03-2004 03:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:53 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
Open Source Consulting | Domain Registration