You are not logged in.

#1 2004-05-13 04:02:36

dk
Member
Registered: 2004-04-20
Posts: 106

Archstats

I installed archstats and set it up as a cron job. Later I checked /var/log/crond to see if it ran
and found:

12-May-2004 20:30  USER root pid 1067 cmd /usr/bin/archstats -u
12-May-2004 20:30  unable to exec /usr/sbin/sendmail -t, user -oem, output to sink null

I don't have sendmail installed.

Does archstats try and send stats/info with sendmail?

Offline

#2 2004-05-13 10:32:00

farphel
Forum Fellow
From: New Hampshire - USA
Registered: 2003-09-18
Posts: 250
Website

Re: Archstats

No, it does not send data via email.  It makes and HTTP POST to the server to transmit data.

I believe what you are seeing is an attempt at cron to deliver archstats's stdout via email.  For example, if archstats detects an md5sum difference in the remote server from what it has in its config file, it will report that information to stdout.  Typically, output from cronjobs (unless redirected) will be delievered to a system account as an email message.

Cheers, and thanks for participating.
farphel


Follow the link below, sign up, and accept one promotional offer.  If I can get five suckers (err... friends) to do this, I'll get a free iPod.  Then you too can try to get a free iPod. Thanks! http://www.freeiPods.com/?r=11363142

Offline

#3 2005-07-19 22:27:46

banana989
Member
Registered: 2004-06-03
Posts: 60

Re: Archstats

How do you redirect the output ?

Offline

#4 2005-07-19 22:36:27

T-Dawg
Forum Fellow
From: Wilmington, NC
Registered: 2005-01-29
Posts: 2,734

Re: Archstats

banana989 wrote:

How do you redirect the output ?

redirection operators are > >> and < <<
if you want to redirect to a file do:
command_here >>some.file

one > will create the message as new, >> will add to what's already in the file. &>/dev/null will send stdout and stderr to nothingness.

Offline

Board footer

Powered by FluxBB