precise

Member
Aug 13, 2001
8
0
301
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
 

feanor

Well-Known Member
Aug 13, 2001
835
0
316
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
 

precise

Member
Aug 13, 2001
8
0
301
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..
 

feanor

Well-Known Member
Aug 13, 2001
835
0
316
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