Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jun 2004
    Posts
    80

    Default Script View Log file

    I was try install Script to view various log files from WHM: PWSviewlogfiles V3.2free
    ===
    cd /usr/local/cpanel/whostmgr/docroot/cgi
    wget http://www.premierwebsitesolutions.c...ewlogfiles.txt
    mv PWSviewlogfiles.txt PWSviewlogfiles.cgi
    chmod 700 PWSviewlogfiles.cgi
    pico PWSviewlogfiles.cgi
    ---
    in line:
    #!/usr/bin/perl
    changed to: #!/usr/local/bin/perl
    saved
    ---
    cd /usr/local/cpanel/whostmgr/docroot/themes/x/
    pico System_Health
    and add:
    ---
    WHMDEFINE:ACL=all
    <td align=center><center><a href="/cgi/PWSviewlogfiles.cgi" target="mainFrame"><b class=firstletter>V</b>iew Log Files</a></p></center></td>
    ENDWHMDEFINE
    --
    Now, i loged in whm root, and click System Health, It have hyper link: View Log Files, i click it,
    But no one to be show ...
    Please Anyone tell me how to install this ?

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge shashank's Avatar
    Join Date
    Apr 2003
    Posts
    146

    Default

    You should ask this at http://www.premierwebsitesolutions.com/ rather than here. That looks to be a third party script. I do not think cpanel would support that.
    Shashank Wagh.
    Systems Administrator.
    http://www.shashank.net

  3. #3
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    Delete the line
    require 'whmlib.pl';
    in the script and it should work.

    Also, the script has to be uploaded in ascii not binary. If uploaded in binary, it won't work.

    Some of my scripts need a bit of updating work but I just got back from being away 3 weeks and have a lot to catch up on first.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

Similar Threads & Tags
Similar threads

  1. WHM cpup should include log file path and link to log file
    By lbeachmike in forum Feature Requests for cPanel/WHM
    Replies: 0
    Last Post: 07-22-2011, 12:04 AM
  2. How to view Raw Log?
    By dark_hunter in forum New User Questions
    Replies: 5
    Last Post: 08-26-2009, 12:54 PM
  3. How to view log or history of our server?
    By ramystyle in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-15-2007, 08:05 AM
  4. Major update to my WHM "view log files" script
    By PWSowner in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-13-2004, 07:27 PM
  5. How can I view my Exim Log?
    By talon39 in forum New User Questions
    Replies: 8
    Last Post: 06-17-2004, 06:29 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube