cPanel upcp error : Undefined subroutine

I have seen recent cPanel upgrade throwing errors shown below:

root@server [~]# /scripts/upcp
/scripts/upcp syntax OK
Running Futex Check/Fix……Done
Undefined subroutine &Cpanel::Update::automatic_updates_enabled called at /scripts/upcp line 273.

This can be fixed using below steps.

wget -O /root/updatenow.static…datenow.static && perl /root/updatenow.static –manual

Now you will be able to upgrade the cPanel using upcp script.

/scripts/upcp –force

It worked for me.

One thought on “cPanel upcp error : Undefined subroutine”

  1. halu…

    used to be using that trick, but this one wont works, any clue ?

    —begin of quote—

    => Log opened from /usr/local/cpanel/scripts/maintenance at Tue Aug 2 17:26:19 2011
    [20110802.172619] Processing: Setting clock
    [20110802.172619] – Processing command `/usr/local/cpanel/scripts/rdate`
    [20110802.172619] Processing: Checking for immutable files
    [20110802.172619] – Processing command `/usr/local/cpanel/scripts/check_immutable_files`
    [20110802.172619] [174731] Not testing for immutable files, because the test was last run approximately 3 days ago (less than 10 days)
    [20110802.172619] Processing: Assuring OS package management system is setup properly
    [20110802.172619] – Processing command `/usr/local/cpanel/scripts/checksyspkgsetup`
    => Log closed Tue Aug 2 17:26:19 2011
    => Log opened from cPanel Update (upcp) – Slave at Tue Aug 2 17:26:19 2011
    [20110802.172619] E Maintenance ended, however it did not exit cleanly (65280). Please check the logs for an indication of what happened
    [20110802.172619] E Failed to send contact message
    [20110802.172619] cPanel update completed
    [20110802.172619] A log of this update is available at /var/cpanel/updatelogs/update.1312280767.log
    => Log closed Tue Aug 2 17:26:19 2011

    [1]+ Done /scripts/upcp –force

    —end of quote—


Leave a Reply

Your email address will not be published. Required fields are marked *