just installed virtualmin, mysql won't start

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
a/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.

Joe wrote:

So, does /tmp exist?

Yes, but the permissions disallowed group and world writing. After setting permissions to 777 as you suggested, mysql starts.

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.

I didn’t run any security hardening scripts (or anything except up2date) before installing virtualmin. Thanks for your help.