Supervising process XXX which is not our child Systemd Error

I could see one of process error in systemd “Supervising Process XXX which is not out child”. Did not understand what it mean by supervising process.?

systemctl status shiny-server.service
● shiny-server.service - ShinyServer
 Loaded: loaded (/etc/systemd/system/shiny-server.service; enabled; vendor preset: disabled)
 Active: active (running) since Thu 2018-07-05 16:01:23 AEST; 5s ago
 Process: 16121 ExecStopPost=/usr/bin/sleep 5 (code=exited, status=0/SUCCESS)
 Process: 16125 ExecStartPost=/usr/bin/sleep 3 (code=exited, status=0/SUCCESS)
 Main PID: 16126 (shiny-server)
 CGroup: /system.slice/shiny-server.service
 ├─16124 /usr/bin/bash -c /opt/shiny-server/bin/shiny-server --pidfile=/var/run/shiny-server.pid >> /var/log/shiny-server.log 2>&1
 └─16126 /opt/shiny-server/ext/node/bin/shiny-server /opt/shiny-server/lib/main.js --pidfile=/var/run/shiny-server.pid

Jul 06 17:05:20 server systemd[1]: Starting ShinyServer...
Jul 07 18:02:26 server1 systemd[1]: shiny-server.service: Supervising process 16126 which is not our child. We'll most likely not notice when it exits.
Jul 08 19:01:23 server2 systemd[1]: Started ShinyServer.

Supervising Process

The first copy, managed by systemd, is still running. That’s why you’re seeing the EADDRINUSE error–the systemd-managed instance of XXX service is already listening on that port.

Here is the situation that one of previous version service is still running on same port and new service was started with same port number however old process was supervising newly started service as child process.

Solution

Kill previous version of process using below command

# ps -aux |grep <PID>
#kill -9 <PID>

Delete previous version of PID file if it is still exists

start new service

Related Articles

Download RHCSA and RHCE Link Book

Learn to Writ init Script

systemctl command with all possible options

 

Thanks for your wonderful Support and Encouragement

ARK

My Name is ARK. Expert in grasping any new technology, Interested in Sharing the knowledge. Learn more & Earn More

Leave a Reply

Your email address will not be published.