cl-quota Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ray
    Senior Member
    Forum ExplorerTechnical AssociateSolutions Developer
    • Mar 2021
    • 108

    #1

    cl-quota Error

    One of our servers recently updated and now we keep getting the following Error message emailed to us.

    /usr/bin/cl-quota -YC
    ERROR: Cant open lock file for reading

    What do we need to do to correct this?

    Best regards,
    Eric
  • bogdan.sh
    Administrator
    • Nov 2016
    • 1239

    #2
    Hello,

    This bug appeared after update to lvemanager v2 . As a temporary workaround please create that file with:

    Code:
    touch /etc/container/cl-quotas.dat.lock
    Suppose the issue will be fixed in a next lvemanager update.

    Comment

    • sqh
      Member
      • Sep 2017
      • 92

      #3
      We saw this error on all of our servers when they upgraded a day ago, but the error only lasted for a few 5 minute cron cycles. But last night one server started giving this error message again, and this time it did not stop.

      The fix above solved the problem.

      - Scott

      Comment

      • sqh
        Member
        • Sep 2017
        • 92

        #4
        Hi All,

        Same issue: we have each 5 minutes this email send for all cPanel servers with CloudLinux !

        Code:

        Cron <root@xxxxxxx> /usr/bin/cl-quota -YC
        ERROR: Cant open lock file for reading

        Do you have an ETA/news about a fix (LVEMAN-1088) in cPanel or CloudLinux ?

        Best regards?

        Comment

        • bogdan.sh
          Administrator
          • Nov 2016
          • 1239

          #5
          Hi,

          We were informed that the issue should be fixed in cPanel version 64.0.11 inside this bugreport:

          > Fixed case CPANEL-12432: Increased timeout to 2 hours when installing yum packages



          If it is still happening on your server - better to workaround same way:

          Code:
          touch /etc/container/cl-quotas.dat.lock

          Comment

          Working...