Results 1 to 17 of 17
  1. #1
    Join Date
    Nov 2007
    Posts
    98

    Running kernel is not OpenVZ kernel. [FAILED]

    I hope to help me
    When you restart the work of service vz start

    This message appears

    [root@vps2 ~]# /sbin/service vz start
    Running kernel is not OpenVZ kernel. [FAILED]
    [root@vps2 ~]#

  2. #2
    Join Date
    May 2009
    Location
    US
    Posts
    2,503
    Please paste what it shows up when you type in this command via SSH: cat /etc/grub.conf

  3. #3
    Join Date
    May 2009
    Location
    US
    Posts
    2,503
    And please paste what it says when you type: uname -a

    Remember the OpenVZ kernel always has the word "stab" in it.

  4. #4
    Join Date
    Nov 2007
    Posts
    98
    Thank you for your help
    Is the content file

    PHP Code:
    [root@vps2 ~]# cat /etc/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/VolGroup/ROOT
    #          initrd /initrd-version.img
    #boot=/dev/sda
    default=0
    timeout
    =5
    splashimage
    =(hd0,0)/grub/splash.xpm.gz
    hiddenmenu

    title           Debian GNU
    /Linuxkernel 2.6.26-bpo.1-openvz-amd64
    root            
    (hd0,1)
    kernel          /boot/vmlinuz-2.6.26-bpo.1-openvz-amd64 root=/dev/md1 ro
    initrd          
    /boot/initrd.img-2.6.26-bpo.1-openvz-amd64
    savedefault

    title           Debian GNU
    /Linuxkernel 2.6.26-bpo.1-openvz-amd64 (single-user mode)
    root            (hd0,1)
    kernel          /boot/vmlinuz-2.6.26-bpo.1-openvz-amd64 root=/dev/md1 ro single
    initrd          
    /boot/initrd.img-2.6.26-bpo.1-openvz-amd64
    savedefault

    title           Debian GNU
    /Linuxkernel 2.6.18-6-amd64
    root            
    (hd0,1)
    kernel          /boot/vmlinuz-2.6.18-6-amd64 root=/dev/md1 ro
    initrd          
    /boot/initrd.img-2.6.18-6-amd64
    savedefault

    title           Debian GNU
    /Linuxkernel 2.6.18-6-amd64 (single-user mode)
    root            (hd0,1)
    kernel          /boot/vmlinuz-2.6.18-6-amd64 root=/dev/md1 ro single
    initrd          
    /boot/initrd.img-2.6.18-6-amd64
    savedefault
    [root@vps2 ~]

  5. #5
    Join Date
    Nov 2007
    Posts
    98
    Quote Originally Posted by HL-Adam View Post
    And please paste what it says when you type: uname -a

    Remember the OpenVZ kernel always has the word "stab" in it.
    [root@vps2 ~]# uname -a
    Linux vps2.essam4host.biz 2.6.18-164.2.1.el5.plus #1 SMP Fri Oct 9 12:27:45 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
    [root@vps2 ~]#

  6. #6
    Join Date
    May 2009
    Location
    US
    Posts
    2,503
    You're not booted into the OpenVZ kernel. Try altering some settings in grub.conf to make it boot into the OpenVZ kernel

  7. #7
    Join Date
    Apr 2009
    Location
    inside wht
    Posts
    746
    Just reboot your server into VPS kernel
    24x7 PROACTIVE SERVER MANAGEMENT | OUTSOURCED WEB HOSTING SUPPORT
    Sales : sales @ syslint.com | Call us : (+91)9447607799 | Are you looking for DevOps Admins ?

  8. #8
    Join Date
    Nov 2007
    Posts
    98
    How do I to this amendment

  9. #9
    Join Date
    Nov 2007
    Posts
    98
    Quote Originally Posted by HL-Adam View Post
    You're not booted into the OpenVZ kernel. Try altering some settings in grub.conf to make it boot into the OpenVZ kernel
    What is the amendment that I am doing

  10. #10
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,681
    Uh... he has bigger problems then that. That grub.conf is from debian, but the kernel he is running is rhel5/centos5.

    Can you paste us the output from the REAL grub.conf located here: /boot/grub/grub.conf. the one in /etc is a symlink, but sometimes it becomes unlinked and replaced.
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

  11. #11
    Join Date
    Nov 2007
    Posts
    98
    Quote Originally Posted by Steven View Post
    Uh... he has bigger problems then that. That grub.conf is from debian, but the kernel he is running is rhel5/centos5.

    Can you paste us the output from the REAL grub.conf located here: /boot/grub/grub.conf. the one in /etc is a symlink, but sometimes it becomes unlinked and replaced.
    centos5

    PHP Code:
    [root@vps2 ~]# cat /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/VolGroup/ROOT
    #          initrd /initrd-version.img
    #boot=/dev/sda
    default=0
    timeout
    =5
    splashimage
    =(hd0,0)/grub/splash.xpm.gz
    hiddenmenu

    title           Debian GNU
    /Linuxkernel 2.6.26-bpo.1-openvz-amd64
    root            
    (hd0,1)
    kernel          /boot/vmlinuz-2.6.26-bpo.1-openvz-amd64 root=/dev/md1 ro
    initrd          
    /boot/initrd.img-2.6.26-bpo.1-openvz-amd64
    savedefault

    title           Debian GNU
    /Linuxkernel 2.6.26-bpo.1-openvz-amd64 (single-user mode)
    root            (hd0,1)
    kernel          /boot/vmlinuz-2.6.26-bpo.1-openvz-amd64 root=/dev/md1 ro single
    initrd          
    /boot/initrd.img-2.6.26-bpo.1-openvz-amd64
    savedefault

    title           Debian GNU
    /Linuxkernel 2.6.18-6-amd64
    root            
    (hd0,1)
    kernel          /boot/vmlinuz-2.6.18-6-amd64 root=/dev/md1 ro
    initrd          
    /boot/initrd.img-2.6.18-6-amd64
    savedefault

    title           Debian GNU
    /Linuxkernel 2.6.18-6-amd64 (single-user mode)
    root            (hd0,1)
    kernel          /boot/vmlinuz-2.6.18-6-amd64 root=/dev/md1 ro single
    initrd          
    /boot/initrd.img-2.6.18-6-amd64
    savedefault
    [root@vps2 ~]

  12. #12
    Join Date
    Nov 2007
    Posts
    98
    I hope to help me solve the problem
    hope

  13. #13
    Post result of

    df -h
    cat /etc/*issue
    I don't understand why kernal in grub says Debian when you are using CentOS.

  14. #14
    Join Date
    Nov 2007
    Posts
    98
    Thanks for all the issue is resolved

  15. #15
    Quote Originally Posted by bomozah View Post
    Thanks for all the issue is resolved
    How you fixed it ?

  16. #16
    Join Date
    Nov 2007
    Posts
    98
    i have just copied grub file from another node to this node
    and now every thing okay

    i have a question ?
    why if i make update for kernal i get this issues ?
    "yum update"
    because i get this issues after i updrading the kernal

    Thank you

  17. #17
    Join Date
    Dec 2004
    Location
    New York, NY
    Posts
    10,710
    Quote Originally Posted by bomozah View Post
    i have just copied grub file from another node to this node
    and now every thing okay

    i have a question ?
    why if i make update for kernal i get this issues ?
    "yum update"
    because i get this issues after i updrading the kernal

    Thank you
    It downloads the default kernel for the server instead of the ovz kernel. You should add "kernel*" within the "exclude" statement inside /etc/yum.conf to prevent this.

Similar Threads

  1. OpenVZ Kernel Update
    By persianwhois in forum Hosting Security and Technology
    Replies: 16
    Last Post: 08-15-2009, 04:32 PM
  2. openvz kernel on Centos 64bit
    By ASTRAPI in forum Hosting Security and Technology
    Replies: 16
    Last Post: 05-22-2009, 10:51 PM
  3. Replies: 4
    Last Post: 12-10-2008, 05:31 PM
  4. OpenVZ Kernel Tweak / Customization
    By vb2009 in forum Systems Management Requests
    Replies: 2
    Last Post: 02-08-2008, 03:05 PM
  5. Kernel upgrade failed how to boot to old kernel Urgent Please
    By WWWhost in forum Hosting Security and Technology
    Replies: 2
    Last Post: 01-07-2005, 11:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •