Author Topic: Can't open PID file  (Read 3646 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Can't open PID file
« on: May 26, 2020, 10:46:04 AM »
hello,

this Can't open PID file issue keep on appearing for multiple services and when i check the file exists with a valid PID inside. this issue goes away after service restart.
why this issue keep on appearing again and again for multiple services in cwp pro?
see the below example for cwp-phpfpm service .

[root@server ~]# service cwp-phpfpm status -l
Redirecting to /bin/systemctl status  -l cwp-phpfpm.service
● cwp-phpfpm.service - The PHP FastCGI Process Manager
   Loaded: loaded (/usr/lib/systemd/system/cwp-phpfpm.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2020-05-26 03:55:39 CEST; 8h ago
  Process: 23042 ExecReload=/bin/kill -USR2 $MAINPID (code=exited, status=0/SUCCESS)
 Main PID: 23011 (php-fpm)
   CGroup: /system.slice/cwp-phpfpm.service
           ├─ 9895 php-fpm: pool login
           ├─ 9896 php-fpm: pool cwpsvc
           └─23011 php-fpm: master process (/usr/local/cwp/php71/etc/php-fpm.conf)

May 26 03:55:39 server.baringslaw.group systemd[1]: Started The PHP FastCGI Process Manager.
May 26 03:55:39 server.baringslaw.group php-fpm[23011]: [26-May-2020 03:55:39] WARNING: Nothing matches the include pattern '/usr/local/cwp/php71/etc/php-fpm.d/users/*.conf' from /usr/local/cwp/php71/etc/php-fpm.d/users.conf at line 1.
May 26 03:55:39 server.baringslaw.group systemd[1]: Reloading The PHP FastCGI Process Manager.
May 26 03:55:39 server.baringslaw.group systemd[1]: Can't open PID file /usr/local/cwp/php71/var/run/cwp-php-fpm.pid (yet?) after reload: No such file or directory
May 26 03:55:39 server.baringslaw.group systemd[1]: Reloaded The PHP FastCGI Process Manager.

Offline
*****
Re: Can't open PID file
« Reply #1 on: May 26, 2020, 11:10:42 AM »
i see no issue service is active and running