Announcement

Collapse
No announcement yet.

Reloading lvectl: Error writing /sys/module/lve/parameters/lve_ubc

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

  • Reloading lvectl: Error writing /sys/module/lve/parameters/lve_ubc

    Hello, I have a server with dircectadmin control panel, I run "yum update" ,I found an error "Error writing /sys/module/lve/parameters/lve_ubc" ,

    now I can reload lvectl ,I get error as blow:

    [root@april ~]# /etc/init.d/lvectl reload
    Reloading lvectl: Error writing /sys/module/lve/parameters/lve_ubc
    X [FAILED]

    lve_ubc is missing.

    [root@april sys]# ls /sys/module/lve/parameters/lve_ubc
    ls: /sys/module/lve/parameters/lve_ubc: No such file or directory

    [root@april ~]# uname -r
    2.6.18-294.26.1.el5.lve0.8.18

    [root@april ~]# lsmod|grep lve
    lve 59016 27

    [root@april ~]# top
    top - 20:17:11 up 9 days, 2:10, 2 users, load average: 2.74, 2.85, 2.78
    Tasks: 489 total, 4 running, 485 sleeping, 0 stopped, 0 zombie
    Cpu(s): 21.8%us, 18.2%sy, 1.3%ni, 57.2%id, 0.7%wa, 0.0%hi, 0.7%si, 0.0%st
    Mem: 8163484k total, 7798652k used, 364832k free, 454012k buffers
    Swap: 4200888k total, 217188k used, 3983700k free, 5307664k cached

    can you tell ,how to fix the problem ? thanks.

  • #2
    You are running old kernel, please, update to latest kernel, and lve_ubc will become available.
    Also, there are several major bugs in that kernel, so upgrade is highly recommended.

    Comment


    • #3
      I have same problem.

      root@xxx [~]# uname -r
      2.6.18-294.26.1.el5.lve0.7.45xen

      How update kernel?

      Thanks.

      Comment


      • #4
        # yum update kernel-xen
        # reboot

        Comment


        • #5
          Hello.

          This result.

          root@xxx [/]# yum upd ate kernel-xen
          Loaded plugins: fastestmirror, rhnplugin
          Loading mirror speeds from cached hostfile
          * cloudlinux-base: repo.cloudlinux.com
          * cloudlinux-updates: repo.cloudlinux.com
          * cloudlinux-x86_64-server-5: slc-proxy.cl-mirror.net
          * epel: mirror.csclub.uwaterloo.ca
          * rpmforge: fr2.rpmfind.net
          Excluding Packages in global exclude list
          Finished
          Se tting up Update Process
          No Packages marked for Update

          Thanks for your attention.

          Comment


          • #6
            What is the output of:
            rpm -qa|grep kernel

            Content of /boot/grub/grub.conf file (and is there /boot/grub/menu.lst file, and is it same as /boot/grub/grub.conf)

            And what is in exclude line of /etc/yum.conf

            Comment


            • #7
              Thanks for response.

              root@xxx [~]# rpm -qa|grep kernel
              kernel-xen-2.6.18-294.26.1.el5.lve0.7.45
              kernel-xen-2.6.18-294.17.1.el5.lve0.7.40
              kernel-xen-devel-2.6.18-294.26.1.el5.lve0.7.45
              kernel-xen-devel-2.6.18-338.12.1.el5.lve0.8.34
              kernel-headers-2.6.18-338.12.1.el5.lve0.8.34
              kernel-xen-2.6.18-338.12.1.el5.lve0.8.34
              kernel-xen-devel-2.6.18-294.17.1.el5.lve0.7.40

              Content of /boot/grub/grub.conf is

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

              and content of /boot/grub/menu.lst

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

              Exclude line /etc/yum.conf

              exclude=apache* bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mysql* nsd* perl* php* proftpd* pure-ftpd* ruby* spamassassin* squirrelmail*

              Thanks.

              Comment


              • #8
                In /boot/grub/grub.conf the entry for latest kernel is at the end (it should be first one).
                Move this lines
                title CloudLinux Server (2.6.18-338.12.1.el5.lve0.8.34xen)
                root (hd0,0)
                kernel /boot/vmlinuz-2.6.18-338.12.1.el5.lve0.8.34xen ro root=LABEL=/ console=xvc0
                initrd /boot/initrd-2.6.18-338.12.1.el5.lve0.8.34xen.img

                right under: hiddenmenu
                and reboot.

                Comment


                • #9
                  Thanks

                  The kernel is updated.

                  root@XXX [~]# uname -r
                  2.6.18-338.12.1.el5.lve0.8.34xen

                  root@XXX [~]# lvectl ubc status
                  Memory limits enabled

                  Comment

                  Working...
                  X