Results 1 to 8 of 8

Thread: Resource Usage shows nothing in cPanel.

  1. #1
    Registered Member
    Join Date
    Sep 2009
    Location
    Estonia
    Posts
    32
    cPanel Access Level

    Root Administrator

    Default Resource Usage shows nothing in cPanel.

    Hello,

    There is some fault with "Resource Usage Overview" function in cPanel, it doesn't work and gives:

    There has been no activity on your site within the past 24 hours
    And in WHM > CloudLinux LVE Manager everything is showing up correctly.

    Please suggest how to fix this.

  2. #2
    Registered Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Mar 2010
    Location
    Princeton, New Jersey, United States
    Posts
    160

    Default Re: Resource Usage shows nothing in cPanel.

    What is the output of:

    lveinfo --period=1d --user=XXX
    where XXX is the username of the user for which you see "no activity"
    Igor Seletskiy
    CEO @ CloudLinux

  3. #3
    Registered Member
    Join Date
    Sep 2009
    Location
    Estonia
    Posts
    32
    cPanel Access Level

    Root Administrator

    Default Re: Resource Usage shows nothing in cPanel.

    I have tried that and there is no output for any users.

  4. #4
    Registered Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Mar 2010
    Location
    Princeton, New Jersey, United States
    Posts
    160

    Default Re: Resource Usage shows nothing in cPanel.

    What exactly do you see in WHM -> LVE Manager?
    Also, try doing:
    grep lvestat /var/log/messages
    Igor Seletskiy
    CEO @ CloudLinux

  5. #5
    Registered Member
    Join Date
    Sep 2009
    Location
    Estonia
    Posts
    32
    cPanel Access Level

    Root Administrator

    Default Re: Resource Usage shows nothing in cPanel.

    Quote Originally Posted by iseletsk View Post
    What exactly do you see in WHM -> LVE Manager?
    Also, try doing:
    grep lvestat /var/log/messages
    Mar 1 15:06:04 a14 lvestats-server[1841]: <class 'sqlite3.OperationalError'>: no such table: last_run
    Mar 1 15:06:19 a14 lvestats-server[1841]: <class 'sqlite3.OperationalError'>: no such table: last_run
    ..

    In WHM's LVE Manager I see things working as normal, the statistics doesn't work just in cPanel.

  6. #6
    Registered Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Mar 2010
    Location
    Princeton, New Jersey, United States
    Posts
    160

    Default Re: Resource Usage shows nothing in cPanel.

    I am pretty sure that if you switch to [stats] tab in WHM's LVE Manager -- it will not show things as well.

    Please, do the following:
    service lvestats stop
    killall -9 lvestats-server
    rm -rf /var/log/lveinfo.db
    service lvestats start

    That should re-create the database/fix the issue.
    Igor Seletskiy
    CEO @ CloudLinux

  7. #7
    Registered Member
    Join Date
    Sep 2009
    Location
    Estonia
    Posts
    32
    cPanel Access Level

    Root Administrator

    Default Re: Resource Usage shows nothing in cPanel.

    It solved the issue! Many thanks

    Btw the database file locates in our server in /var/lve/

  8. #8
    Registered Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Mar 2010
    Location
    Princeton, New Jersey, United States
    Posts
    160

    Default Re: Resource Usage shows nothing in cPanel.

    Yes, sorry ... it is still an early morning here
    Igor Seletskiy
    CEO @ CloudLinux

Similar Threads

  1. Centralized resource usage reporting for cPanel servers
    By vincents in forum General Discussion
    Replies: 2
    Last Post: 03-12-2012, 07:01 PM
  2. Log resource usage on each cPanel account
    By tyggis in forum General Discussion
    Replies: 4
    Last Post: 12-28-2011, 04:22 PM
  3. Plugin to see resource usage on cPanel
    By jackg164 in forum General Discussion
    Replies: 3
    Last Post: 06-07-2011, 03:37 PM
  4. Replies: 6
    Last Post: 03-06-2011, 04:30 AM
  5. Replies: 6
    Last Post: 03-06-2011, 04:30 AM
bargain