Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

so I have a little problem. I had errors with our old system and was unable to backup the old databases properly so I went ahead and backed up the datadir which had all of the databases folders inside it. I just reinstalled the lamp server on my new system and then stopped mysql server and moved the old datadir from my old system to my new one. After I moved the data over to the new datadir I tried to start the new mysql server.

It came up with this error.

df: Warning: cannot read table of mounted file systems: No such file or directory [FAIL] Starting MySQL database server: mysqld...... failed!

I'm not sure what is causing this and I can't find anything online that has the same problem as I am having just close but nothing like this. Any help would be greatly appreciated!

Best Regards, JJ

share|improve this question
    
Did you make sure the mysql user owns the new files? –  ceejayoz May 11 '13 at 17:55
    
What do your logfiles say? –  etagenklo May 11 '13 at 17:56
    
Yes, the permissions are correct. And where is the location of the mysql log files? I can't find an error log anywhere. @etagenklo –  JJ Edgar VI May 11 '13 at 18:03
    
@etagenklo well I take that back. I found the logs in /var/log/mysql.err however it is empty. Maybe the server is not configured to record logs. –  JJ Edgar VI May 11 '13 at 18:07
    
This is probably some Debian/Ubuntu. Check /var/log/syslog or /var/log/daemon.log. –  etagenklo May 12 '13 at 7:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.