The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by Silver_2000, Dec 2, 2006.

  1. Silver_2000

    Silver_2000 Well-Known Member

    Joined:
    Mar 31, 2002
    Messages:
    338
    Likes Received:
    1
    Trophy Points:
    18
    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. AndyReed

    AndyReed Well-Known Member
    PartnerNOC

    Joined:
    May 29, 2004
    Messages:
    2,222
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Minneapolis, MN
    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
     
Loading...

Share This Page