- Plesk Onyx for Linux
- Cannot start Domain Traffic Monitor extension with the following error in Plesk interface:
PLESK_ERROR: Error: Execution vhosts-traffic-monitor has failed with exit code 1, stdout: , stderr: time="2019-08-23T17:03:27+07:00" level=fatal msg="Failed to start worker: os: process already finished"
Extension process is not running when checking it on the server directly:
# ps aux | grep traffic
root 31853 0.0 0.0 9040 844 pts/0 S+ 09:18 0:00 grep --color=auto traffic
The output of the command below shows that the PID file for the extension exists despite the fact the the process is not running:
# ll /var/run/vhosts-traffic-monitor.pid
-rw-r--r-- 1 root root 5 Aug 23 17:03 /var/run/vhosts-traffic-monitor.pid
The behavior is caused by bug in Domain Traffic Monitor extensions with ID #EXTPLESK-1235 which is planned to be fixed in product future updates.
1. Login server via SSH;
2. Removed PID file:
# rm -rf /var/run/vhosts-traffic-monitor.pid
3. Restart extension with the following:
# /usr/local/psa/admin/bin/modules/traffic-monitor/vhosts-traffic-monitor restart