Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Aug 2001
    Posts
    8

    Default Update Script

    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. #2
    Member
    Join Date
    Aug 2001
    Posts
    839

    Default

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


    http://www.fastservers.net/

    travis@fastservers.net
    ..............................

  3. #3
    Member
    Join Date
    Aug 2001
    Posts
    8

    Default

    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. #4
    Member
    Join Date
    Aug 2001
    Posts
    839

    Default

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


    http://www.fastservers.net/

    travis@fastservers.net
    ..............................

  5. #5
    Member
    Join Date
    Aug 2001
    Posts
    839

    Default

    Love Love Love.
    :P
    ..............................


    http://www.fastservers.net/

    travis@fastservers.net
    ..............................

Similar Threads & Tags
Similar threads

  1. Kernel update script?
    By Kelmas in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-21-2007, 05:13 AM
  2. [Ask] Manual Update Addon Script ?
    By capoeng2004 in forum cPanel Developers
    Replies: 14
    Last Post: 05-08-2006, 03:49 PM
  3. Broken CGI script since update
    By wilfried in forum cPanel and WHM Discussions
    Replies: 28
    Last Post: 07-08-2005, 04:06 PM
  4. /script to update contact info
    By h2oski in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-20-2004, 07:38 PM
  5. script file desapeared after last stable update !!!
    By manokiss in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-28-2003, 09:09 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube