The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

LogView Bug How do we let them know

Discussion in 'General Discussion' started by bluerayconcepts, Jul 10, 2013.

  1. bluerayconcepts

    bluerayconcepts Active Member

    Joined:
    Mar 24, 2013
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Yuba City, CA
    cPanel Access Level:
    Root Administrator
    I found a bug with LogView today with the help of the CPanel folks. It seem at least in the latest log view it is not showing the login user name in the maillog files for any connection login

    Jul 11 00:33:28 centos63 dovecot: imap-login: Login: user=, method=PLAIN,

    CPanel support says it looks like its having an issue with data enclosed in pointy brackets (<>).

    Any idea how to get in touch with the log view folks. I have tried in the past with no response so I thought I would bring it here.

    Not sure if its intended to be that way for security purposes or not but I vaguely remember it not doing this a few versions back.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    An email for the author is on top of the Logview Information page. (Blue button at top, WHM interface)

    I've recently emailed him myself, issues with the latest version here. No word back yet though.
     
  3. abobre

    abobre Member

    Joined:
    Jun 5, 2006
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Error updating LogView

    I have installed hundreds LogView LogView - cPanel add-on - LogView in 5.9.X and I update the plugin, however it has tripled in the system, I tried to uninstall the plugin and he's only 2 uninstalled plugins LogView, leaving a plugin LogView consido not uninstall this plugin at all. Can you help me?
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Re: Error updating LogView

    No. But I do have an email out to the author of the script concerning this exact topic. I uninstalled it a couple times, reinstalled it and only have two listings for it now. I'm still using it and ignoring the issue waiting on him to release an update to sort this all out for us.


    HTH!
     
  5. xisn

    xisn Well-Known Member

    Joined:
    Dec 4, 2004
    Messages:
    128
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Re: Error updating LogView

    Still working on this, not sure why it shows twice though.. really strange... 4 out of 5 installs show only once.

    Please try the following commands:

    Code:
    # /usr/local/cpanel/bin/show_appconfig
    Does LogView show twice?

    If it does not, run the following commands:
    Code:
    # rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_lview.cgi
    # rm -rfv /etc/logview*
    If the above does show twice:

    Code:
    # rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_lview.cgi
    # /usr/local/cpanel/bin/unregister_appconfig /var/cpanel/apps/lview.conf
    # rm -fv /var/cpanel/apps/lview.conf
    # rm -rfv /usr/local/cpanel/whostmgr/docroot/cgi/logview
    # /usr/local/cpanel/bin/update_appconfig_apps
    This should clean LogView from your server and allow a clean install
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Re: Error updating LogView

    Greetings.
    Yes. Also, in AppConfig (WHM » Development » Apps Managed by AppConfig). Under the Origin column there, these are the only differences, one is lview.conf the other is LogView.conf

    End result is the same. Two instances of Logview are showing under Plugins, both links work. Also the lview.conf and LogView.conf can be found listed under the Origin column in AppConfig.
     
  7. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Re: Error updating LogView

    Cleaned out all traces of logview. Fresh install, I'm still seeing two.

    Inside /var/cpanel/apps/

    LogView.conf 596 21-Jul-2013 16:46:18
    lview.conf 596 21-Jul-2013 16:46:17

    Note the date on these identical files. The installer is broken I guess.
     
  8. testnick

    testnick Registered

    Joined:
    Apr 9, 2012
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
  9. xisn

    xisn Well-Known Member

    Joined:
    Dec 4, 2004
    Messages:
    128
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Re: Error updating LogView

    Updated... can you give this one a shot? Make sure to uninstall using the above steps..

    Thanks a ton for the help in advance!
     
  10. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,447
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Re: Error updating LogView

    That fixed it. Works as expected. :)
     
  11. xisn

    xisn Well-Known Member

    Joined:
    Dec 4, 2004
    Messages:
    128
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Re: Error updating LogView

    Excellent, Thanks!
     
  12. si77hay

    si77hay Member

    Joined:
    Sep 25, 2013
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Re: Error updating LogView

    If the above does show twice:

    Code:
    # rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_lview.cgi
    # /usr/local/cpanel/bin/unregister_appconfig /var/cpanel/apps/lview.conf
    # rm -fv /var/cpanel/apps/lview.conf
    # rm -rfv /usr/local/cpanel/whostmgr/docroot/cgi/logview
    # /usr/local/cpanel/bin/update_appconfig_apps
    This should clean LogView from your server and allow a clean install[/QUOTE]

    That worked for me! Thanks
     
  13. xisn

    xisn Well-Known Member

    Joined:
    Dec 4, 2004
    Messages:
    128
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    LogView - Domain Expired

    Sorry guys... I keep forgetting to renew this domain for some reason... I did get quite a few emails so I moved the files here for now...

    http://www.bitshout.com/logview/logview-current.tar.gz
    http://www.bitshout.com/logview/logview-install
    http://www.bitshout.com/logview/logview-uninstall
    http://www.bitshout.com/logview/logview-upgrade.sh

    I will get the domain fixed and registered again soon.
     
  14. Giannis

    Giannis Well-Known Member

    Joined:
    Jun 22, 2005
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Re: LogView - Domain Expired

    Files are not available...
     
  15. SigmaWeb

    SigmaWeb Active Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    28
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Athens - Greece
    cPanel Access Level:
    Root Administrator
    Re: LogView - Domain Expired

    Hi xisn,

    Thanks for being so kind to provide the files to all of us. I also get 404 Not Found error.
     
  16. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Re: LogView - Domain Expired

    I've merged this post to the original thread.

    Thank you.
     
  17. xisn

    xisn Well-Known Member

    Joined:
    Dec 4, 2004
    Messages:
    128
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Re: Error updating LogView

    Files are now available...
     
  18. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Re: Error updating LogView

    Appear to be 2 typos in the install script:

    MIRROR="http://http://www.bitshout.com/logview/"

    logviewUrlFile="http://http://www.bitshout.com/logview/logview-current.tar.gz"

    Otherwise runs and installs okay.
     
  19. SigmaWeb

    SigmaWeb Active Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    28
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Athens - Greece
    cPanel Access Level:
    Root Administrator
    Re: Error updating LogView

    It's OK, all you need to do is to correct line 9 and remove the double http:// , from
    Code:
    logviewUrlFile="http://http://www.bitshout.com/logview/logview-current.tar.gz"
    to
    Code:
    logviewUrlFile="http://www.bitshout.com/logview/logview-current.tar.gz"
     
  20. theguyz

    theguyz Registered

    Joined:
    Mar 22, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Re: Error updating LogView

    Thank you everyone for the information!

    I was unable to run logview after installing it from https://www.xisn.com/logview/logview-install

    I received errors like these:
    Code:
    No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/addon_lview.cgi): The subprocess exited with status 2 (ENOENT).
    
    No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/addon_lview.cgi): The subprocess exited with status 255

    So I uninstalled it like this:
    Code:
    rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_lview.cgi
    rm -rfv /etc/lview*
    And then installed it like this:
    Code:
    wget http://www.bitshout.com/logview/logview-install
    chmod +x logview-install
    Then edited lines 7 and 9 to remove the duplicate "http://", and finally installed it:
    Code:
    vi logview-install
    ./logview-install
    And it works!
     
Loading...

Share This Page