[request-tracker-maintainers] Bug#595054: request-tracker3.8: Race condition between RT3.8+apache2 and MySQL when booting by insserv

Dominic Hargreaves dom at earth.li
Sun Sep 12 21:23:09 UTC 2010


On Wed, Sep 01, 2010 at 09:41:03PM +0100, Dominic Hargreaves wrote:

> Investigating this line. I've reproduced the problem (without parallel
> booting, just with a simple
> 
> /etc/init.d/apache2 stop; /etc/init.d/mysql stop; /etc/init.d/apache2 start
> 
> and the same problem occurs with postgres. When I tried to reproduce
> with sqlite, by chmodding 0 the database file, Apache successfully
> started up.
> 
> Need more analysis before forwarding upstream.

I've raised this upstream:
<http://lists.bestpractical.com/pipermail/rt-devel/2010-September/011169.html>
and then at the mod_perl users' list (copy attached; it hasn't made it
through to the list yet).

In the absence of any better suggestions I think I will try and prepare
a rough and ready patch whereby the webmux.pl script retries for a short
while (1 minute) to connect to the database, and then gives up.

If anyone reading has any other good ideas, please let me know.

Cheers,
Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
-------------- next part --------------
An embedded message was scrubbed...
From: Dominic Hargreaves <dom at earth.li>
Subject: Coping with fatal errors in PerlRequire'd scripts
Date: Sun, 12 Sep 2010 16:07:13 +0100
Size: 2284
URL: <http://lists.alioth.debian.org/pipermail/pkg-request-tracker-maintainers/attachments/20100912/e80fc3d8/attachment.eml>


More information about the pkg-request-tracker-maintainers mailing list