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!

/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:
    151
    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:
    316
    touch /var/log/exim_rejectlog
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mspottedhorse

    mspottedhorse Member

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

    silvernetuk Well-Known Member

    Joined:
    Sep 2, 2002
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    166
    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:
    151
    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:
    306
    [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.
     

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