List:General Discussion« Previous MessageNext Message »
From:Colin Charles Date:March 26 2006 11:48pm
Subject:Re: /var/log/mysql.000001 Not Found?
View as plain text  
David P. Donahue wrote:

> /usr/libexec/mysqld: File '/var/log/mysql.000001' not found (Errcode: 13)
> [ERROR] Could not use /var/log/mysql for loggins (error 13).  Turning 
> logging off for the whole duration of the MySQL server process.
> [ERROR] Aborting
> 
> If I touch the file, the error is for mysql.000002, then mysql.000003. 
> What would be causing this, and how should I go about fixing it?  Any 
> help would be much appreciated, thanks.

Running:
perror 13
OS error code  13:  Permission denied

It would seem that /var/log/mysql.xxx isn't using the correct permissions

For what its worth, you should be logging to /var/log/mysql/foo, and 
make sure that /var/log/mysql can be read/written to by the mysql server

HTH
-- 
Colin Charles, Community Engineer
MySQL AB, Melbourne, Australia, www.mysql.com
Office: 4528@stripped / +46 18 174 400 ext. 4528
Mobile: +614 12 593 292 / Skype: colincharles

Using MySQL for a FLOSS application?
http://dev.mysql.com/doc/refman/5.0/en/mysql-floss-license-exception.html
Thread
/var/log/mysql.000001 Not Found?David P. Donahue24 Mar
  • Re: /var/log/mysql.000001 Not Found?Colin Charles27 Mar