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" (127.0.0.1) 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? -kevin
pgpbpue19xE6R.pgp
Description: PGP signature
-- RT Training in Seattle, June 19-20: http://bestpractical.com/training
