LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 03:03 AM   #1
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 516

Rep: Reputation: 32
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, 07: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, 10:11 AM   #3
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 516

Original Poster
Rep: Reputation: 32
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, 10: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



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 07:55 AM
Apache Question Sideshow Linux - Networking 6 02-13-2004 05:31 PM
another apache question peteABK Linux - Software 8 05-27-2003 02:58 AM
Apache question plisken Linux - Software 1 02-25-2003 02:40 PM
apache question davsingl67 Linux - Newbie 1 12-11-2002 02:04 PM

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

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