just installed virtualmin, mysql won't start

3 posts / 0 new
Last post
#1 Wed, 04/09/2008 - 09:41
cespe@planeteria.net

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

Wed, 04/09/2008 - 12:26
Joe
Joe's picture

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!

Wed, 04/09/2008 - 14:05 (Reply to #2)
cespe@planeteria.net

<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 &quot;hardening&quot; 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.

Topic locked