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.

/scripts/upcp failing 'Waiting for transaction lock'

Discussion in 'General Discussion' started by djblamire, Dec 2, 2008.

  1. djblamire

    djblamire Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    /scripts/upcp failing - Freezing part way through

    I've killed off a couple of upcp processes that had become locked, and re-ran /scripts/upcp from SSH.

    It starts and then just stops at:

    "warning: waiting for transaction lock on /var/lib/rpm/__db.000"

    Any ideas what would cause this ??

    Thanks in advance,

    Daniel
     
    #1 djblamire, Dec 2, 2008
    Last edited: Dec 2, 2008
  2. apscinsspl

    apscinsspl Well-Known Member

    Joined:
    Mar 15, 2008
    Messages:
    112
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    For this issue you have to try rebuilding the RPM database, this will fix the issue.
     
  3. djblamire

    djblamire Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    Thanks,

    I've tried that and it gets further but now freezes at the line:

    "ftpserver started ok"

    I do notice that higher up there is a line that reads:

    Using newyum support.
    Cannot find a valid baseurl for repo: updates-released
    Error: Cannot find a valid baseurl for repo: updates-released

    I'm not sure if this is anything to do with it.

    Any ideas ?

    Thanks
    Daniel
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Sounds like your YUM configuration is corrupt or missing. Check the contents of /etc/yum.conf and /etc/yum.repos.d. Which version of CentOS/Fedora/RHEL are you using?
     
Loading...

Share This Page