History chart issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 2webmaster
    Senior Member
    Forum ExplorerTechnical AssociateSolutions Developer
    • Mar 2021
    • 101

    #1

    History chart issue

    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
  • iseletsk
    Senior Member
    • Dec 2017
    • 1199

    #2
    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.

    Comment

    • 2webmaster
      Senior Member
      Forum ExplorerTechnical AssociateSolutions Developer
      • Mar 2021
      • 101

      #3
      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

      Comment

      • iseletsk
        Senior Member
        • Dec 2017
        • 1199

        #4
        this file is from atlas rpm

        Try doing:
        yum reinstall atlas

        Comment

        • 2webmaster
          Senior Member
          Forum ExplorerTechnical AssociateSolutions Developer
          • Mar 2021
          • 101

          #5
          Perfect.

          Thank You

          Frank

          Comment

          • razvan
            Junior Member
            • Mar 2021
            • 6

            #6
            i have the same problem in directadmin, but when i try to download the image it says:
            No data received

            Comment

            • iseletsk
              Senior Member
              • Dec 2017
              • 1199

              #7
              Could you try from shell:
              lveinfo --user=username --period=1d
              (pick username of the same user)

              Comment

              • razvan
                Junior Member
                • Mar 2021
                • 6

                #8
                [root@web3 ~]# 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

                Comment

                • iseletsk
                  Senior Member
                  • Dec 2017
                  • 1199

                  #9
                  what about: lveinfo --user=adventube (no period).

                  Also lveinfo --user=adventube > image.png
                  and check content of the file.

                  Comment

                  • razvan
                    Junior Member
                    • Mar 2021
                    • 6

                    #10
                    [root@web3 ~]# 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
                    [root@web3 ~]# lveinfo --user=adventube > image.png
                    [root@web3 ~]#

                    on second one just goes to next line

                    Comment

                    • iseletsk
                      Senior Member
                      • Dec 2017
                      • 1199

                      #11
                      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.

                      Comment

                      • razvan
                        Junior Member
                        • Mar 2021
                        • 6

                        #12
                        Message is: Time span must be specified!

                        Comment

                        • iseletsk
                          Senior Member
                          • Dec 2017
                          • 1199

                          #13
                          lvechart --user=adventube --period=10m> image.png

                          Comment

                          • razvan
                            Junior Member
                            • Mar 2021
                            • 6

                            #14
                            its an image: http://adventube.ro/image.png

                            Comment

                            • razvan
                              Junior Member
                              • Mar 2021
                              • 6

                              #15
                              This is the url in directadmin if i try to see the image from there: http://web3.itconfig.ro:2222/CMD_PLU...rand=890439801

                              Comment

                              Working...