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.

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:
    6
    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,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Just reinstall the logwatch rpm.
     
  3. websupport

    websupport Well-Known Member

    Joined:
    Jun 24, 2006
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    6
    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,475
    Likes Received:
    20
    Trophy Points:
    38
    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
     
Loading...

Share This Page