Announcement

Collapse
No announcement yet.

No stats Lvetop is not showing anything

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • No stats Lvetop is not showing anything

    Help needed

  • #2
    First of all this is a superb piece of software. Hope anyone can help me to get this working.

    When doing lvetop it shows nothing. No stats are showing in DirectAdmin

    My system :

    # uname -a (server hostname deleted)
    Linux 2.6.18-374.3.1.el5.lve0.8.44xen #1 SMP Mon Oct 3 18:44:37 EEST 2011 x86_64 x86_64 x86_64 GNU/Linux

    # vi /etc/httpd/conf/extra/modhostinglimits.conf
    LoadModule hostinglimits_module /usr/lib/apache/mod_hostinglimits.so
    <IfModule mod_hostinglimits.c>
    SkipErrors Off
    AllowedHandlers cgi-script php5-script php4-script php-script application/x-httpd-php5 application/x-httpd-php x-httpd-php
    AllowedHandlers application/x-httpd-php5 application/x-httpd-php cgi-script php-script php5-script php4-script x-httpd-php5
    </IfModule>

    # vi /boot/grub/grub.conf
    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE: You have a /boot partition. This means that
    # all kernel and initrd paths are relative to /boot/, eg.
    # root (hd0,0)
    # kernel /vmlinuz-version ro root=/dev/xvda5
    # initrd /initrd-version.img
    #boot=/dev/xvda
    default=0
    timeout=5
    splashimage=(hd0,0)/grub/splash.xpm.gz
    hiddenmenu
    title CloudLinux Server (2.6.18-374.3.1.el5.lve0.8.44xen)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-374.3.1.el5.lve0.8.44xen ro root=LABEL=/ console=xvc0
    initrd /initrd-2.6.18-374.3.1.el5.lve0.8.44xen.img
    title CentOS (2.6.18-274.12.1.el5xen)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-274.12.1.el5xen ro root=LABEL=/ console=xvc0
    initrd /initrd-2.6.18-274.12.1.el5xen.img
    title CentOS (2.6.18-194.26.1.el5xen)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-194.26.1.el5xen ro root=LABEL=/ console=xvc0
    initrd /initrd-2.6.18-194.26.1.el5xen.img
    title CentOS (2.6.18-194.17.4.el5xen)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-194.17.4.el5xen ro root=LABEL=/ console=xvc0
    initrd /initrd-2.6.18-194.17.4.el5xen.img
    title CentOS (2.6.18-194.17.1.el5xen)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-194.17.1.el5xen ro root=LABEL=/ console=xvc0
    initrd /initrd-2.6.18-194.17.1.el5xen.img

    Comment


    • #3
      What is the output of:
      apachectl -M 2>&1|grep hosting

      Also, which handler does php uses?

      Comment


      • #4
        apachectl -M 2>&1|grep hosting shows nothing

        What do you mean bij the handler php uses?

        PHP 5.3.3 (cli) (built: Nov 3 2011 12:00:26)
        Copyright (c) 1997-2010 The PHP Group
        Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
        with the ionCube PHP Loader v4.0.9, Copyright (c) 2002-2011, by ionCube Ltd.

        Comment


        • #5
          Eric,

          If you have no output for this:
          apachectl -M 2>&1|grep hosting shows nothing

          It means that /etc/httpd/conf/extra/modhostinglimits.conf is not included in httpd.conf

          Regarding php handler -- in directadmin, there are files like suphp.conf, etc... that specify "handler" like this: application/php or similar. There is a chance that we don have this handler in modhostinglimits.conf It needs to be added.

          If you are not sure, please, contact our support, and provide them with access info -- they will check, and set it up for you.

          Comment


          • #6
            Thanks for your support

            apachectl -M 2>&1|grep hosting now shows :

            hostinglimits_module (shared)

            Mod_suphp is installed.

            /etc/httpd/conf/extra/httpd-suphp.conf is included in httpd.conf

            Comment


            • #7
              Strange thing. After the CLoudLinux install the Magento webshops on this server died.

              I have errors like
              Fatal error: Call to a member function insert() on a non-object in /home/**/**/**/public_html/app/code/core/Mage/Core/Model/Mysql4/Resource.php on line 96

              There are only 3 shops with magento on this server.

              Could this have anything to do with the installation of cloudlinux?

              Comment


              • #8
                maybe it is hitting memory limits? Try running:
                lveinfo --by-fault=mem

                Otherwise -- the only thing I can think of is that easyapache recompile broke something in php/mysql4 support.

                Comment


                • #9
                  And another problem. R1soft uses a buagent. This won start anymore

                  when running

                  /etc/init.d/buagent start: buagent could not be started

                  /usr/bin/r1soft-cki
                  Checking for binary module
                  Waiting |
                  No binary module found
                  Gathering kernel information
                  Gathering kernel information complete.
                  Creating kernel headers package
                  Checking /lib/modules/2.6.18-374.3.1.el5.lve0.8.44xen/source/ for kernel headers
                  Checking /usr/src/kernels/2.6.18-374.3.1.el5.lve0.8.44xen-x86_64/ for kernel headers
                  Checking /lib/modules/2.6.18-374.3.1.el5.lve0.8.44xen/build/ for kernel headers
                  Unable to find a valid source directory.
                  Please install the kernel headers for your operating system.

                  Comment


                  • #10
                    Please, do:
                    yum install kernel-xen-devel

                    And try again.

                    Comment


                    • #11
                      Ahh superb It works!!

                      Now im still busy with the magento shops.

                      Thanks

                      Comment


                      • #12
                        Since i have more time now to explore the functionality of cloudlinux im having some more questions.

                        lvetop stil shows nothing :

                        [root@s14 ~]# lvetop

                        ID EP PNO TNO CPU MEM I/O

                        Lveinfo shows nothing :

                        [root@s14 ~]# lveinfo --by-fault=mem
                        ID aCPU mCPU lCPU aEP mEP lEP aMem mMem lMem MemF MepF

                        Module is loaded :

                        [root@s14 ~]# apachectl -M 2>&1|grep hosting
                        [Thu Jan 26 11:47:35 2012] [warn] module hostinglimits_module is already loaded, skipping
                        hostinglimits_module (shared)

                        Lve list is showing something :

                        [root@s14 ~]# cat /proc/lve/list
                        4:LVE EP lCPU lIO CPU MEM IO lMEM lEP nCPU fMEM fEP
                        0 0 26 25 0 0 0 262144 20 1 0 0
                        503 0 26 25 9304339226 0 0 262144 20 1 0 0
                        523 0 25 25 2961 0 0 262144 20 1 0 0
                        715 0 26 25 7041 0 0 262144 20 1 0 0

                        [root@s14 ~]# uname -a
                        Linux s14.myservername.nl 2.6.18-374.3.1.el5.lve0.8.44xen #1 SMP Mon Oct 3 18:44:37 EEST 2011 x86_64 x86_64 x86_64 GNU/Linux

                        Any ideas ?

                        Comment


                        • #13
                          Hi Igor,

                          Ive contacted support with the contact form on the site with a link to this forumpost.

                          Hope they can login to my server.

                          Comment

                          Working...
                          X