You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2017/04/20 20:11:59 UTC
[Bug 61017] New: httpd always run as "root" instead of the "apache"
user
https://bz.apache.org/bugzilla/show_bug.cgi?id=61017
Bug ID: 61017
Summary: httpd always run as "root" instead of the "apache"
user
Product: Apache httpd-2
Version: 2.4.6
Hardware: PC
OS: Linux
Status: NEW
Severity: major
Priority: P2
Component: All
Assignee: bugs@httpd.apache.org
Reporter: ouimet@crm.umontreal.ca
Target Milestone: ---
Since a few days, when I start httpd it always forks process as "root" instead
of "apache". Before only the main httpd process was root and the other started
as apache, but now all child is run as root. But these child can start another
child which is changed to apache. For example, here is my list of httpd process
right now:
root 1120 50562 0 15:58 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
root 1126 50562 0 15:58 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
root 1128 50562 0 15:58 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
root 1610 50562 0 16:01 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
root 2173 50562 0 16:03 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
root 2787 50562 0 16:06 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
root 2788 50562 0 16:06 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
root 2789 50562 0 16:06 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
root 2790 50562 0 16:06 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
root 2791 50562 0 16:06 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 3140 2790 0 16:06 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 3269 2787 10 16:07 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 3273 2788 1 16:07 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
root 3278 2789 0 16:07 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 3282 1126 0 16:07 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 3285 1128 18 16:07 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
apache 3288 1120 0 16:07 ? 00:00:00 /usr/sbin/httpd -DFOREGROUND
root 50562 1 0 Apr18 ? 00:00:13 /usr/sbin/httpd -DFOREGROUND
The first one started is 50562 but the others started by that process are also
root. But the children of a child is correct, user=apache.
Nothing has changed in the configuration.
I did the update of the system (httpd and kernel and libraries), but it still
does not work.
What did I do wrong?
DanielO
N.B. system is Linux RHEL 7.3 with kernel 3.10.0-514.16.1.el7.x86_64
and httpd is installed from yum: httpd-2.4.6-45.el7_3.4.x86_64
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 61017] httpd always run as "root" instead of the "apache" user
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61017
Luca Toscano <to...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #1 from Luca Toscano <to...@gmail.com> ---
Hi Daniel,
I think that this is a problem for RHEL support rather than httpd. Going to
close this task but please re-open if necessary.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org