Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
cpanel:upcp-perl-error [2010-12-27 09:33:10]
garrett.plasky created
cpanel:upcp-perl-error [2012-06-04 14:47:59]
garrett.plasky Approved
Line 1: Line 1:
 ===== Upcp Script Throws "​Undefined Subroutine"​ Perl Error ===== ===== Upcp Script Throws "​Undefined Subroutine"​ Perl Error =====
  
-Normally upcp is used as a fix-all ​for cPanel related problems, but what happens when upcp itself has a problem? If you're seeing an error like the one below when running this script, then continue reading!+Normally upcp is used as a silver bullet ​for many cPanel-related problems, but what happens when upcp itself has a problem? If you're seeing an error like the one below when running this script, then continue reading!
  
 <sxh plain>​root@server [~]# /​scripts/​upcp <sxh plain>​root@server [~]# /​scripts/​upcp
Line 10: Line 10:
 The fix here is to grab a static update script from cPanel'​s mirror which will re-link and fix any critical cPanel Perl modules that are broken or missing. Bash one-liner to follow: The fix here is to grab a static update script from cPanel'​s mirror which will re-link and fix any critical cPanel Perl modules that are broken or missing. Bash one-liner to follow:
  
-<code console>wget -O /​root/​updatenow.static http://​httpupdate.cpanel.net/​cpanelsync/​RELEASE/​scripts/​updatenow.static \ +<sxh plain; auto-links: false>wget -O /​root/​updatenow.static http://​httpupdate.cpanel.net/​cpanelsync/​RELEASE/​scripts/​updatenow.static \ 
- &&​ perl /​root/​updatenow.static --manual</​code>+ &&​ perl /​root/​updatenow.static --manual</​sxh>
  
 Once complete, run <​c>/​scripts/​upcp --force</​c>​ again. Once complete, run <​c>/​scripts/​upcp --force</​c>​ again.
  
 {{tag>​cpanel perl}} {{tag>​cpanel perl}}