[rt-users] Have to restart apache2 after reboot

Kevin Falcone falcone at bestpractical.com
Thu Jun 13 12:52:16 EDT 2013

On Thu, Jun 13, 2013 at 09:40:23AM -0700, rt4 wrote:
> I'm experiencing some peculiar behavior. After reboot, RT (4.0.13 with
> libapache2-mod-perl2 version 2.0.7-3) 
> can't connect to database (postgresql 9.1).  PG is up and running and I can
> connect to it from other clients. 
> If I restart Apache2, then everything is ok.
> From log: 
> RT: DBI connect('dbname=rt4;host=localhost','rt_user',...) failed: could not
> connect to server: Connection refused#012#011Is the server running on host
> "localhost" ( and accepting#012#011TCP/IP connections on port
> 5432? at /usr/local/share/perl/5.14.2/DBIx/SearchBuilder/Handle.pm line 103.
> (/usr/local/share/perl/5.14.2/Carp.pm:102)
> Any idea what may be causing this?

Which init script runs first, Pg or Apache?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 235 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130613/e2ee46be/attachment.sig>

More information about the rt-users mailing list