History chart issue
Forum
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. Frank Doud
  2. Thursday, 23 February 2012
  3.  Subscribe via email
Hi,

On one of our servers the history charts have just stop working. The history itself does show up it. CL is just not creating the charts.

This occurs both in WHM and end users cPanel accounts. Any ideas on how to repair this issue.

Thanks
Frank
Rate this post:
  1. 24.02.2012 07:02:12
  2. # 1
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
Frank,

Please, try to download a broken image, and see what is inside. There are usually will be plain text error message inside that \"image\" file.
  1. 24.02.2012 17:02:57
  2. # 2
Frank Doud Accepted Answer
Posts: 41
Joined: 21.08.2010
0
Votes
Undo
Hi Igor,

Very cool (never saw that coming) with the message inside the broken image.


Traceback (most recent call last):
File \"/usr/sbin/lvechart\", line 12, in ?
import numpy as np
File \"/usr/lib64/python2.4/site-packages/numpy/__init__.py\", line 143, in ?
import linalg
File \"/usr/lib64/python2.4/site-packages/numpy/linalg/__init__.py\", line 47, in ?
from linalg import *
File \"/usr/lib64/python2.4/site-packages/numpy/linalg/linalg.py\", line 29, in ?
from numpy.linalg import lapack_lite
ImportError: liblapack.so.3: cannot open shared object file: No such file or directory


Frank
  1. 24.02.2012 17:02:46
  2. # 3
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
this file is from atlas rpm

Try doing:
yum reinstall atlas
  1. 24.02.2012 17:02:25
  2. # 4
Frank Doud Accepted Answer
Posts: 41
Joined: 21.08.2010
0
Votes
Undo
Perfect.

Thank You

Frank
  1. 07.12.2012 08:12:31
  2. # 5
razvan cristea Accepted Answer
Posts: 6
Joined: 07.12.2012
0
Votes
Undo
i have the same problem in directadmin, but when i try to download the image it says: 
No data received
  1. 07.12.2012 09:12:35
  2. # 6
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
Could you try from shell:
lveinfo --user=username --period=1d
(pick username of the same user)
  1. 07.12.2012 10:12:01
  2. # 7
razvan cristea Accepted Answer
Posts: 6
Joined: 07.12.2012
0
Votes
Undo
[[email protected] ~]# lveinfo --user=adventube --period=1d

From         To           aCPU  mCPU    lCPU    aIO     mIO     lIO     aEP    m                                              EP      lEP     aVMem   mVMem   lVMem   aPMem   mPMem   lPMem   aNproc  mNproc l                                              Nproc   EPf     VMemF   PMemF   NprocF
12-06 16:00  12-06 17:00  4     15      15      0       0       0       0      1                                              5       15      0       0       512.0M  0       0       0       0       0      0                                              8       0       0       0
12-06 17:00  12-06 18:00  13    20      20      0       0       15      8      1                                              5       15      0       0       512.0M  20K     276K    1.0G    0       0      0                                              632     0       0       0
12-06 18:00  12-06 19:00  11    20      20      0       0       15      7      1                                              5       15      0       0       512.0M  3.1M    5.0M    1.0G    0       0      1                                              5       755     0       0       0
12-06 19:00  12-06 20:00  6     20      20      0       0       0       0      9                                              15      0       0       512.0M  1.1M    2.4M    512.0M  0       0       0      0                                              0       0       0
12-06 20:00  12-06 21:00  3     19      20      0       0       0       0      1                                              5       15      0       0       512.0M  1.9M    3.1M    512.0M  0       0      0                                              

... etc
  1. 07.12.2012 10:12:24
  2. # 8
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
what about: lveinfo --user=adventube (no period).

Also lveinfo --user=adventube > image.png
and check content of the file.
  1. 07.12.2012 10:12:03
  2. # 9
razvan cristea Accepted Answer
Posts: 6
Joined: 07.12.2012
0
Votes
Undo
[[email protected] ~]# lveinfo --user=adventube

From         To           aCPU  mCPU    lCPU    aEP     mEP     lEP     aVMem   mVMem   lVMem   aPMem   mPMem   lPMem   EPf  VMemF    PMemF
12-07 16:00  12-07 17:00  10    20      20      1       15      15      0       0       512.0M  5.3M    7.2M    512.0M  0    00
12-07 16:59  12-07 17:00  18    20      20      7       11      15      0       0       512.0M  5.9M    6.0M    512.0M  0    00
12-07 17:00  12-07 17:01  17    20      20      5       7       15      0       0       512.0M  6.0M    6.0M    512.0M  0    00
[[email protected] ~]# lveinfo --user=adventube > image.png
[[email protected] ~]#

on second one just goes to next line
  1. 07.12.2012 10:12:36
  2. # 10
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
sorry, second one was supposed to be:
lvechar --user=adventube > image.png

And then check file image.png, and see if it is text, or if it binary/image file.
  1. 07.12.2012 10:12:14
  2. # 11
razvan cristea Accepted Answer
Posts: 6
Joined: 07.12.2012
0
Votes
Undo
Message is: Time span must be specified!
  1. 07.12.2012 10:12:46
  2. # 12
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
lvechart --user=adventube --period=10m> image.png
  1. 07.12.2012 10:12:37
  2. # 13
razvan cristea Accepted Answer
Posts: 6
Joined: 07.12.2012
0
Votes
Undo
it's an image: http://adventube.ro/image.png
  1. 07.12.2012 10:12:10
  2. # 14
razvan cristea Accepted Answer
Posts: 6
Joined: 07.12.2012
0
Votes
Undo
This is the url in directadmin if i try to see the image from there: http://web3.itconfig.ro:2222/CMD_PLUGINS/new_lvemanager/chart.raw?period=1d&rand=890439801
  1. 07.12.2012 10:12:09
  2. # 15
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
The URL wouldn\'t work without authentication.
Could you submit a ticket at helpdesk.cloudlinux.com -- and our guys will try to help.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.