hello;

I am having a spot of trouble getting to MySQL to start. Here is the message:

050407 22:43:49  mysqld started
050407 22:43:49  /usr/libexec/mysqld: Can't find file: './mysql/host.frm' 
(errno: 13)

I looked this up and found a numerous references, all going back to 
permissions. In my case this is NOT a new install. It has been running for 
years as a test database. the permissions are fine:

ll -d /var/lib/mysql
drwxr-xr-x  4 mysql mysql 4096 Apr  9 16:15 /var/lib/mysql

ll  /var/lib/mysql
drwx------  2 mysql mysql 4096 Apr  7 22:39 mysql
drwx------  2 mysql mysql 4096 Feb 16 06:55 test

I checked the /var/log/mysql.log and the above is all I see.

I looked at the /var/log/messages file and found this:

Apr  6 05:18:17 cenozoic mysqld: Stopping MySQL:  succeeded
Apr  6 05:18:19 cenozoic kernel: audit(1112789899.123:0): avc:  denied  { read 
} for  pid=8826 exe=/usr/libexec/mysqld name=host.frm dev=sda2 ino=605700 
scontext=system_u:system_r:mysqld_t tcontext=root:object_r:var_lib_t 
tclass=file
Apr  6 05:18:29 cenozoic mysqld: Starting MySQL:  failed

I had the 'bright' idea to grab the file from another system, on the 
possibility that the file had been corrupted. No change. (I put the original 
one back.)

So, I am stumped. Any suggestions are greatly appreciated.

-- 
regards,
allen wayne best, esq
"your friendly neighborhood rambler owner"
"my rambler will go from 0 to 105"
Current date: 8:6:16::98:2005

The real reason psychology is hard is that psychologists are trying to
do the impossible.


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to