Processes run by nobody
Hello,
I've two cPanel servers, which both have WHM 58.0 (build 32) installed. They have an identical setup and identical hardware, but there's a difference in how httpd is started :
The first server :
The second server :
I was wondering why the "-k start" options are missing on the first server? Any ideas? Thanks.
>ps aux | grep nobody
nobody 11944 0.0 0.3 216516 26536 ? SN 04:58 0:00 /usr/sbin/httpd
nobody 15464 0.0 0.3 216924 27092 ? SN 05:05 0:00 /usr/sbin/httpd
nobody 15473 0.3 0.3 216944 27236 ? SN 05:05 0:03 /usr/sbin/httpd
nobody 15474 0.0 0.3 216656 26604 ? SN 05:05 0:00 /usr/sbin/httpd
nobody 17013 0.0 0.3 216520 26516 ? SN 05:08 0:00 /usr/sbin/httpd
nobody 18643 0.0 0.3 216520 26488 ? SN 05:12 0:00 /usr/sbin/httpd
nobody 18654 0.0 0.3 216520 26512 ? SN 05:12 0:00 /usr/sbin/httpd
nobody 20357 0.0 0.3 216488 26328 ? SN 05:18 0:00 /usr/sbin/httpd
nobody 20376 0.0 0.3 216520 26420 ? SN 05:18 0:00 /usr/sbin/httpd
nobody 22193 0.0 0.3 216384 26180 ? SN 05:20 0:00 /usr/sbin/httpd
root 22909 0.0 0.0 103312 892 ? S 05:20 0:00 grep nobody
The second server :
>ps aux | grep nobody
nobody 2089 0.6 0.1 214176 15264 ? SN 04:53 0:03 /usr/sbin/httpd -k start
root 7583 0.0 0.0 103312 884 ? S 05:03 0:00 grep nobody
nobody 14415 0.0 0.2 214492 17068 ? SN 02:43 0:05 /usr/sbin/httpd -k start
nobody 23593 0.0 0.1 214200 15300 ? SN 04:21 0:00 /usr/sbin/httpd -k start
nobody 23626 0.0 0.2 214372 16316 ? SN 04:22 0:00 /usr/sbin/httpd -k start
nobody 24771 0.1 0.2 214204 16300 ? SN 04:24 0:04 /usr/sbin/httpd -k start
nobody 27918 0.1 0.2 214196 16312 ? SN 04:34 0:02 /usr/sbin/httpd -k start
nobody 28046 0.0 0.2 214100 16208 ? SN 04:35 0:00 /usr/sbin/httpd -k start
nobody 29252 0.2 0.2 214200 16264 ? SN 04:37 0:03 /usr/sbin/httpd -k start
nobody 29253 0.0 0.2 214408 16452 ? SN 04:37 0:00 /usr/sbin/httpd -k start
nobody 30767 0.0 0.2 214472 16388 ? SN 04:43 0:00 /usr/sbin/httpd -k start
I was wondering why the "-k start" options are missing on the first server? Any ideas? Thanks.
-
Hello, There is difference in easyapche version. I mean you are using easyapche 3 on your second server and easyapche 4 on your first server that's way showing different process. 0 -
I dont think that is the option as you can see the below server is having EA4 and still ahve -K option [root@server ~]# /scripts/easyapache EasyApache3 is not available when EasyApache4 is in effect. [root@server ~]# ps aux |grep http root 5827 0.0 0.0 112648 968 pts/0 S+ 15:55 0:00 grep --color=auto http root 13014 0.0 0.0 264644 46276 ? SNs Oct27 0:30 /usr/sbin/httpd -k start nobody 47425 0.1 0.0 265144 44596 ? SN 15:48 0:00 /usr/sbin/httpd -k start nobody 47981 0.1 0.0 265236 44512 ? SN 15:48 0:00 /usr/sbin/httpd -k start nobody 48087 0.1 0.0 265184 44748 ? SN 15:49 0:00 /usr/sbin/httpd -k start nobody 49652 0.1 0.0 265368 44020 ? SN 15:50 0:00 /usr/sbin/httpd -k start nobody 49660 0.1 0.0 265060 43524 ? SN 15:50 0:00 /usr/sbin/httpd -k start nobody 58440 0.1 0.0 265052 43824 ? SN 15:50 0:00 /usr/sbin/httpd -k start According to man page of httpd k is used for start/stop/restart etc and in my opinion it do not have any thing to do with EA3 or Ea4. I will still wish to hear back from other techs as well about the same === NAME httpd - Apache Hypertext Transfer Protocol Server SYNOPSIS httpd [ -d serverroot ] [ -f config ] [ -C directive ] [ -c directive ] [ -D parameter ] [ -e level ] [ -E file ] [ -k start|restart|graceful|stop|graceful- stop ] [ -R directory ] [ -h ] [ -l ] [ -L ] [ -S ] [ -t ] [ -v ] [ -V ] [ -X ] [ -M ] [ -T ] ==== 0 -
@SysSachin: No, both servers had Apache/PHP (re)compiled via EasyApache4. There's no difference in version of EasyApache. 0 -
Hello, It starts with the "-k" flag based on the following entry in /usr/local/cpanel/scripts/initsslhttpd2_4: case $ARGV in start|stop|restart|graceful|graceful-stop) $HTTPD -k $ARGV -DSSL ERROR=$? ;;
Could you verify both systems are using the same version of the OS? You can check this via:cat /etc/redhat-release
If so, could you restart Apache via "/scripts/restartsrv_httpd" on the source server and verify it's listed as "/usr/sbin/http -k start" in the process list? Thank you.0 -
@cPanelMichael : root@server [~]# cat /etc/redhat-release CentOS release 6.8 (Final) root@server [~]# /scripts/restartsrv_httpd Waiting for "httpd" waiting for "httpd" Service Status httpd (/usr/sbin/httpd) is running as root with PID 24867 (pidfile check method). Log Messages ** suppressed ** httpd restarted successfully. root@server [~]# ps aux | grep nobody nobody 3062 0.0 0.3 218004 27808 ? SN 10:20 0:00 /usr/sbin/httpd nobody 3674 3.1 0.3 218036 27796 ? SN 10:22 0:02 /usr/sbin/httpd nobody 3938 0.0 0.3 217856 27580 ? SN 10:23 0:00 /usr/sbin/httpd nobody 3941 0.0 0.3 217872 27668 ? SN 10:23 0:00 /usr/sbin/httpd nobody 3942 0.0 0.3 217984 27680 ? SN 10:23 0:00 /usr/sbin/httpd nobody 3943 0.0 0.3 218008 27796 ? SN 10:23 0:00 /usr/sbin/httpd nobody 3944 0.0 0.3 218008 27648 ? SN 10:23 0:00 /usr/sbin/httpd nobody 3948 0.0 0.3 217872 27548 ? SN 10:23 0:00 /usr/sbin/httpd nobody 3958 0.0 0.3 218008 27648 ? SN 10:23 0:00 /usr/sbin/httpd nobody 4022 0.0 0.3 218008 27740 ? SN 10:24 0:00 /usr/sbin/httpd nobody 4972 0.0 0.3 217872 27428 ? SN 10:24 0:00 /usr/sbin/httpd nobody 4980 0.0 0.3 217872 27468 ? SN 10:24 0:00 /usr/sbin/httpd root 4989 0.0 0.0 103312 884 pts/0 SN+ 10:24 0:00 grep nobody
Both servers are running the same version of CentOS.0 -
Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here and we will update this thread with the outcome. Thank you. 0
Please sign in to leave a comment.
Comments
6 comments