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 .

 FIX:  Cant locate cPScript/SafeRun/Timed.pm

About 

Milind Koyande is a Project Manager and his job is to work with new technologies, specially Cloud Computing / Virtualization Technology. His past projects include Government Sector initiatives, Backup and Disaster Recovery Solutions.

Tags: , , , , , , ,

Leave a Reply

Subscribe to eITWebguru

© 2012 eITWebguru. All Rights Reserved.