[Nix-dev] Halting on mips - troubles
Lluís Batlle i Rossell
viriketo at gmail.com
Thu Aug 26 23:38:47 CEST 2010
On Wed, Aug 25, 2010 at 09:45:33PM +0200, Eelco Dolstra wrote:
> Hi,
>
> On 08/25/2010 09:19 PM, Lluís Batlle i Rossell wrote:
>
> > the shutdown sequence fails in the Fuloong MiniPCs. I don't know why.
> >
> > When I kill that 'bash -e /proc/self/fd/8', the halt sequence continues. Any idea of what happens?
>
> Probably there is an Upstart job hanging in its "start" state. For instance,
> PostgreSQL does a "sleep 1" in a loop in its post-start script. It might also
> be autofs (if you're running that), since it seems to do a "sleep 1" in its
> pre-stop script. Can you do an "initctl list"?
Exactly, that was it.
In fact I had in mind it would be some 'mips' trouble... in fact it was mysql
stuck on the start state. I was reusing a /var/mysql from a previous Gentoo
system, so no strange the start script was not ready for that.
Looking at /proc/bashpid/fd immediately pointed at fds open to
/var/log/upstart/mysql.
Thank you Michael and Eelco.
More information about the nix-dev
mailing list