Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Log Directory :(

Discussion in 'General Discussion' started by MrNone, Aug 29, 2006.

  1. MrNone

    MrNone Active Member

    Joined:
    Sep 25, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    156
    Hello,

    My /etc/log.d directory deleted. Who have got Fedora 4 Fedora i686 ? Can you send me this directory?

    Thanks.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    22
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Just reinstall the logwatch rpm.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. websupport

    websupport Well-Known Member

    Joined:
    Jun 24, 2006
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    156
    Install logwatch

    Steps to install logwatch RPM on server

    1. Log into your server as root (SSH)

    2. Get the file
    Type: wget ftp://ftp.kaybee.org/pub/redhat/RPMS/noarch/logwatch-5.2.2-1.noarch.rpm

    3. Install LogWatch 5.0 with flags to update if previously installed
    Type: rpm -Uvh logwatch-5.2.2-1.noarch.rpm

    4. Delete the original rpm file (no longer needed)
    Type: rm -rf logwatch-5.2.2-1.noarch.rpm

    5. To run logwatch manually
    Type: perl /etc/log.d/scripts/logwatch.pl
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    22
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Or simply install the latest version with:

    Code:
    rpm -Uvh ftp://ftp.kaybee.org/pub/redhat/RPMS/noarch/logwatch-7.3-1.noarch.rpm
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice