CSF & Logview no show in WHM Due to Appconfig Malfunction

Jeff P.

Well-Known Member
Feb 2, 2016
61
10
8
Daytona Beach, Florida, USA
cPanel Access Level
DataCenter Provider
CSF & Logview no show in WHM Due to Appconfig.

I have the options in Tweak Settings enabled and on server config I told it NOT to require AppConfig.... I am the only person with access.

How can I get CSF and Logview to show?

These are all enabled:
  1. Allow apps that have not registered with AppConfig to be run when logged in as a reseller to WHM
  2. Allow apps that have not registered with AppConfig to be run when logged in as root or a reseller with the "all" ACL in WHM.
  3. This setting allows WHM applications and addons to execute even if an ACL list has not been defined.
  4. This setting allows cPanel and Webmail applications and addons to execute even if a feature list has not been defined.
 

Jeff P.

Well-Known Member
Feb 2, 2016
61
10
8
Daytona Beach, Florida, USA
cPanel Access Level
DataCenter Provider
Yeah, I don't have any resellers. Each domain I give it's own acct via WHM as root.

*I have 5 servers and the issue doesn't happen in 3 of them. I'm Running Ver 54.0 (build 7).

Correction, it is occurring in them all after the update to Version 54.0.
 
Last edited by a moderator:

Jeff P.

Well-Known Member
Feb 2, 2016
61
10
8
Daytona Beach, Florida, USA
cPanel Access Level
DataCenter Provider
Affirmative, issue remains and am on Bleeding edge. I even reinstalled logview and CSF and restarted cpanel just to be safe.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,205
363
Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

Jeff P.

Well-Known Member
Feb 2, 2016
61
10
8
Daytona Beach, Florida, USA
cPanel Access Level
DataCenter Provider
So everyone can see the answer:

Hello,

It looks like there is an issue with the Logview installer. Part of the installation process is registering a plugin-in's .conf file, which places the file in /var/cpanel/apps/
When attempting to install Logview on a test server the installation showed the following error:

====================
Registering LogView...
‘/var/lib/logview/lview.conf’ -> ‘/var/cpanel/apps’
The 'conf_file' must be readable and a plain file.
====================

After which I noticed that /var/cpanel/apps, which should be a directory, was actually the .conf file for Logview:

====================
# cat /var/cpanel/apps
# name
name=lview

# Service that will serve this app
service=whostmgr
====================

I was able to resolve the issue on your server by moving /var/cpanel/apps and renaming it back to lview.conf, then registering the .conf file for Logview and CSF:

====================
[21:15:21 ns1 [email protected] ~]cPs# mv /var/cpanel/apps /root/cptechs/lview.conf
[21:38:34 ns1 [email protected] ~]cPs# /usr/local/cpanel/bin/register_appconfig /root/cptechs/lview.conf
lview registered
[21:39:29 ns1 [email protected] ~]cPs# /usr/local/cpanel/bin/register_appconfig /usr/local/cpanel/whostmgr/docroot/cgi/configserver/csf/csf.conf
csf registered
====================

This automatically copies the .conf files into the /var/cpanel/apps directory as intended:

====================
[21:39:54 ns1 [email protected] ~]cPs# ls -la /var/cpanel/apps/
total 24
drwxr-xr-x 2 root root 4096 Feb 4 21:39 ./
drwx--x--x 89 root root 12288 Feb 4 21:42 ../
-rw------- 1 root root 615 Feb 4 21:39 csf.conf
-rw------- 1 root root 594 Feb 4 21:39 lview.conf
====================

The plugins are now shown in WHM.
Please let me know if you have any further questions or issues.

Regards,

--
Kevin Mitsch
cPanel, Inc.
Technical Analyst
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,205
363
Thank you for taking the time to update this thread with the outcome. Note that you may also want to report the issue to the developer of this plugin to ensure it's updated for newer versions of cPanel/WHM.

Thank you.
 

Jeff P.

Well-Known Member
Feb 2, 2016
61
10
8
Daytona Beach, Florida, USA
cPanel Access Level
DataCenter Provider
***IGNORE THOSE INSTRUCTIONS!***

Follow these instructions INSTEAD:

Code:
# wget http://www.log-view.com/logview-install
# chmod +x logview-install
# sh logview-install
# rm -f logview-install

instead of:

# wget http://www.log-view.com/logview-install
# chmod +x logview-install
# ./logview-install
# rm -f logview-install
 
Last edited by a moderator: