LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-13-2008, 05:35 PM   #1
kustomjs
Member
 
Registered: Apr 2007
Posts: 37

Rep: Reputation: 15
getting error httpd (no pid file) not running


Hi Guys
I am getting this error httpd (no pid file) not running and also I am getting a error 98:

httpd (no pid file) not running
(98 Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs

so can anybody tell me how to fix this problem?

and I do got 2 sites under my server using one ip address.

here is some more help I got webmin installed also and here is how my sites are setup under virtual host/ /etc/apache2/sites-available/siteone
/etc/apache2/sites-available/sitetwo

site one
<VirtualHost *>
ServerName cbcperformance.net
DocumentRoot /var/www/cbcperformance/cart/catalog
</VirtualHost>

site two is setup as like for one

yes i do still got the default settings in there and this is the guide help me do this:
http://www.tequilafish.com/2007/08/0...ost-on-ubuntu/

and I am using Ubuntu 8.04 LTS server edition

also I was trying to get SSL working and this is when I got that error httpd (no pid file) not running and the site's was working before I did sudo a2enmod ssl bc i copied the information from here: http://doc.ubuntu.com/ubuntu/serverguide/C/httpd.html

Last edited by kustomjs; 07-13-2008 at 05:37 PM.
 
Old 07-14-2008, 12:05 AM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
When a process cannot "bind" to a port, it means that port is already in use. This is likely an indication that httpd is already running. From the command line, run:

ps -elf | grep httpd
lsof -ni | grep http

and you will see some httpd processes still running. These need to be shutdown before you can start httpd again (or restart).

Try :

sudo apachectl stop

and if that does not kill the httpd processes, you can run:

killall httpd

Once killed, you can then start up the new sessions
 
  


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
httpd (no pid file) not running imughal Linux - Server 3 12-19-2007 09:13 AM
[help] apache problem : httpd dead but pid file exists princenux Linux - Server 2 11-30-2006 05:26 AM
Apache problem: httpd (pid 2206?) not running newlinuxnewbie Linux - Software 2 09-05-2006 10:17 AM
ERROR! MySQL PID file could not be found! Niceman2005 Linux - Software 1 06-02-2005 06:29 AM
ERROR: Couldn't write pid to pid file lawrencegoodman Linux - Newbie 2 02-13-2004 08:05 PM

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

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