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.

UPGRADE KERNEL with up2date

Discussion in 'General Discussion' started by tekdns, Mar 19, 2003.

  1. tekdns

    tekdns Well-Known Member

    Joined:
    Jun 9, 2002
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    How to upgrade to latest kernel vesion on RH7.3?

    Thanks
     
  2. kwimberl

    kwimberl Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    16
    up2date -fu
     
  3. bmcpanel

    bmcpanel Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    546
    Likes Received:
    0
    Trophy Points:
    16
    How smoothly does the up2date rpm handle the kernel? I have heard that kernel upgrades can be disasterous if not done properly.
     
  4. WeMasterz5

    WeMasterz5 Well-Known Member

    Joined:
    Feb 24, 2003
    Messages:
    361
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Miami
    I done it this way and seen no problems at all running RH 8.0


    up2date --nox -f kernel
     
  5. bmcpanel

    bmcpanel Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    546
    Likes Received:
    0
    Trophy Points:
    16
  6. JapAniManga.ch

    JapAniManga.ch Well-Known Member

    Joined:
    Aug 11, 2001
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Switzerland
    I updatet with your command two (2) RH7.3 Servers (1 Celeron, 1 AMD XP) and anything went very well ! thanks for the tip :cool:
     
  7. Deltax

    Deltax Guest

    Why does up2date asks me to register?
     
  8. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    :eek: :rolleyes:
     
  9. Deltax

    Deltax Guest

    I already registered, but it doesnt want to update!:D :confused:

    ----------

    up2date --nox -f kernel

    Fetching package list for channel: redhat-linux-i386-7.3...
    ########################################

    Fetching Obsoletes list for channel: redhat-linux-i386-7.3...
    ########################################

    Testing package set / solving RPM inter-dependencies...
    ########################################
    kernel-2.4.18-27.7.x.i686.r ########################## Done.
    Preparing... ########################################### [100%]

    Installing...
    1:kernel ########################################### [100%]
    stdin: is not a tty
    stdin: is not a tty
    stdin: is not a tty
     
  10. JapAniManga.ch

    JapAniManga.ch Well-Known Member

    Joined:
    Aug 11, 2001
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Switzerland
    this looks good and it should made a backup of old kernel but its the best when you control it. from this point now - reboot the server and then the new kernel is active !
     
  11. sqsisa

    sqsisa Well-Known Member

    Joined:
    Apr 8, 2003
    Messages:
    97
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Bay Area, CA
    Are you guys saying open a shell, go to the dir with up2date and type: up2date --nox -f kernel

    I tried this and it says:

    root@cpanel [/usr/share/doc/pam_krb5-1.55/krb5afs-pam.d]# up2date --nox -f kernel
    bash: up2date: command not found

    Help! I got a msg from cPanel last night:
    kernelcheck
    cpanel has an old kernel (2.4.16-010stab017.5.777-smp)

    I assume that this mean that I need to update my kernel.

    Forgive my ignorance I am new to Linux and cPanel.

    Any help would be greatly appreciated.
     
  12. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Dan,

    Don't go to the up2date directory. Type the command at the prompt as soon as you log in.
     
    #12 casey, Apr 9, 2003
    Last edited: Apr 9, 2003
  13. sqsisa

    sqsisa Well-Known Member

    Joined:
    Apr 8, 2003
    Messages:
    97
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Bay Area, CA
    There is no up2date dir. That was the path that it was in. I shot a message to the host and they said cPanel was giving me msgs about the kernel version because they installed a custom kernel. So, no worries..... ;)

    God this is killing me! I have used HP MPE/ix for years, and the commands and dir structure is different enough that I might as well not have any experiance at all. I got spoiled with all of the GUI in NT server. It would be nice if it was truely stable and not such a resource hog.

    I think I am going to grab Linux, BASH, BIND and SendMail and install them on a box at work in my office. That way I can play and learn in a safe environment.

    Oh well this is fun. I love learning new OS and Apps.:D

    Thanks for your help and kindness to a newbie Casey. Wow I'm a newbie again! :confused: Dohhhh!
     
  14. goodmove

    goodmove Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    Does the "up2date --nox -f kernel" command ask for any input during the kernel upgrade?
     
  15. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    No.

    cPanel.net Support Ticket Number:
     
  16. FusionBiz

    FusionBiz Member

    Joined:
    Sep 17, 2002
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I type up2date --nox -f kernel on the command line but it show
    bash: /scripts/up2date: No such file or directory

    Pls advise ... what command line should I type before typing up2date --nox -f kernel as I'm new to using SSH.

    Thank you

    cPanel.net Support Ticket Number:
     
  17. Bert W

    Bert W Member

    Joined:
    Mar 2, 2003
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    I did the following and got this result

    root@bert [~]# up2date --nox -f kernel

    Fetching package list for channel: redhat-linux-i386-8.0...
    ########################################

    Fetching Obsoletes list for channel: redhat-linux-i386-8.0...
    ########################################

    Testing package set / solving RPM inter-dependencies...
    ########################################
    kernel-2.4.20-19.8.i686.rpm ########################## Done.
    Preparing ########################################### [100%]

    Installing...
    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

    cPanel.net Support Ticket Number:
     
  18. JCave

    JCave Well-Known Member

    Joined:
    Feb 19, 2003
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    Everyone that used this command back in march, is your systems still operational? I used the same command on RedHat 7.3 before and about 2 weeks later the system just went to hell. It started by some program faults, then it went to a full blown kernel fault. Then it got to the point the box wouldnt start anymore. The last thing installed on the box was the kernel update.


    FusionBiz: up2date is a RedHat command. Not a CPanel script. Just type up2date --nox -f kernel or /usr/sbin/up2date --nox -f kernel


    Peace Out.

    cPanel.net Support Ticket Number:
     
  19. bmcpanel

    bmcpanel Well-Known Member

    Joined:
    Jun 1, 2002
    Messages:
    546
    Likes Received:
    0
    Trophy Points:
    16
    If you get the "up2date not found" message, go to WHM and install it under "SOFTWARE::Install An RPM".

    cPanel.net Support Ticket Number:
     
  20. JapAniManga.ch

    JapAniManga.ch Well-Known Member

    Joined:
    Aug 11, 2001
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Switzerland
    I using 'up2date --nox -f kernel' since last Year on two RH7.3 Maschines and had no Problems with it.

    Note: First you need to Register your Maschine for RH-RHN -) http://rhn.redhat.com/ !
     
Loading...

Share This Page