View Single Post
  #3  
Old 12th May 2010, 11:47
stevegjacobs stevegjacobs is offline
Junior Member
 
Join Date: Sep 2008
Posts: 28
Thanks: 1
Thanked 1 Time in 1 Post
Default debian does things different

Mysql logs are included in /var/log syslog. Here is the sequence of log entries when I try to start mysql:
May 12 10:43:25 webserver2 mysqld_safe[1565]: started
May 12 10:43:25 webserver2 mysqld[1568]: 100512 10:43:25 InnoDB: Operating system error number 13 in a file operation.
May 12 10:43:25 webserver2 mysqld[1568]: InnoDB: The error means mysqld does not have the access rights to
May 12 10:43:25 webserver2 mysqld[1568]: InnoDB: the directory.
May 12 10:43:25 webserver2 mysqld[1568]: InnoDB: File name ./ibdata1
May 12 10:43:25 webserver2 mysqld[1568]: InnoDB: File operation call: 'open'.
May 12 10:43:25 webserver2 mysqld[1568]: InnoDB: Cannot continue operation.
May 12 10:43:25 webserver2 mysqld_safe[1574]: ended
May 12 10:43:39 webserver2 /etc/init.d/mysql[2128]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
May 12 10:43:39 webserver2 /etc/init.d/mysql[2128]: #007/usr/bin/mysqladmin: connect to server at 'localhost' failed
May 12 10:43:39 webserver2 /etc/init.d/mysql[2128]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
May 12 10:43:39 webserver2 /etc/init.d/mysql[2128]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!

I need to compare this to what happens when I restart on webserver1
Reply With Quote