[LON-CAPA-admin] WARNING: Cannot connect to database!
Mark Lucas
lucasm at ohio.edu
Fri Jan 10 09:15:20 EST 2014
On a hunch I searched "centos 6 mysql bug" and found the following:
http://bugs.mysql.com/bug.php?id=71086
It turns out that for some reason mysql is leaving the /var/lib/mysql/mysql.sock socket file
upon shutdown. It may be permissions.
service mysqld status shows mysqld down
service mysqld start gives
Another MySQL daemon already running with the same unix socket.
Starting mysqld: [FAILED]
if the socket is still there.
Removing the socket as root allows mysqld to start.
Later,
Mark
On Jan 10, 2014, at 6:40 AM, H. K. Ng wrote:
> Hi,
>
> Not from publishing resources but when getting the course statistics. Message says "Unable to connect to database". Found out that mysqld is not running. This has happened twice so something is killing the deamon??
>
> -hk
>
>
>
> On Thu, Jan 9, 2014 at 11:16 PM, Mark Lucas <lucasm at ohio.edu> wrote:
> I just updated packages on a Centos 6 server and am finding the following
> error when publishing resources.
>
> Has anyone else run into this recently?
>
> Mark
>
> --
> Mark Lucas email: lucasm at ohiou.edu
> 252D Clippinger Lab phone: (740)597-2984
> Department of Physics and Astronomy fax: (740)593-0433
> Ohio University
> Athens, OH 45701
>
> _______________________________________________
> LON-CAPA-admin mailing list
> LON-CAPA-admin at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
>
>
>
> _______________________________________________
> LON-CAPA-admin mailing list
> LON-CAPA-admin at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-admin
--
Mark Lucas email: lucasm at ohiou.edu
252D Clippinger Lab phone: (740)597-2984
Department of Physics and Astronomy fax: (740)593-0433
Ohio University
Athens, OH 45701
More information about the LON-CAPA-admin
mailing list