FIX:- Can’t locate cPScript/SafeRun/Timed.pm

By: Published: Jan 29th, 2013 Category: Cpanel

Sometime on Cpanel while running /scripts/easyapache OR /scripts/upcp OR any other script which is provided by Cpanel gives following Error

Can't locate cPScript/SafeRun/Timed.pm in @INC (@INC contains: /usr/local/cpanel /scripts /usr/local/lib/perl5/5.8.8/x86_64-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/x86_64-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at /scripts/cPScript/CachedCommand.pm line 14.
BEGIN failed--compilation aborted at /scripts/cPScript/CachedCommand.pm line 14.
Compilation failed in require at /scripts/cPScript/DnsRoots.pm line 15.
BEGIN failed--compilation aborted at /scripts/cPScript/DnsRoots.pm line 15.
Compilation failed in require at /scripts/cPanelPerl.pm line 13.
BEGIN failed--compilation aborted at /scripts/cPanelPerl.pm line 13.
Compilation failed in require at /scripts/realperlinstaller line 18.
BEGIN failed--compilation aborted at /scripts/realperlinstaller line 18.

It mainly happens when server is running on an outdated OR Old version of WHM Release. If you have any another Cpanel server just copy /scripts/cPScript directory from there to the server facing problem (Make sure that the cpanel scripts are working there) OR Contact your hosting company to do it for you. After that just update the Cpanel using command /scripts/upcp –force .

About 

Milind Koyande loves to work on new technologies specially virtualization and troubleshoot server problems. I’m an avid photographer and love to spend my free time close to nature, trying to capture its glory on my camera.

Tags: , , , , , , ,

Leave a Reply

Subscribe to eITWebguru

© 2012 eITWebguru. All Rights Reserved.