The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

insecure kernel (2.4.20-20.9)

Discussion in 'General Discussion' started by thomas81, Dec 14, 2003.

  1. thomas81

    thomas81 Member

    Joined:
    Sep 4, 2003
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Singapore
    Do anyone knows how to upgrade to latest version?
     
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    Do a search, its been talked about before. I would however, recommend hiring someone to secure /manage your server if you don't know what you are doing. Especially if you have clients on the server.
     
  3. hot_wired13

    hot_wired13 Active Member

    Joined:
    Oct 17, 2003
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    127.0.0.1
    easiest way for redhat = use up2date.
    else, download the rpm's manually from rpmfind.net and do it. or, the best option would be to hire someone (*hint* hire me) to keep ur box up to date...
     
  4. welo

    welo Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Login SSH as root, then type:
    Code:
    up2date --nox -f kernel
    This assumes you have a RedHat account already established though, so if you don't you'll need a few extra steps. No telling to what degree this will work once RH drops support for everything except REL, incidentally.
     
  5. heavypredator

    heavypredator Well-Known Member

    Joined:
    May 2, 2003
    Messages:
    93
    Likes Received:
    1
    Trophy Points:
    8
    my rh9 up2date dont see new kernel in packages list.
     
  6. 3w-hostconcept

    3w-hostconcept Well-Known Member

    Joined:
    Oct 27, 2003
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    France (Mouans Sartoux)
    Login SSH as root, then type:

    redhat 9

    up2date --nox -f kernel

    lilo -v -v

    reboot : shutdown -r now



    :D
     
  7. heavypredator

    heavypredator Well-Known Member

    Joined:
    May 2, 2003
    Messages:
    93
    Likes Received:
    1
    Trophy Points:
    8
    like i dont know

    anyway i found someone has upgraded it before me on rh9 hehe
     
  8. heavypredator

    heavypredator Well-Known Member

    Joined:
    May 2, 2003
    Messages:
    93
    Likes Received:
    1
    Trophy Points:
    8
    now im getting

    root@xx [~]# rpm -ivh --replacepkgs kernel-2.4.20-24.9.i686.rpm
    Preparing... ########################################### [100%]
    1:kernel ########################################### [100%]
    stdin: is not a tty
    stdin: is not a tty
    stdin: is not a tty
    grubby fatal error: unable to find a suitable template
    root@xx [~]#

    and after reboot the same kernel as before - no upgrade

    anyone seen something like this?
     
  9. chrisbuk

    chrisbuk Well-Known Member
    PartnerNOC

    Joined:
    Dec 7, 2003
    Messages:
    393
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Liverpool, United Kingdom
    cPanel Access Level:
    DataCenter Provider
    i seen exact same message
     
  10. chrisbuk

    chrisbuk Well-Known Member
    PartnerNOC

    Joined:
    Dec 7, 2003
    Messages:
    393
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Liverpool, United Kingdom
    cPanel Access Level:
    DataCenter Provider
    i rebooted server and the error message has now gone in WHM so it must of updated,
     
  11. heavypredator

    heavypredator Well-Known Member

    Joined:
    May 2, 2003
    Messages:
    93
    Likes Received:
    1
    Trophy Points:
    8
    its grub error - its not adding new kernel to config

    i have added it manually and it rebooted with new kernel
     
  12. saver0

    saver0 Member

    Joined:
    Jul 18, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    How did you edit it?

    Can u please give me some instructions?

    Thanks
     
  13. heavypredator

    heavypredator Well-Known Member

    Joined:
    May 2, 2003
    Messages:
    93
    Likes Received:
    1
    Trophy Points:
    8
    ok i have manually added these lines at first place where there were old kernels entries

    be shure to check that you have files for new kernel in /boot

    title Red Hat Linux (2.4.20-24.9)
    root (hd0,0)
    kernel (hd0,0)/vmlinuz-2.4.20-24.9 ro root=LABEL=/
    initrd (hd0,0)/initrd-2.4.20-24.9.img

    to my /etc/grub.conf and /boot/grub/grub.conf
     
  14. thomas81

    thomas81 Member

    Joined:
    Sep 4, 2003
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Singapore
    I just submit a trouble ticket to servermatrix and they fix for me very quickly in couple of hours.
     
  15. Luke87

    Luke87 Member

    Joined:
    Dec 16, 2003
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    hours? I fixed it in under 5 minutes

    cd /

    wget ftp://updates.redhat.com/9/en/os/i686/kernel-2.4.20-24.9.i686.rpm

    rpm -ivh kernel-2.4.20-24.9.i686.rpm

    (after that you may get a few errors)

    edit /boot/grub/grub.conf

    it should look something like this:

    default=0
    timeout=10
    splashimage=(hd0,0)/boot/grub/splash.xpm.gz
    title Red Hat Linux (2.4.20-24.9)
    root (hd0,0)
    kernel /boot/vmlinuz-2.4.20-24.9 ro root=/dev/hda1
    initrd /boot/initrd-2.4.20-24.9.img

    once you have changed it to something like that to boot the new kernel, save that and then reboot the server

    you have now upgraded to the new kernel.. check whm to see if it has after the reboot.

    Luke.
     
  16. tsook

    tsook Well-Known Member

    Joined:
    Mar 21, 2003
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    up2date command not working, what now? RH 7.3
     
  17. heavypredator

    heavypredator Well-Known Member

    Joined:
    May 2, 2003
    Messages:
    93
    Likes Received:
    1
    Trophy Points:
    8
    type rhn_register

    then fill in everything
    after done up2date should work
     
  18. tsook

    tsook Well-Known Member

    Joined:
    Mar 21, 2003
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Hmm :confused:

    root@host [/]# rhn_register
    bash: rhn_register: command not found
    root@host [/]#
     
  19. Luke87

    Luke87 Member

    Joined:
    Dec 16, 2003
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    why not use my way? its easier and you dont have to signup
     
  20. tsook

    tsook Well-Known Member

    Joined:
    Mar 21, 2003
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    This is my first time :) kernel upgrade, it must not go wrong.

    How do i know whitch procesor i have i586 i686?
     
Loading...

Share This Page