Upstart Loses Track of Services ("Unknown instance")
Richard Laager
rlaager at wiktel.com
Thu Mar 29 00:14:42 UTC 2012
I have this recurring problem where trying to stop services results in
"Unknown instance". It's as if upstart has lost track of the fact that a
service is running (and its PID); starting the service again will result
in two copies running (at least for some services that don't do their
own duplicate checking).
It has continued to happen across several releases of Ubuntu, with
multiple different services (e.g. SSH, upstart jobs for daemons I've
written myself). With SSH, it's virtually guaranteed to happen every
time I want to stop it (since I do so infrequently), but I can't
reproduce this on demand. In other words, I can
start...stop...start...stop services right in a row to my heart's
content and it's fine. I'm starting to wonder if the trigger isn't
something that happens nightly. Alternatively, it might be happening on
(certain) package upgrades.
What should I be doing to debug this?
--
Richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/upstart-devel/attachments/20120328/46ecb3c5/attachment.pgp>
More information about the upstart-devel
mailing list