Page 1 of 1

MySQL not working properly

Posted: Sat May 28, 2011 3:22 pm
by acemilo
I'm having a greyhole problem, that is related to a MySQL problem that I've discovered after hours of playing with it. I have a post in the greyhole section, but I figured I'd post here too since it's a MySQL problem:

I just added my final drive I planned on adding to my greyhole pool, for a total of 6 data drives. After doing so, I started to get some MAJOR issues and I don't know why. I mount my shares locally and that has been working just fine before today. Now when I boot up I get the following error:

Mounting Samba shares locally: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
mkdir: missing operand
Try 'mkdir --help' for more information.
mount error(111): Connection refused
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

The last line repeats for each of my shares. This worked just fine before today when I added that last drive. The other big problem, is that the greyhole service is not starting on boot. When it's done booting, I have to manually start it. The weird thing is, after the machine is booted, if I run the mount_shares_manually service it works just fine. I really need this working, I don't know why it worked fine before and now it isn't.

Thanks for the help.