To add a service at startup OS CentOS / RHEL you need a chkconfig serice
Mysql error “InnoDB: Unable to lock ./ibdata1, error: 11″ You need to create copies of original files (ibdata1, ib_logfile0, ib_logfile1… – error may be associated with many files, but the solution is the same). mv /var/lib/mysql/ibdata1 /var/lib/mysql/ibdata1.bak cp -a /var/lib/mysql/ibdata1.bak /var/lib/mysql/ibdata1
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory If you have current error – you need to leave current folder, because it probably has been removed.