Question
Why does ConfigServer Security & Firewall (CSF/LFD) is not showing in WHM?
Answer
If your installation has no issue, then this is usually related to the plugin not being properly registered with the AppConfig system. The first thing you would need to do is to make sure that the following file exists with this content and permission set:
stat -c "%a %U %G" /var/cpanel/apps/csf.conf
600 root root
cat /var/cpanel/apps/csf.conf
# name
name=csf
# Service that will serve this app
service=whostmgr
# Physical path: /usr/local/cpanel/3rdparty/Foo.php
# Literal URL path: $server:$port/$cpsession/3rdparty/Foo.php
url=/cgi/configserver/csf.cgi
# System user to run process as
user=root
# Required acls
acls=software-ConfigServer-csf
# Display name as show in the service ui
displayname=ConfigServer Security & Firewall
# Url to show in the service ui (relative to install path for whm this is cgi/)
entryurl=configserver/csf.cgi
# Path to upgrade script
upgradecall=/usr/local/cpanel/whostmgr/docroot/cgi/configserver/csf/upgrade.sh
icon=csf_small.png
target=_self
If that's the case then you can run the following command to register the plugin again:
/usr/local/cpanel/bin/register_appconfig /var/cpanel/apps/csf.conf
Comments
0 comments
Article is closed for comments.