Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2002
    Posts
    297

    Default tail: cannot open `/var/log/mysqld.log' for reading: No such file or directory

    Just working on getting server secured and logs working

    When I try to see the /usr/local/cpanel/logs/error_log... I get
    tail: cannot open `/var/log/mysqld.log' for reading: No such file or directory

    Any ideas where to look to fix this ?

    Doug

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by Silver_2000 View Post
    tail: cannot open `/var/log/mysqld.log' for reading: No such file or directory

    Any ideas where to look to fix this ?
    Make sure /var/log/mysqld.log file is there.
    ls -al /var/log/mysqld.log
    If you get the same error message, that means the file doesn't exist. In addition, you need to need to use the -f switch with your command:
    tail -f /var/log/mysqld.log
    Andy Reed
    RHCE and CCNA
    ServerTune.com

Similar Threads & Tags
Similar threads

  1. Cannot open main log file "/var/log/exim_mainlog"
    By fawez in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 03-28-2011, 03:30 AM
  2. Replies: 11
    Last Post: 12-11-2009, 11:34 AM
  3. How to fix : Cannot open /var/log/sa/sa18: No such file or directory
    By isputra in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 09-25-2003, 08:35 PM
  4. rootmail: Cannot open /var/log/sa/sa26: No such file or directory
    By NNNils in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 08-28-2003, 09:09 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube