Code review comment for lp:~allenap/maas/dev-services-shutdown

Revision history for this message
Gavin Panella (allenap) wrote :

On IRC:

> <rvba> ... I'm still having an error when I try to start the services
> again (after they have been stopped):
>
> {{{
> ==> logs/webapp/current <==
> [02/Jan/2013 18:28:36] "GET /accounts/login/?next=%2F HTTP/1.1" 200 53437
> ^C--> Stop `web`
> --> Stop `region-worker`
> --> Stop `database`
> --> Stop `txlongpoll`
> --> Stop `pserv`
> --> Stop `dns`
> --> Stop `webapp`
> --> Stop `reloader`
> --> Stop `cluster-worker`
>
> rvb@leaf:~/canonical/dev-services-shutdown$ make run
> --> Start `web`
> setlock: fatal: unable to lock /run/lock/maas.dev.web: temporary failure
> }}}
>
> …Am I missing something?

This means that either a supervise process (started by `make
services/<name>/@supervise` or something that depends on that) is
still running, or the service is running somewhere else, even in
another branch (possibly invoked by `make services/<name>/@run`).

Try `fuser -v /run/lock/maas.dev.web` to see which process is still
holding that lock.

« Back to merge proposal