: ERRORGeneric

Welcome :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

Error: An Error Occurred While Processing This Directive


This is the most generic error message in cPanel. You might see this when a user account loads the cPanel main screen, or you might see it when performing any particular function in WHM. Fortunately, it's probably the easiest to diagnose and fix.


Step 1: Look at the logs

You'll need to login to the server as root via SSH.
You'll need to scan the cPanel error log for errors. You can usually use tail to get the most recent error.

tail -n 20 /usr/local/cpanel/logs/error_log


and you'll be looking for a line similar to:

 Can't locate Class/Std.pm in @INC (@INC contains: /usr/local/cpanel /usr/lib/perl5/5.8.7/x86_64-linux /usr/lib/perl5/5.8.7 
/usr/lib/perl5/site_perl/5.8.7/x86_64-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) 
at /usr/local/cpanel/Cpanel/Lang/Cache/Utils.pm line 11.


That first bit, Can't Locate Class/Std.pm is the key. It's missing the Class::Std Perl module.
Now you type:

/scripts/perlinstaller Class::Std

You can also use WHM to install Perl Modules, by going to Software -> Install a Perl Module

Once it's completed, then try your Cpanel/WHM functions again. If you still receive the error, then you'll need to look for other Perl modules in the cPanel error_log and reinstall those too.

Lather, rinse, repeat.

Back to VPS

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0456 seconds