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.

kernel not updated by up2date means OS reinstall

Discussion in 'General Discussion' started by TheNatural, Sep 4, 2003.

  1. TheNatural

    TheNatural Registered

    Joined:
    Sep 3, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    my trouble:

    These are the steps I followed
    1) under SSH, I ran "up2date --nox -f kernel" :
    it was useless and I got "stdin: is not a tty" but after reboot, no update
    :mad:

    then ..
    2) I run "up2date --configure" and I made sure item 8 (retrieve only) is set to yes
    item 24 (pkgskiplist) is blank and save the changes.


    0. storageDir /var/spool/up2date
    1. networkSetup Yes
    2. headerCacheSize 40
    3. httpProxy
    4. debug No
    5. useGPG Yes
    6. networkRetries 5
    7. removeSkipList ['kernel*']
    8. retrieveOnly Yes
    9. enableProxy No
    10. keepAfterInstall No
    11. proxyPassword
    12. gpgKeyRing /etc/sysconfig/rhn/up2date-keyring.gpg
    13. proxyUser
    14. headerFetchCount 10
    15. versionOverride
    16. useNoSSLForPackage No
    17. enableProxyAuth No
    18. noSSLServerURL http://xmlrpc.rhn.redhat.com/XMLRPC
    19. noReplaceConfig Yes
    20. sslCACert /usr/share/rhn/RHNS-CA-CERT
    21. noBootLoader No
    22. systemIdPath /etc/sysconfig/rhn/systemid
    23. serverURL https://xmlrpc.rhn.redhat.com/XMLRPC
    24. pkgSkipList []
    25. adminAddress ['root@localhost']
    26. forceInstall No
    27. fileSkipList []
    28. retrieveSource No

    3) I run "up2date -u"
    4) I change to "cd /var/spool/up2date" and run "rpm -ihv ker*"
    5) /etc/grub.conf was already default=0
    6) Reboot
    7) but still keep "You are running an insecure kernel (2.4.18-19.7.x). You should upgrade to a newer version as soon as possible to avoid your system being compromised. "



    8)then I asked my NOC to take care of this and the answer was
    "Something funny is going on with grub. The grub screen looks nothing like the grub.conf file says it should. On the grub screen only two kernels appear and one of them is not in the grub.conf file. I looked around the system to try to find where grub is picking up the strange configuration from but can't find it.

    Right now you are booting into 18-19.7.x kernel.

    Sorry but I don't know what is wrong. To fix it I can only offer an OS reinstall.

    ...

    Currently you are running 18-19.7.x. You do have 20-20.7 installed on your system and your grub.conf file is setup correctly but when grub runs it isn't displaying that information.

    ...
    to redo your os you would need to add a 3rd drive (-my note: we have two disks on RAID), then do the cpanel backups to that drive. then redo os, then restore from cpanel backups - yes there would be a good amount of downtime involved. If you were to get hacked you would lose all data too just so you know.

    If you want you can just leave things as they are right now and not worry about upgrading the kernel"


    My NOC is skilled but I'm a little worried about this. Did you face anything similar? Any suggestion? :confused:

    Paris
    (yes...I'm not Roy Hobbs!:)

    cPanel.net Support Ticket Number:
     
    #1 TheNatural, Sep 4, 2003
    Last edited: Sep 4, 2003
  2. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    Hire a system admin to do your kernel by hand...it will be 100 times easier and they can probably fix any issues with your machine in the meantime as well.

    cPanel.net Support Ticket Number:
     
  3. perlchild

    perlchild Well-Known Member

    Joined:
    Sep 1, 2002
    Messages:
    279
    Likes Received:
    0
    Trophy Points:
    16
    sounds like two copies of grub, and the wrong grub is in control
    tried /usr/sbin/grub-install ?

    cPanel.net Support Ticket Number:
     
  4. Angel78

    Angel78 Well-Known Member

    Joined:
    May 9, 2002
    Messages:
    413
    Likes Received:
    1
    Trophy Points:
    16
    check grub.conf and see what is shown at default=0 or 1 sometimes it leaves the old value (old kernel)

    cPanel.net Support Ticket Number:
     
  5. TheNatural

    TheNatural Registered

    Joined:
    Sep 3, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    it was default=0

    Well, It was default=0 when I cheked /etc/grub.conf before rebooting.
    do you think writing default=1 will solve the trouble?

    cPanel.net Support Ticket Number:
     
  6. TheNatural

    TheNatural Registered

    Joined:
    Sep 3, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    no more suggestions?

    am I the only one with this kind of trouble?

    cPanel.net Support Ticket Number:
     
  7. TheNatural

    TheNatural Registered

    Joined:
    Sep 3, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    ok: I would pay for this

    people: I will pay the guy that will solve this

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page