Re: [Users] Update Kernel
Greetings, - SD :: Ventas ven...@dedicados.com.mx wrote: i know my kernel has many bugs, so i want to know how to update it i do yum update ovzkernel ... and nothing yum update ovzkernel-PAE ... nothing im using right now 2.6.18-92.1.18.el5.028stab060.8PAE im on centos 5.4 32bit machine The current RHEL5-based OpenVZ kernel is: ovzkernel-2.6.18-164.2.1.el5.028stab066.10 You can find info here: http://wiki.openvz.org/Download/kernel/rhel5/028stab066.10 You are way, way behind. Why, I don't know. Check your repo defs out. TYL, -- Scott Dowdle 704 Church Street Belgrade, MT 59714 (406)388-0827 [home] (406)994-3931 [work] ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Update Kernel
restart needed or any data is gonna be erased??? thanks Scott Dowdle escribió: Greetings, - SD :: Ventas ven...@dedicados.com.mx wrote: i know my kernel has many bugs, so i want to know how to update it i do yum update ovzkernel ... and nothing yum update ovzkernel-PAE ... nothing im using right now 2.6.18-92.1.18.el5.028stab060.8PAE im on centos 5.4 32bit machine The current RHEL5-based OpenVZ kernel is: ovzkernel-2.6.18-164.2.1.el5.028stab066.10 You can find info here: http://wiki.openvz.org/Download/kernel/rhel5/028stab066.10 You are way, way behind. Why, I don't know. Check your repo defs out. TYL, -- Ing. Alejandro M. --- Hospedaje Web y Servidores Dedicados http://www.dedicados.com.mx --- ven...@dedicados.com.mx --- __ Informaci�n de ESET NOD32 Antivirus, versi�n de la base de firmas de virus 4786 (20100119) __ ESET NOD32 Antivirus ha comprobado este mensaje. http://www.eset.com ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Update Kernel
On Tue, 2010-01-19 at 11:27 -0600, SD :: Ventas wrote: i know my kernel has many bugs, so i want to know how to update it i do yum update ovzkernel ... and nothing yum update ovzkernel-PAE ... nothing Sounds like you don't have the RHEL openvz kernel repo enabled. Edit the file /etc/yum.repos.d/openvz.repo and look for the enabled line in this block: [openvz-kernel-rhel5] name=OpenVZ RHEL5-based kernel #baseurl=http://download.openvz.org/kernel/branches/rhel5-2.6.18/current/ mirrorlist=http://download.openvz.org/kernel/mirrors-rhel5-2.6.18 enabled=1 gpgcheck=1 gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ If enabled=0 that's the problem. Change it to 1 to enable it. im using right now 2.6.18-92.1.18.el5.028stab060.8PAE im on centos 5.4 32bit machine thanks. Mike -- Michael H. Warfield (AI4NB) | (770) 985-6132 | m...@wittsend.com /\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0x674627FF| possible worlds. A pessimist is sure of it! signature.asc Description: This is a digitally signed message part ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Update Kernel
Hi Mike, its enabled and is just like you paste in the email. so whats next?? yum update *** ?? Michael H. Warfield escribió: On Tue, 2010-01-19 at 11:27 -0600, SD :: Ventas wrote: i know my kernel has many bugs, so i want to know how to update it i do yum update ovzkernel ... and nothing yum update ovzkernel-PAE ... nothing Sounds like you don't have the RHEL openvz kernel repo enabled. Edit the file /etc/yum.repos.d/openvz.repo and look for the enabled line in this block: [openvz-kernel-rhel5] name=OpenVZ RHEL5-based kernel #baseurl=http://download.openvz.org/kernel/branches/rhel5-2.6.18/current/ mirrorlist=http://download.openvz.org/kernel/mirrors-rhel5-2.6.18 enabled=1 gpgcheck=1 gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ If enabled=0 that's the problem. Change it to 1 to enable it. im using right now 2.6.18-92.1.18.el5.028stab060.8PAE im on centos 5.4 32bit machine thanks. Mike ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users __ Información de ESET NOD32 Antivirus, versión de la base de firmas de virus 4786 (20100119) __ ESET NOD32 Antivirus ha comprobado este mensaje. http://www.eset.com -- Ing. Alejandro M. --- Hospedaje Web y Servidores Dedicados http://www.dedicados.com.mx --- ven...@dedicados.com.mx --- __ Informaci�n de ESET NOD32 Antivirus, versi�n de la base de firmas de virus 4786 (20100119) __ ESET NOD32 Antivirus ha comprobado este mensaje. http://www.eset.com ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Update Kernel
Greetings, Do a yum clean all and try again. Look in your logs. This is TOTALLY not OpenVZ specific. - SD :: Ventas ven...@dedicados.com.mx wrote: Hi Mike, its enabled and is just like you paste in the email. so whats next?? yum update *** ?? Michael H. Warfield escribió: On Tue, 2010-01-19 at 11:27 -0600, SD :: Ventas wrote: i know my kernel has many bugs, so i want to know how to update it i do yum update ovzkernel ... and nothing yum update ovzkernel-PAE ... nothing Sounds like you don't have the RHEL openvz kernel repo enabled. Edit the file /etc/yum.repos.d/openvz.repo and look for the enabled line in this block: [openvz-kernel-rhel5] name=OpenVZ RHEL5-based kernel #baseurl= http://download.openvz.org/kernel/branches/rhel5-2.6.18/current/ mirrorlist= http://download.openvz.org/kernel/mirrors-rhel5-2.6.18 enabled=1 gpgcheck=1 gpgkey= http://download.openvz.org/RPM-GPG-Key-OpenVZ If enabled=0 that's the problem. Change it to 1 to enable it. im using right now 2.6.18-92.1.18.el5.028stab060.8PAE im on centos 5.4 32bit machine thanks. Mike ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users __ Información de ESET NOD32 Antivirus, versión de la base de firmas de virus 4786 (20100119) __ ESET NOD32 Antivirus ha comprobado este mensaje. http://www.eset.com -- Ing. Alejandro M. --- Hospedaje Web y Servidores Dedicados http://www.dedicados.com.mx --- ven...@dedicados.com.mx --- __ Informaci�n de ESET NOD32 Antivirus, versi�n de la base de firmas de virus 4786 (20100119) __ ESET NOD32 Antivirus ha comprobado este mensaje. http://www.eset.com ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users -- Scott Dowdle 704 Church Street Belgrade, MT 59714 (406)388-0827 [home] (406)994-3931 [work] ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Update Kernel
On Tue, 2010-01-19 at 12:31 -0600, SD :: Ventas wrote: Hi Mike, its enabled and is just like you paste in the email. so whats next?? yum update *** ?? If that's the case, I would try downloading the rpm using yumdownloader. If you don't have it... yum install yum-utils Then... yum clean all yumdownloader ovzkernel Check the version it downloads. If it's wrong, then their repo is screwed. It it's right, run rpm ivh ovzkernel... See if that gives you any errors. DON'T run rpm -Uvh or it will uninstall the old one and I don't think you want to do that yet. Mike Michael H. Warfield escribió: On Tue, 2010-01-19 at 11:27 -0600, SD :: Ventas wrote: i know my kernel has many bugs, so i want to know how to update it i do yum update ovzkernel ... and nothing yum update ovzkernel-PAE ... nothing Sounds like you don't have the RHEL openvz kernel repo enabled. Edit the file /etc/yum.repos.d/openvz.repo and look for the enabled line in this block: [openvz-kernel-rhel5] name=OpenVZ RHEL5-based kernel #baseurl=http://download.openvz.org/kernel/branches/rhel5-2.6.18/current/ mirrorlist=http://download.openvz.org/kernel/mirrors-rhel5-2.6.18 enabled=1 gpgcheck=1 gpgkey=http://download.openvz.org/RPM-GPG-Key-OpenVZ If enabled=0 that's the problem. Change it to 1 to enable it. im using right now 2.6.18-92.1.18.el5.028stab060.8PAE im on centos 5.4 32bit machine thanks. Mike ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users __ Información de ESET NOD32 Antivirus, versión de la base de firmas de virus 4786 (20100119) __ ESET NOD32 Antivirus ha comprobado este mensaje. http://www.eset.com -- Ing. Alejandro M. --- Hospedaje Web y Servidores Dedicados http://www.dedicados.com.mx --- ven...@dedicados.com.mx --- __ Informacin de ESET NOD32 Antivirus, versin de la base de firmas de virus 4786 (20100119) __ ESET NOD32 Antivirus ha comprobado este mensaje. http://www.eset.com -- Michael H. Warfield (AI4NB) | (770) 985-6132 | m...@wittsend.com /\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0x674627FF| possible worlds. A pessimist is sure of it! signature.asc Description: This is a digitally signed message part ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Update Kernel
Mike i do what you say: [r...@ns ~]# yumdownloader ovzkernel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirror.steadfast.net * base: centos.mirrors.tds.net * extras: mirrors.bigtennetwork.com * openvz-kernel-rhel5: mirror.ubiquityservers.com * openvz-utils: mirror.ubiquityservers.com * updates: mirror.fdcservers.net extras 325/325 openvz-kernel-rhel5 | 951 B 00:00 openvz-kernel-rhel5/primary | 25 kB 00:00 openvz-kernel-rhel5 14/14 openvz-utils | 951 B 00:00 openvz-utils/primary | 5.8 kB 00:00 openvz-utils 26/26 updates | 1.9 kB 00:00 updates/primary_db | 416 kB 00:00 ovzkernel-2.6.18-164.2.1.el5.028stab066.10.i686.rpm | 19 MB 00:05 then [r...@ns ~]# rpm -ivh ovzkernel-2.6.18-164.2.1.el5.028stab066.10.i686.rpm Preparing...### [100%] package ovzkernel-2.6.18-164.2.1.el5.028stab066.10.i686 is already installed [r...@ns ~]# and if i chek on /boot/grub/grub.conf [r...@ns ~]# 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/VolGroup00/LogVol00 # initrd /initrd-version.img #boot=/dev/hda default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.18-164.10.1.el5PAE) root (hd0,0) kernel /vmlinuz-2.6.18-164.10.1.el5PAE ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-164.10.1.el5PAE.img title CentOS (2.6.18-164.2.1.el5.028stab066.10) root (hd0,0) kernel /vmlinuz-2.6.18-164.2.1.el5.028stab066.10 ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-164.2.1.el5.028stab066.10.img title CentOS (2.6.18-164.2.1.el5.028stab066.10PAE) root (hd0,0) kernel /vmlinuz-2.6.18-164.2.1.el5.028stab066.10PAE ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-164.2.1.el5.028stab066.10PAE.img title CentOS (2.6.18-92.1.18.el5.028stab060.8PAE) root (hd0,0) kernel /vmlinuz-2.6.18-92.1.18.el5.028stab060.8PAE ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-92.1.18.el5.028stab060.8PAE.img title OpenVz (2.6.18-92.1.18.el5.028stab060.2PAE) root (hd0,0) kernel /vmlinuz-2.6.18-92.1.18.el5.028stab060.2PAE ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-92.1.18.el5.028stab060.2PAE.img title OpenVzn (2.6.18-92.1.18.el5.028stab060.2) root (hd0,0) kernel /vmlinuz-2.6.18-92.1.18.el5.028stab060.2 ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-92.1.18.el5.028stab060.2.img title CentOS (2.6.18-92.el5PAE) root (hd0,0) kernel /vmlinuz-2.6.18-92.el5PAE ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-92.el5PAE.img [r...@ns ~]# -- Ing. Alejandro M. --- Hospedaje Web y Servidores Dedicados http://www.dedicados.com.mx --- ven...@dedicados.com.mx --- __ Informaci�n de ESET NOD32 Antivirus, versi�n de la base de firmas de virus 4787 (20100119) __ ESET NOD32 Antivirus ha comprobado este mensaje. http://www.eset.com ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Update Kernel
Greetings, - SD :: Ventas ven...@dedicados.com.mx wrote: Mike i do what you say: [r...@ns ~]# yumdownloader ovzkernel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirror.steadfast.net * base: centos.mirrors.tds.net * extras: mirrors.bigtennetwork.com * openvz-kernel-rhel5: mirror.ubiquityservers.com * openvz-utils: mirror.ubiquityservers.com * updates: mirror.fdcservers.net extras 325/325 openvz-kernel-rhel5 | 951 B 00:00 openvz-kernel-rhel5/primary | 25 kB 00:00 openvz-kernel-rhel5 14/14 openvz-utils | 951 B 00:00 openvz-utils/primary | 5.8 kB 00:00 openvz-utils 26/26 updates | 1.9 kB 00:00 updates/primary_db | 416 kB 00:00 ovzkernel-2.6.18-164.2.1.el5.028stab066.10.i686.rpm | 19 MB 00:05 then [r...@ns ~]# rpm -ivh ovzkernel-2.6.18-164.2.1.el5.028stab066.10.i686.rpm Preparing... ### [100%] package ovzkernel-2.6.18-164.2.1.el5.028stab066.10.i686 is already installed [r...@ns ~]# and if i chek on /boot/grub/grub.conf [r...@ns ~]# 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/VolGroup00/LogVol00 # initrd /initrd-version.img #boot=/dev/hda default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.18-164.10.1.el5PAE) root (hd0,0) kernel /vmlinuz-2.6.18-164.10.1.el5PAE ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-164.10.1.el5PAE.img title CentOS (2.6.18-164.2.1.el5.028stab066.10) root (hd0,0) kernel /vmlinuz-2.6.18-164.2.1.el5.028stab066.10 ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-164.2.1.el5.028stab066.10.img title CentOS (2.6.18-164.2.1.el5.028stab066.10PAE) root (hd0,0) kernel /vmlinuz-2.6.18-164.2.1.el5.028stab066.10PAE ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-164.2.1.el5.028stab066.10PAE.img title CentOS (2.6.18-92.1.18.el5.028stab060.8PAE) root (hd0,0) kernel /vmlinuz-2.6.18-92.1.18.el5.028stab060.8PAE ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-92.1.18.el5.028stab060.8PAE.img title OpenVz (2.6.18-92.1.18.el5.028stab060.2PAE) root (hd0,0) kernel /vmlinuz-2.6.18-92.1.18.el5.028stab060.2PAE ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-92.1.18.el5.028stab060.2PAE.img title OpenVzn (2.6.18-92.1.18.el5.028stab060.2) root (hd0,0) kernel /vmlinuz-2.6.18-92.1.18.el5.028stab060.2 ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-92.1.18.el5.028stab060.2.img title CentOS (2.6.18-92.el5PAE) root (hd0,0) kernel /vmlinuz-2.6.18-92.el5PAE ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-92.el5PAE.img [r...@ns ~]# Well that solves that. You have upgraded and upgraded... but not rebooted to switch kernels... or maybe you DID reboot but it still has the old kernel as the default. What I recommend you do is to remove any of the kernels you don't plan on using, and make sure your /etc/grub.conf is set to boot the kernel you want as default. I think the rpm package the OpenVZ project provides tries to update your grub.conf every time a new kernel is installed but it isn't always successful setting the new kernel to be default. SO... the lesson is, whenever you install a new kernel, make sure your /etc/grub.conf file is how you want it, then reboot if you want to switch kernels. TYL, -- Scott Dowdle 704 Church Street Belgrade, MT 59714 (406)388-0827 [home] (406)994-3931 [work] ___ Users mailing list Users@openvz.org https://openvz.org/mailman/listinfo/users
Re: [Users] Update Kernel
Michael H. Warfield escribió: On Tue, 2010-01-19 at 20:26 -0600, SD :: Ventas wrote: Scott Dowdle escribió: Greetings, - SD :: Ventas ven...@dedicados.com.mx wrote: Mike i do what you say: [r...@ns ~]# yumdownloader ovzkernel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirror.steadfast.net * base: centos.mirrors.tds.net * extras: mirrors.bigtennetwork.com * openvz-kernel-rhel5: mirror.ubiquityservers.com * openvz-utils: mirror.ubiquityservers.com * updates: mirror.fdcservers.net extras 325/325 openvz-kernel-rhel5 | 951 B 00:00 openvz-kernel-rhel5/primary | 25 kB 00:00 openvz-kernel-rhel5 14/14 openvz-utils | 951 B 00:00 openvz-utils/primary | 5.8 kB 00:00 openvz-utils 26/26 updates | 1.9 kB 00:00 updates/primary_db | 416 kB 00:00 ovzkernel-2.6.18-164.2.1.el5.028stab066.10.i686.rpm | 19 MB 00:05 then [r...@ns ~]# rpm -ivh ovzkernel-2.6.18-164.2.1.el5.028stab066.10.i686.rpm Preparing... ### [100%] package ovzkernel-2.6.18-164.2.1.el5.028stab066.10.i686 is already installed [r...@ns ~]# and if i chek on /boot/grub/grub.conf [r...@ns ~]# 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/VolGroup00/LogVol00 # initrd /initrd-version.img #boot=/dev/hda default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.18-164.10.1.el5PAE) root (hd0,0) kernel /vmlinuz-2.6.18-164.10.1.el5PAE ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-164.10.1.el5PAE.img title CentOS (2.6.18-164.2.1.el5.028stab066.10) root (hd0,0) kernel /vmlinuz-2.6.18-164.2.1.el5.028stab066.10 ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-164.2.1.el5.028stab066.10.img title CentOS (2.6.18-164.2.1.el5.028stab066.10PAE) root (hd0,0) kernel /vmlinuz-2.6.18-164.2.1.el5.028stab066.10PAE ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-164.2.1.el5.028stab066.10PAE.img title CentOS (2.6.18-92.1.18.el5.028stab060.8PAE) root (hd0,0) kernel /vmlinuz-2.6.18-92.1.18.el5.028stab060.8PAE ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-92.1.18.el5.028stab060.8PAE.img title OpenVz (2.6.18-92.1.18.el5.028stab060.2PAE) root (hd0,0) kernel /vmlinuz-2.6.18-92.1.18.el5.028stab060.2PAE ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-92.1.18.el5.028stab060.2PAE.img title OpenVzn (2.6.18-92.1.18.el5.028stab060.2) root (hd0,0) kernel /vmlinuz-2.6.18-92.1.18.el5.028stab060.2 ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-92.1.18.el5.028stab060.2.img title CentOS (2.6.18-92.el5PAE) root (hd0,0) kernel /vmlinuz-2.6.18-92.el5PAE ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-92.el5PAE.img [r...@ns ~]# Well that solves that. You have upgraded and upgraded... but not rebooted to switch kernels... or maybe you DID reboot but it still has the old kernel as the default. What I recommend you do is to remove any of the kernels you don't plan on using, and make sure your /etc/grub.conf is set to boot the kernel you want as default. I think the rpm package the OpenVZ project provides tries to update your grub.conf every time a new kernel is installed but it isn't always successful setting the new kernel to be default. SO... the lesson is, whenever you install a new kernel, make sure your /etc/grub.conf file is how you want it, then reboot if you want to switch kernels. TYL, ok, im gonna do that, but isnt problem if the kernel dont say PAE, i have 6gb ram on my server. Time OUT! I don't know when you rebooted last and when you last updated but it looks like the default boot (0) is a non-ovz kernel. If you look at entry #2 (third entry), isn't that the PAE ovzkernel you are looking for? Change default to 2 instead of 0 and then reboot. -- Ing. Alejandro M. --- Hospedaje Web y Servidores Dedicados http://www.dedicados.com.mx --- ven...@dedicados.com.mx --- __ Informacin de ESET NOD32 Antivirus, versin de la base de firmas de virus 4787