LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-09-2004, 04:03 AM   #1
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1/13.37/14 RedHat 6.2/7/EL6.5 SuSE 8.2/11.1
Posts: 471

Rep: Reputation: 30
apache question


I have noticed when doing "top" that the httpd daemon is run under root, even though my httpd.conf file states:
user nobody
group nobody

It's version 1.3

Any ideas?
 
Old 03-09-2004, 08:02 AM   #2
Satriani
Member
 
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Rep: Reputation: 30
Check your httpd.conf again! Maybe there's a second time user / group statement?
It's strange indeed... Also, you might want to try as root: apachectl stop and apachectl start, and check again with ps -ef|grep -i httpd
 
Old 03-09-2004, 11:11 AM   #3
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1/13.37/14 RedHat 6.2/7/EL6.5 SuSE 8.2/11.1
Posts: 471

Original Poster
Rep: Reputation: 30
I get the following:

root 10154 1 0 16:08 ? 00:00:00 /usr/sbin/httpd
nobody 10155 10154 0 16:08 ? 00:00:00 /usr/sbin/httpd
nobody 10156 10154 0 16:08 ? 00:00:00 /usr/sbin/httpd
nobody 10157 10154 0 16:08 ? 00:00:00 /usr/sbin/httpd
nobody 10158 10154 0 16:08 ? 00:00:00 /usr/sbin/httpd
nobody 10159 10154 0 16:08 ? 00:00:00 /usr/sbin/httpd
nobody 10166 10154 0 16:09 ? 00:00:00 /usr/sbin/httpd
nobody 10167 10154 0 16:09 ? 00:00:00 /usr/sbin/httpd
nobody 10168 10154 0 16:09 ? 00:00:00 /usr/sbin/httpd
root 10172 10147 0 16:10 pts/0 00:00:00 grep -i httpd

which I assume is ok???
 
Old 03-09-2004, 11:26 AM   #4
Satriani
Member
 
Registered: Mar 2003
Location: The Netherlands
Distribution: Red Hat 7.3, Red Hat 9, Solaris8, Slackware 10, Slax on USB, AIX, FreeBSD, WinXP, AIX, Ubuntu
Posts: 418

Rep: Reputation: 30
With ps you can see the owner of a process (who actually runs it..) And i guess top shows other information on it...
Well, anyway, seems your ok now!
 
  


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
Question - (apache?) pylon42 Linux - General 7 03-23-2005 08:55 AM
Apache Question Sideshow Linux - Networking 6 02-13-2004 06:31 PM
another apache question peteABK Linux - Software 8 05-27-2003 03:58 AM
Apache question plisken Linux - Software 1 02-25-2003 03:40 PM
apache question davsingl67 Linux - Newbie 1 12-11-2002 03:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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