Re: /var/log/mysql.000001 Not Found?

2006-03-26 Thread Colin Charles

David P. Donahue wrote:


/usr/libexec/mysqld: File '/var/log/mysql.01' 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.02, then mysql.03. 
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: [EMAIL PROTECTED] / +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

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



/var/log/mysql.000001 Not Found?

2006-03-24 Thread David P. Donahue
I just tried upgrading from MySQL 4.0 to 5.0 on my Slackware Linux 
system, but whenever I try to start the new service it immediately exits 
and the only error it logs is:


/usr/libexec/mysqld: File '/var/log/mysql.01' 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.02, then mysql.03. 
What would be causing this, and how should I go about fixing it?  Any 
help would be much appreciated, thanks.



Regards,
David P. Donahue
[EMAIL PROTECTED]
http://www.cyber0ne.com

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