LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-01-2008, 07:42 PM   #1
PatUbu
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Rep: Reputation: 0
Apache2 running but httpd is not


(Using Ubuntu 8.04, apache 2.2.8-1ubuntu0.3)
I start apache as follows:
> apache2ctl start
then to see what is running:
>ps -e|grep apache2
21027 ? 00:00:00 apache2
21138 ? 00:00:00 apache2
21140 ? 00:00:00 apache2
21142 ? 00:00:00 apache2
21143 ? 00:00:00 apache2
21144 ? 00:00:00 apache2
21236 ? 00:00:00 apache2
>ps -e|grep httpd
>
When I run
>netstat -nlp | grep 80
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN -

Shouldn't I see httpd running when I use ps?
Any help appreciated.

thx
Pat
 
Old 08-01-2008, 08:07 PM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
Some distributions name the apache binary httpd, others apache, or apache2.
 
Old 08-01-2008, 08:13 PM   #3
PatUbu
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Original Poster
Rep: Reputation: 0
I think you are saying that it looks like it is OK.

Great!
Now I need to figure out why PHP is not running.
Will ask about that in a new post.
thx
Pat
 
  


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
/usr/local/apache2/bin/apachectl: line 65: 4407 Segmentation fault $HTTPD -k $A onlin85 Linux - Software 2 06-18-2009 07:54 AM
Apache2 #httpd -l won't work peterchin Linux - Software 1 02-24-2005 02:49 PM
Apache2 #httpd -l won't worik peterchin Linux - General 0 02-23-2005 06:01 PM
HTTPD server problems redhat 9 apache2 R Audano Linux - Networking 1 01-02-2005 04:53 PM
Remove apache2 (httpd) jermo5 Linux - Newbie 8 08-06-2003 08:20 AM


All times are GMT -5. The time now is 10:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration