Knowledgebase

WHM won't load, logs: Can't locate object method "get_driver_name" via package "Cpanel::Config::ConfigObj::Driver::ConfigServercsf::META" at /usr/local/cpanel/Cpanel/Config/ConfigObj.pm line 185. Print

  • 0

Symptoms

WHM won't load with the following error:

undef error - Can't locate object method "get_driver_name" via package "Cpanel::Config::ConfigObj::Driver::ConfigServercsf::META" at /usr/local/cpanel/Cpanel/Config/ConfigObj.pm line 185.

 

Cause

A fork of the discontinued CSF was installed, and not the cPanel-provided fork.

 

Resolution

  1. Log in to the server via SSH or WHM's Terminal as the root user
  2. Move aside the problematic CSF files:

    mkdir -pv /root/csf_discontinued; mv -v /usr/local/cpanel/Cpanel/Config/ConfigObj/Driver/ConfigServercsf* /root/csf_discontinued/

 

Additional Resources

How to Install ConfigServer Security & Firewall (CSF) | cPanel & WHM Documentation


Was this answer helpful?
Back

Send Message