cPanel : UPCP error : Undefined subroutine &Cpanel::Update::automatic_updates_enabled called at /scripts/upcp line 273

When you try to upgrade cpanel using upcp,you may get the following result as output

# /scripts/upcp --force

/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 :

# wget -O /root/updatenow.static http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/updatenow.static && perl /root/updatenow.static --manual

After that Upgrade the cPanel :

# /scripts/upcp --force


Note:- You may get the following error when you try to run /scripts/restartsrv_tailwatchd

Service Check Method: [check command] Can't locate Cpanel/Proc.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel /scripts /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /scripts/RestartSrv.pm line 15.
BEGIN failed--compilation aborted at /scripts/RestartSrv.pm line 15.
Compilation failed in require at /scripts/restartsrv_tailwatchd line 9.
BEGIN failed--compilation aborted at /scripts/restartsrv_tailwatchd line 9.

To solve the error, Just update cpanel
# /scripts/upcp --force

Leave a Reply