[rt-users] Migration Prep
paul
paul at tracker-software.com
Fri Aug 9 17:18:16 EDT 2013
Thanks Thomas
Setting Apache to start after mysql seems to have done the trick.
Sent from my GT-I9305T on the Telstra 4G network
-------- Original message --------
From: Thomas Sibley <trs at bestpractical.com>
Date:
To: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Migration Prep
On 08/09/2013 06:36 AM, Paul O'Rorke wrote:
> When I look at syslog I see the following during startup:
>
>
> Aug 9 08:28:04 rt4 RT: DBI
> connect('dbname=rtdb;host=localhost','rtuser',...) failed: Can't connect
> to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
> at /usr/local/share/perl/5.14.2/DBIx/SearchBuilder/Handle.pm line 105.
> (/usr/local/share/perl/5.14.2/Carp.pm:102)
> Aug 9 08:28:05 rt4 RT: DBI
> connect('dbname=rtdb;host=localhost','rtuser',...) failed: Can't connect
> to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
> at /usr/local/share/perl/5.14.2/DBIx/SearchBuilder/Handle.pm line 105.
> (/usr/local/share/perl/5.14.2/Carp.pm:102)
> Aug 9 08:28:08 rt4 mysqld_safe: Starting mysqld daemon with databases
> from /var/lib/mysql
Just by looking at the log timestamps, your system is pretty clearly set
to start Apache (or whatever is serving RT) before mysql. This isn't
RT's fault, but simply the wrong startup ordering for your system. You
should change it so Apache/your webserver depends on mysql being started
first. How to do so depends on your distribution.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130809/8afe0c19/attachment.htm>
More information about the rt-users
mailing list