Open totto opened 10 years ago
Apparently only appears if you do not run it as root. Should probably run it as the service user?
The provisioning should handle such situations :)
Doesn't this happen because the app was started manually by someone not using the restart script on the ec2-user?
It probably happens because it find wrong PID or PID/user combinantion
correct. Initctl can't control UserIdentityBackend if it didn't start it and has the PID
pids=$(pgrep
kill -9 $pids To refrain from using a variable and directly kill all processes with a given name issue
pkill -9
initctl restart UserIdentityBackend initctl: Rejected send message, 1 matched rules; type="method_call", sender=":1.4" (uid=501 pid=29969 comm="initctl restart UserIdentityBackend ") interface="com.ubuntu.Upstart0_6.Job" member="Restart" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init ")