Home >> TechLab >> Miscellaneous >> Unable to Start mysqld-max

UNABLE TO START MYSQLD-MAX

 
Error Message: Timeout error occurred trying to start MySQL Daemon
Kernel: 2.6.16.27.tex1.lve
Apache: 2.0.54
MySQL: 4.1.12-Max
PHP: 5.0.4

Log output ( /var/log/mysqld/mysqld.log) shows :-
................................................................................................................................................................................................

070220 15:10:47 mysqld started /usr/sbin/mysqld-max: Can't read dir of '/home/webmaster/mysql/.tmp/' (Errcode: 13) 070220 15:10:47 [ERROR] bdb: /home/webmaster/mysql: Permission denied 070220 15:10:47 [ERROR] bdb: /home/webmaster/mysql/log.0000000001: Permission denied 070220 15:10:47 [ERROR] bdb: PANIC: Permission denied 070220 15:10:47 [ERROR] bdb: PANIC: DB_RUNRECOVERY: Fatal error, run database mysql recovery 070220 15:10:47 [ERROR] bdb: fatal region error detected; run recovery 070220 15:10:47 [ERROR] bdb: /home/webmaster/mysql: Permission denied /usr/sbin/mysqld-max: Can't create/write to file '/home/webmaster/mysql/.tmp/ib5Ea9bn' (Errcode: 13) 070220 15:10:47 InnoDB: Error: unable to create temporary file; errno: 13 070220 15:10:47 [ERROR] Can't init databases 070220 15:10:47 [ERROR] Aborting 070220 15:10:47 [Note] /usr/sbin/mysqld-max: Shutdown complete

................................................................................................................................................................................................


SOLVED BY: Setting the execute bit for others (not just user and group ), even on the parent directory, i.e. in this case /home/webmaster/

MISCELLANEOUS

QUICK INFO