You are not logged in.

#1 2008-06-30 16:28:15

mclabaut
Member
Registered: 2007-06-18
Posts: 41

Apache : One httpd process running as root instead of nobody

Hello,

Running mediawiki under apache 2.2.8-2, I see strange messages saying that some files under /root/.texmf-var/ do not exist !
I was sure that apache was configured to run as the user nobody !

After doing a ps|grep, I get :

# ps auxw | grep httpd
[b]root[/b]     32465  0.6  0.5  89788 10352 ?        Ss   18:16   0:00 /usr/sbin/httpd -k start
nobody   32468  0.0  0.3  89788  7552 ?        S    18:16   0:00 /usr/sbin/httpd -k start
nobody   32469  0.0  0.3  89788  7552 ?        S    18:16   0:00 /usr/sbin/httpd -k start
nobody   32470  0.0  0.3  89788  7552 ?        S    18:16   0:00 /usr/sbin/httpd -k start
nobody   32471  0.0  0.3  89788  7552 ?        S    18:16   0:00 /usr/sbin/httpd -k start
nobody   32472  0.0  0.3  89788  7552 ?        S    18:16   0:00 /usr/sbin/httpd -k start

And the same after killing them all and restarting /etc/rc.d/httpd

I have in httpd.conf:

User nobody
Group nobody

How is it possible ?
Any hint ?

-mathieu

Offline

#2 2008-06-30 18:39:22

hrist
Member
From: Germany
Registered: 2007-01-07
Posts: 61
Website

Re: Apache : One httpd process running as root instead of nobody

This is necessary to use port 80 wink
There might be other reasons.


two - Arch64 | dwm | nvidia
three - Arch64 | dwm | nvidia

Offline

Board footer

Powered by FluxBB