LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-01-2006, 01:49 AM   #1
massoo
LQ Newbie
 
Registered: Mar 2004
Posts: 12

Rep: Reputation: 0
touch: cannot touch `/var/log/mysqld.log': Permission denied


hi,

whenever i try start mysql, it throws the following error on the console:
Quote:
/etc/init.d/mysqld start
touch: cannot touch `/var/log/mysqld.log': Permission denied
chmod: changing permissions of `/var/log/mysqld.log': Operation not permitted
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL: [FAILED]
ls of /var/log/mysqld.log file produces
Quote:
-rw-r----- 1 mysql mysql 0 Aug 23 2005 mysqld.log
Also I noticed that none of the messages like maillogs, messages logs are getting logged into their logs, viz, /var/log/mailllog, /var/log/messages.

If anyone wants the sysreport i can attach the same.

please guide me how to solve this

regards
shann
 
Old 08-01-2006, 01:56 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Make sure you have a system logger running.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
touch /var/lock/subsys/local <<-- Why? cl2imson Linux - Newbie 12 06-26-2011 02:35 PM
/var/log/messages - kernel: audit(1107868785.573:0): avc: denied { getattr } lothario Linux - Security 2 02-10-2005 04:24 AM
/var/log/news permission denied tt08 Linux - Newbie 4 10-30-2004 10:19 AM
Error - can't touch touch: /var/lock - filesystem problem? xanas3712 Linux - Newbie 0 05-10-2004 05:26 AM
Permission denied @ /var/log/mail Thorsten Linux - Software 1 11-03-2003 06:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration