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.

upcp isn't working anymore

Discussion in 'General Discussion' started by megabithosting, Aug 16, 2003.

  1. megabithosting

    Joined:
    Jul 15, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Today i wanted to update my 7.4.0-STABLE_52 to the latest stable version because of the security issue.

    So the upgrading began and I was working on another cpanel/whm box and unfortunatly I made a mistake and clicked an item in the menu of the box which was upgrading :(

    Now if I try to do the update again on that box i just hangs after this message:


    PHP version file is up to date
    Doing a manual update...
    Cpanel updates are coming from layer2.cpanel.net
    Locking password for user daemon.
    passwd: Success



    The same if i do
    scripts/upcp

    from my console..

    I also tried updating the scripts with
    scripts/updatenow

    But it doesn't solve the problem... anybody knows what to do??

    cPanel.net Support Ticket Number:
     
  2. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    What's in /etc/resolv.conf ?

    cPanel.net Support Ticket Number:
     
  3. megabithosting

    Joined:
    Jul 15, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1

    domain cpanel.megabithosting.nl
    search cpanel.megabithosting.nl
    nameserver 127.0.0.1
    nameserver ipofmyothernameserver
    nameserver ipofmyprovidernameserver



    As you can see.. this looks good.. :S

    cPanel.net Support Ticket Number:
     
  4. megabithosting

    Joined:
    Jul 15, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    I think it stuck on the sysup script... but i'm not sure..

    If only there was a logfile which documented what went wrong.. :(

    cPanel.net Support Ticket Number:
     
  5. Higgins

    Higgins Well-Known Member

    Joined:
    Jan 31, 2003
    Messages:
    82
    Likes Received:
    0
    Trophy Points:
    6
    We had the same issue for 2 Weeks or so. Try to rebuild the RPM Database in WHM. Thats fixed it for us.

    cPanel.net Support Ticket Number:
     
  6. megabithosting

    Joined:
    Jul 15, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    How long does this normally take? I'm waiting for 15 minutes now.. and it just says this:


    D: rebuilding database /var/lib/rpm into /var/lib/rpmrebuilddb.21349
    D: creating directory /var/lib/rpmrebuilddb.21349
    D: opening old database with dbapi 3
    D: opening db environment /var/lib/rpm/Packages joinenv


    cPanel.net Support Ticket Number:
     
  7. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    That is incorrect. It should be:

    domain cpanel.megabithosting.nl
    search cpanel.megabithosting.nl
    nameserver MAIN-SERVER-IP
    nameserver BACKUP-NAMESERVER-IP
    nameserver ANOTHER-BACKUP-NAMESERVER-IP

    cPanel.net Support Ticket Number:
     
  8. megabithosting

    Joined:
    Jul 15, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Well... I fixed the problem by doing a manual rpm database rebuild on my Redhat 9 box.


    rm -f /var/lib/rpm/__db*
    rpm -vv --rebuilddb


    So if you cancel an upgrade and nothing else works including rebuilding your rpm database in WHM... try this. Worked for me.. my box is upgrading to the newest version again.

    cPanel.net Support Ticket Number:
     
  9. megabithosting

    Joined:
    Jul 15, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Well.. it isn't wrong really because I point the first one to my localhost which the nameserver is running on also. So it doens't matter if you use you localhost ip or your main server ip.

    cPanel.net Support Ticket Number:
     
  10. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    Yeah actually it does matter if you use the loop back interface or not. And the second & third entries should not be hostnames...the point of the resolv.conf is to resolve hostnames not have them in the file itself.

    cPanel.net Support Ticket Number:
     
  11. megabithosting

    Joined:
    Jul 15, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    So that's why I am using ip's :)

    Anyway.. the resolv.conf wasn't the problem but the rpm database was ;) Thnx

    cPanel.net Support Ticket Number:
     
  12. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    Right...anyways...it's apparent you don't know how to admin a machine. I feel sorry for any site on your box.

    cPanel.net Support Ticket Number:
     
  13. sexy_guy

    sexy_guy Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    848
    Likes Received:
    0
    Trophy Points:
    16
    Whats resolv.conf got to do with anything? :rolleyes:

    cPanel.net Support Ticket Number:
     
  14. megabithosting

    Joined:
    Jul 15, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    ??? :confused:

    Stepped out of bed with your wrong leg m8? :) Go pick on someone else.. I'm not here to argue with you :mad:

    cPanel.net Support Ticket Number:
     
  15. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    hhhmmm let's see....upcp stalls out....why would that happen...oh yeah...the box can't resolve shit or the box is on a shitty network.

    cPanel.net Support Ticket Number:
     
  16. sexy_guy

    sexy_guy Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    848
    Likes Received:
    0
    Trophy Points:
    16
    resolv.conf has nothing to do with anything. Here we go another drip who throws the line " You dont know how to lalalalal" ye we know. Maybe you should be the one taking a crash course in adminstration here. Moron!

    cPanel.net Support Ticket Number:
     
  17. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    Why don't you use the search button at the top and key in my username. Read my posts, you might actually learn something.

    I'm serious...if you actually think that I don't know what I'm talking about...read my posts on this forum.

    cPanel.net Support Ticket Number:
     
  18. megabithosting

    Joined:
    Jul 15, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    That could have been the problem.. but it wasn't :) as you can see I fixed it :rolleyes:

    cPanel.net Support Ticket Number:
     
  19. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    Sleep is for the weak ;) Not arguing or picking on anyone...you didn't seem receptive to being told that the loop back interface wasn't cool (it creates dns cache, etc.) and will cause issues and yes...I did read over the last two lines in your resolv.conf file...

    hey shit happens your box is running now...everyone is happy.

    cPanel.net Support Ticket Number:
     
  20. megabithosting

    Joined:
    Jul 15, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    OMG! :eek:

    This is going to far now.... I thought this was a forum for Cpanel issues... now it's getting to personal IMO.
    Please close the thread.

    I'm going back to work now... don't have time for this noncense :(

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page