Guillermo,
Check to make sure you haven't accidently removed spamassassin. I've seen this error when I've run mrtg without spamassassin installed.

-Steve

On Aug 7, 2006, at 12:03 PM, Guillermo Villasana wrote:

yes it used to work.

What I have in /etc/cron.d is:
*/50 * * * * root /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/ lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok


this is what I have in /etc/mrtg/mrtg.cfg
HtmlDir: /var/www/mrtg
ImageDir: /var/www/mrtg
LogDir: /var/lib/mrtg
ThreshDir: /var/lib/mrtg

and /var/lib/mrtg/mrtg.ok
is empty

any thoughts?

Guillermo

Jake Vickers wrote:
Guillermo Villasana wrote:
Hello, I am getting the following email. And I can't find where is the cron for this program. I checked out that the fodler exist and it does.

and this the folders permitions:
drwxr-xr-x  2 qmaill qmail 4096 Aug  7 08:34 spamd




Here is the email:
Subject: Cron <[EMAIL PROTECTED]> env LANG=C /usr/bin/mrtg /usr/ share/toaster/mrtg/qmailmrtg.cfg 2>&1 > /dev/null

WARNING: Problem with External get '/usr/bin/qmailmrtg S /var/log/ qmail/spamd': Expected a Number for 'in' but got 'failed to open dir /var/ log/qmail/spamd'

WARNING: Problem with External get '/usr/bin/qmailmrtg S /var/log/ qmail/spamd':
   Expected a Number for 'out' but nothing'

ERROR: Target[spamd][_IN_] ' $target->[3]{$mode} ' did not eval into defined data ERROR: Target[spamd][_OUT_] ' $target->[3]{$mode} ' did not eval into defined data
That cron job is in /etc/cron.d as mrtg. Make sure that mrtg is installed on your machine. Did it work before?
---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list- [EMAIL PROTECTED] For additional commands, e-mail: qmailtoaster-list- [EMAIL PROTECTED]

---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: qmailtoaster-list- [EMAIL PROTECTED]


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to