These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for just installed virtualmin, mysql won't start on the new forum.
Started with new CentOS 4.4 on a gridlayer virtual machine with 512k memory. Ran up2date and it upgraded to 4.6. Installed virtualmin pro. Everything working except mysql. Get the following in the mysql error log:
080408 15:21:04 mysqld started /usr/libexec/mysqld: Can't create/write to file '/tmp/ibNtL8wO' (Errcode: 13) 080408 15:21:04 InnoDB: Error: unable to create temporary file; errno: 13 080408 15:21:04 [ERROR] Can't init databases 080408 15:21:04 [ERROR] Aborting
080408 15:21:04 [Note] /usr/libexec/mysqld: Shutdown complete
080408 15:21:04 mysqld ended
So, does /tmp exist?
Has the system had some hostile security "hardening" script run on it, that might have broken /tmp? You may need to fix permissions on /tmp. It should be world readable, writable, and executable and owned by root. e.g. 777 permissions.
--
Check out the forum guidelines!
<b>Joe wrote:</b>
<div class='quote'>So, does /tmp exist?</div>
Yes, but the permissions disallowed group and world writing. After setting permissions to 777 as you suggested, mysql starts.
<div class='quote'>Has the system had some hostile security "hardening" script run on it, that might have broken /tmp? You may need to fix permissions on /tmp. It should be world readable, writable, and executable and owned by root. e.g. 777 permissions.</div>
I didn't run any security hardening scripts (or anything except up2date) before installing virtualmin. Thanks for your help.