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.

Update Script

Discussion in 'General Discussion' started by precise, Nov 25, 2001.

  1. precise

    precise Member

    Joined:
    Aug 13, 2001
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I am having trouble running any of the update scripts. For instance, when I attampt to run \"upcp\" I get the following errors:

    Can\'t call method \"login\" on an undefined value at /scripts/sysup line 39.
    Can\'t call method \"login\" on an undefined value at /scripts/rpmup line 20.
    /bin/sh: syntax error near unexpected token `2.0//EN\">\'
    /bin/sh: /bin/sh: line 1: `<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\'

    What does this mean?

    Thanks,
    Patrick
     
  2. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    What up.

    Sounds like either perl is hosed on your box or your entire environment is fux0red.... first before anything else, install the latest stable perl installation that Darkorb recommends, to clear up anything in that arena.

    http://layer1.cpanel.net/perl561installer.tar.gz

    .... If there are problems installing any of those modules/packages, you\'ve got bigger problems. U are running upcp as root, right?

    Peace.


    Travis
     
  3. precise

    precise Member

    Joined:
    Aug 13, 2001
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Yes, I am running it as root. Also, MySQL has failed and will not restart - I don\'t know if that may be a result of this problem, or a cause.

    errr..
     
  4. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    Mysql being hosed has nothing to do w/ the cpanel update thingy (upcp) running successfully or not. What changes were made on this box recently? I would get in touch with whomever your administrator(s) is/are to see what has occured.

    /var/log/messages will probably shed some light on things if services are beginning to fall apart. I would re-apply the perl package, and then layer1 and then layer2 for starters.... if failures run rampant you\'ll need to pinpoint what exactly is out of whack as far as packages/libraries and then reinstall/rebuild them and go through that procedure again until everything installs and runs correctly.


    Good luck!



    Travis
     
  5. feanor

    feanor Well-Known Member

    Joined:
    Aug 13, 2001
    Messages:
    836
    Likes Received:
    0
    Trophy Points:
    16
    Love Love Love.
    :P
     
Loading...

Share This Page