Results 1 to 6 of 6

Thread: [SOLVED] Daily Message

  1. #1
    Join Date
    May 2008
    Location
    South Dakota
    Posts
    81
    Rep Power
    7

    Default [SOLVED] Daily Message

    Every time I log into my system with SSH I get the following message. I was wondering how I can make it not generate a mail message.

    Message 1:
    From root@server.local Fri Jan 30 06:39:37 2009
    Envelope-to: root@server.local
    Delivery-date: Fri, 30 Jan 2009 06:39:37 -0600
    From: root@server.local (Cron Daemon)
    To: root@server.local
    Subject: Cron <root@server> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
    Content-Type: text/plain; charset=ANSI_X3.4-1968
    X-Cron-Env: <SHELL=/bin/sh>
    X-Cron-Env: <PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin>
    X-Cron-Env: <HOME=/root>
    X-Cron-Env: <LOGNAME=root>
    Date: Fri, 30 Jan 2009 06:39:37 -0600

    /etc/cron.daily/logrotate:
    Stopping logswatch...logswatch is not running.
    Starting logswatch...done.
    Stopping swatch...swatch is not running.
    Starting swatch...done.
    Stopping zmmtaconfig...done.
    Starting zmmtaconfig...done.

  2. #2
    Join Date
    Mar 2007
    Location
    Ferrara, Italy
    Posts
    55
    Rep Power
    8

    Default

    Same here after 5.0.10->5.0.14...

  3. #3
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Well you could check the /etc/cron.daily/logrotate script and modify it so that the output is directed to /dev/null ?

  4. #4
    Join Date
    Mar 2007
    Location
    Ferrara, Italy
    Posts
    55
    Rep Power
    8

    Default

    ...

    actually you are right when answering the first post.... I misread the post, I thought MTecknology was complaining about what was IN the message, not about THE message!

    I just care about understanding why it says "not running" instead of "done" when trying to stop it!

    Should have pointed it out before... sorry!
    Last edited by caio80; 03-17-2009 at 02:23 AM.

  5. #5
    Join Date
    May 2008
    Location
    South Dakota
    Posts
    81
    Rep Power
    7

    Default Modified File

    I modified the file to look like this instead. I'm not sure why the script is like it is by default...


    #!/bin/sh

    test -x /usr/sbin/logrotate && /usr/sbin/logrotate /etc/logrotate.conf 2>&1
    exit 0

  6. #6
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    It is O/S configured so I guess they wanted the Administrator to know what has happened

Similar Threads

  1. Confused On Maximum Message Size
    By soxfan in forum Administrators
    Replies: 6
    Last Post: 06-25-2013, 07:20 PM
  2. 'Couldn't access Yahoo! Zimbra Desktop server"
    By chirag1 in forum Error Reports
    Replies: 37
    Last Post: 06-12-2011, 05:14 PM
  3. Message disappears between MTA and mailbox server
    By andrew_l in forum Administrators
    Replies: 12
    Last Post: 07-08-2010, 11:26 PM
  4. Replies: 3
    Last Post: 07-19-2007, 02:00 AM
  5. Replies: 4
    Last Post: 08-10-2006, 10:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •