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.

/var/log/exim_rejectlog

Discussion in 'General Discussion' started by mspottedhorse, Nov 18, 2002.

  1. mspottedhorse

    mspottedhorse Member

    Joined:
    Nov 16, 2002
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    I just received a new server and have put 3 accounts on it. Today, I received the daily cron e-mail and got this:

    etc/cron.daily/logrotate:

    stat of /var/log/exim_rejectlog failed: No such file or directory


    What do I need to do to fix this?
     
  2. Annette

    Annette Well-Known Member
    PartnerNOC

    Joined:
    Aug 12, 2001
    Messages:
    445
    Likes Received:
    0
    Trophy Points:
    16
    touch /var/log/exim_rejectlog
     
  3. mspottedhorse

    mspottedhorse Member

    Joined:
    Nov 16, 2002
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Thanks Annette...I owe ya' one ;)
     
  4. silvernetuk

    silvernetuk Well-Known Member

    Joined:
    Sep 2, 2002
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United Kingdom
    Hi,

    What does this touch do and where do I run it from ?

    Regards,
    Garry
     
  5. mspottedhorse

    mspottedhorse Member

    Joined:
    Nov 16, 2002
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Just as Annette suggest, log in via SSH and type
    touch /var/log/exim_rejectlog
    on the command line
     
  6. taivu

    taivu Well-Known Member

    Joined:
    Nov 22, 2001
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    [quote:6f2944c6c8][i:6f2944c6c8]Originally posted by silvernetuk[/i:6f2944c6c8]
    What does this touch do and where do I run it from ?[/quote:6f2944c6c8]

    Touch is a command that changes file timestamp. &touch filename& changes the timestamp of &filename& to current time. If the file does not exist, it is created (a 0 byte file).

    Good example of the use of &touch& is /home/username/tmp/lastrun, which is a 0 byte file. After logs for that user are processed, the script issues &touch /home/username/tmp/lastrun& command. Checking the timestamp of that file will tell scripts - and you - the last time logs were processed.
     
Loading...

Share This Page