Bashar
01-07-2004, 10:18 PM
i'm having hard time to upgrade kernel for dualsfor some reason, does nayone have a good way todo it ?
box runs cpanel btw..
Thanks in advance.
box runs cpanel btw..
Thanks in advance.
![]() | View Full Version : the way to upgrade rackshack's dual box kernel? Bashar 01-07-2004, 10:18 PM i'm having hard time to upgrade kernel for dualsfor some reason, does nayone have a good way todo it ? box runs cpanel btw.. Thanks in advance. Steven 01-07-2004, 10:19 PM http://forum.ev1servers.net/showthread.php?threadid=25297 check that out daveman 01-07-2004, 10:50 PM Just wget the smp kernel rpm. Install it with rpm -ivh and then check your lilo.conf to make sure it is altered correctly. Run lilo -v -v to confirm and then reboot. Upgraded the kernel a few times this way with 0 problems. I know people do the upgrade via up2date but I've found it simpler to just do it manually. Bashar 01-07-2004, 11:01 PM did exactly what is said in rackshack forum, box is dead now! damn this is the 3rd time *sigh* Steven 01-07-2004, 11:09 PM Originally posted by daveman Just wget the smp kernel rpm. Install it with rpm -ivh and then check your lilo.conf to make sure it is altered correctly. Run lilo -v -v to confirm and then reboot. Upgraded the kernel a few times this way with 0 problems. I know people do the upgrade via up2date but I've found it simpler to just do it manually. m8 wrong that not always works. sprintserve 01-07-2004, 11:29 PM If the rpms isn't working for you, you may have to try compiling it from sources. But that can be rather risky if you don't know exactly what hardware you are using (which usually is the case) Why don't you try paying the data center to do it for you? Also did you ask the datacenter to boot it and watch it from console to read you the error message? That's a lot better than groping in the dark wondering what's wrong. As for us, all our duals upgraded fine using up2date or manual installation of the rpms. Also you may be using grub instead of lilo. So do check out the configs for both. Grub is in /boot/grub/grub.conf while lilo is usually in /etc/lilo.conf If you use lilo make sure to run /sbin/lilo to update the new configs. Bashar 01-07-2004, 11:53 PM i think i got whats wrong lilo.conf had an entry with wrong entries. but now when i do lilo -v -v it gives me this error: root@server [/rpm2]# lilo -v -v LILO version 21.4-4, Copyright (C) 1992-1998 Werner Almesberger 'lba32' extensions Copyright (C) 1999,2000 John Coffman Reading boot sector from /dev/sda Merging with /boot/boot.b Secondary loader: 11 sectors. Mapping message file /boot/message Message: 46 sectors. Boot image: /boot/vmlinux-2.4.20-18.7smp Setup length is 4 sectors. Fatal: Kernel /boot/vmlinux-2.4.20-18.7smp is too big Removed temporary file /boot/map~ too big ?! okihost 01-08-2004, 02:36 AM Originally posted by Bashar Boot image: /boot/vmlinux-2.4.20-18.7smp ouch! net-trend 01-08-2004, 03:39 AM Most cPanel servers use GRUB, are you sure you are really using LILO on yours? Also, since this is the 3rd time it's happened to you, why not pay some money and have the techs or an experienced admin do the kernel upgrade for you? Saves yourself a lot of pain. Steven 01-08-2004, 03:51 AM All of my cpanel servers use lilo stock sprintserve 01-08-2004, 06:32 AM You shouldn't be using that kernel since that's quite old. Do you want me to help you take a quick look? Also do consider asking the data center to look at the problem since sometimes, it's tough remotely. choon 01-08-2004, 07:33 AM Hi Bashar, Ask your provider to do it for you is the best way to upgrade kernel... IMO For me, I always compile/install kernel from source. For grub, I would suggest adding in fallback #number while you edit the default #new number... in some extend it did boot up with the old kernel which I have set in the fallback kernel when the new default kernel can't be booted up. I haven't done much testing on this but it did work out from my desktop... if the default boot failed, it will boot to the fallback kernel... so anyone can verify this since I hardly use grub as boot loader. ( sorry for my poor english :( ) For lilo, I would suggest you use lilo -R newkernel before setting that as your default boot kernel just in case. Anything wrong you can simply reboot and the server will be booted with the default old kernel until you have tested it can boot to the new kernel without any error then set it as the default kernel. net-trend, my experience is most of my resell WHM/Cpanel servers use LILO though. Just my thoughts. Bashar 01-08-2004, 10:06 AM well box is at rackshack they dont do upgrades for kernels. they just told me if i wish to have a box restore because box is not bootable! thats the only bad thing about rackshack. Thanks god box is new and has no data, so restore isn't a problem except the $$ :| net-trend 01-08-2004, 11:07 AM Originally posted by choon net-trend, my experience is most of my resell WHM/Cpanel servers use LILO though. Hmm, my experience so far in 2 different datacenters is with GRUB. So I guess it's an incorrect assumption on my part. |