Skip to main content

CSF & Logview no show in WHM Due to Appconfig Malfunction

Comments

11 comments

  • cPanelMichael
    New CSF & Logview no show in WHM Due to Appconfig.

    Hello :) Are you sure you have logged into Web Host Manager as "root" instead of reseller username? Thank you.
    0
  • Jeff P.
    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.
    0
  • cPanelMichael
    I'm Running Ver 54.0 (build 7).

    Could you update to cPanel version 54.0.12 to see if the issue persists? Also, have you updated to the latest versions of these third-party applications? Thank you.
    0
  • Jeff P.
    Affirmative, issue remains and am on Bleeding edge. I even reinstalled logview and CSF and restarted cpanel just to be safe.
    0
  • cPanelMichael
    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.
    0
  • Jeff P.
    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 root@7456171 ~]cPs# mv /var/cpanel/apps /root/cptechs/lview.conf [21:38:34 ns1 root@7456171 ~]cPs# /usr/local/cpanel/bin/register_appconfig /root/cptechs/lview.conf lview registered [21:39:29 ns1 root@7456171 ~]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 root@7456171 ~]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
    0
  • cPanelMichael
    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.
    0
  • Jeff P.
    ***IGNORE THOSE INSTRUCTIONS!*** Follow these instructions INSTEAD:
    # 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
    0
  • cPanelMichael
    Hello, Note you can find a more in-depth discussion of the differences between using "sh /path/to/file.sh" versus "./path/to/file.sh" at the following third-party URL: What is the difference between running "bash script.sh" and "./script.sh"? Thank you.
    0
  • xisn
    Updating Logview, will post an update soon!
    0
  • xisn
    New version of LogView posted.
    0

Please sign in to leave a comment.