Comment 4 for bug 79870

Revision history for this message
Brian Sutherland (jinty) wrote :

On Sat, Mar 26, 2005 at 05:31:05PM +0000, dman13 wrote:
> Ah, that sounds plausible. The problem machine is, I think, a bit
> slower than the other aging system that doesn't exhibit this problem.
> This makes further sense if the program start-stop-daemon calls
> doesn't wait until the z3 process has fully shutdown.
>
> | Would you mind testing the attached patch for /etc/init.d/schoolbell to
> | see if it solves your problem as well?

I did a little more testing and sometimes get a different error on
restart, I presume because even after the process is stopped, some
things still need to be cleaned up. An entirely un-scientific small
sleep after shutdown solves that (new patch attached).

If anyone is interested, the error is:

Could not initialize the database:
[Errno 11] Resource temporarily unavailable

Perhaps another SchoolBell instance is using it?