Mysql won't start - Timout Error - Logs blank
Last night I ran a new backup scripts that did a mysql dump of all data. Today the server was running fine, and then started to loose connection to certain tables. When I tried service mysqld restart it gave me an error:
Code:
"chown: cannot access `/var/lib/mysql\r': No such file or directory" I opened the the /etc/my.cnf and set the format to unix with: Code:
set fileformat=unix Now restarting the mysqld gives me: Code:
Timeout error occurred trying to start MySQL Daemon. I also tried setting the Thanks for any direction on this. Would removing mysql and reinstalling it help? I'm keeping that as a last resort if it's just a file or setting problem. The script I ran just used a simple Code:
mysqldump --user=myuser --password=mypass--all-databases --add-drop-table > /media/usbdisk/WebBackups/tmp_backup/backup.sql Also, if I do status check on mysqld it says it's running... but fails to start. Thanks for any help. |
Here is my backup script that I'm sure has something to do with this. The crontab wouldn't run if I didn't set the PATH. Would setting the PATH in my backupscript cause mysql not be able to find my.cnf or other important files?
Code:
#!/bin/sh |
I found a post that said that if the /var folder gets too full it can cause this problem. I deleted a few things and everything is back up.
|
All times are GMT -5. The time now is 07:17 PM. |