[Users] Re: PLEASE HELP !!!!

Kirill Korotaev dev at sw.ru
Wed Nov 7 15:25:55 EST 2007


1. plz don't spam to all available mailing lists if you want help.
2. check dmesg output after `service vz start` failed.

Kirill

KaMraN wrote:
> Hi,
> 
> I'm trying to install OpenVZ but I think its failed !
> 
> Can you please help me ?
> 
> [root at Ess000367 /]# /sbin/service vz start
> Running kernel is not OpenVZ kernel.                       [FAILED]
> 
> Why this happen ?
> 
> What should I do ?
> 
> Can you tell me step by step I want to install OpenVZ on CentOS Linux (
> Intel DUAL CORE E2140 ) ?
> 
> and I want to install it via YUM !
> 
> Please tell me YUM install ovzkernel-?????? ( I want the latest stable
> version )
> 
> and the configuration in grub and bootloader !
> 
> Is this correct ?
> 
> -----------------
> # 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/VolGroup00/LogVol00
> #          initrd /initrd-version.img
> #boot=/dev/sda
> default=0
> timeout=5
> splashimage=(hd0,0)/grub/splash.xpm.gz
> hiddenmenu
> title CentOS (2.6.18-8.1.15.el5.028stab047.1)
>         root (hd0,0)
>         kernel /vmlinuz-2.6.18-8.1.15.el5.028stab047.1 ro
> root=/dev/VolGroup00/$
>         initrd /initrd-2.6.18-8.1.15.el5.028stab047.1.img
> title CentOS (2.6.18-8.el5)
>         root (hd0,0)
>         kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00
>         initrd /initrd-2.6.18-8.el5.img
> 
> 
> title OpenVZ (2.6.8-022stab029.1)
>         root (hd0,0)
>         kernel /vmlinuz-2.6.8-022stab029.1 ro root=/dev/sda5
>         initrd /initrd-2.6.8-022stab029.1.img
> 
> --------------------
> 
> and sysctl ?
> 
> 
> --------------
> 
> # Kernel sysctl configuration file for Red Hat Linux
> #
> # For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
> # sysctl.conf(5) for more details.
> 
> # Controls IP packet forwarding
> net.ipv4.ip_forward = 1
> 
> # Controls source route verification
> net.ipv4.conf.default.rp_filter = 1
> 
> # Do not accept source routing
> net.ipv4.conf.default.accept_source_route = 0
> 
> # Controls the System Request debugging functionality of the kernel
> kernel.sysrq = 1
> 
> # Controls whether core dumps will append the PID to the core filename
> # Useful for debugging multi-threaded applications
> kernel.core_uses_pid = 1
> 
> # Controls the use of TCP syncookies
> net.ipv4.tcp_syncookies = 1
> 
> # Controls the maximum size of a message, in bytes
> kernel.msgmnb = 65536
> 
> # Controls the default maxmimum size of a mesage queue
> kernel.msgmax = 65536
> 
> # Controls the maximum shared segment size, in bytes
> kernel.shmmax = 4294967295
> 
> # Controls the maximum number of shared memory segments, in pages
> kernel.shmall = 268435456
> 
> net.ipv4.conf.default.send_redirects = 1
> net.ipv4.conf.all.send_redirects = 0
> 
> 
> -------------------
> 
> and I downloaded :
> http://download.openvz.org/template/precreated/contrib/centos-5-i386-default.tar.gz
> 
> what should I do next ?
> 
> Thank you



More information about the Users mailing list