[mrtg] Re: MRTG and mailstats

Woodcock, Bradford Bradford.Woodcock at Level3.com
Wed Dec 10 16:58:29 MET 2003


Just a thought. Ensure the first line of mailstats points to a valid
file. For example "#!/usr/local/bin/perl". I don't have mailstats in
front of me so that is just an example. That error may potentially be
caused from within mailstats so double check the shebang line points to
something valid. Have you tried running it manually from the mrtg run
account?

Cheers,
Woody...

http://www.inframon.org - infraMon: Network Infrastructure Monitor
 
 

-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]
On Behalf Of John Oliver
Sent: Tuesday, December 09, 2003 7:31 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: MRTG and mailstats

On Mon, Dec 08, 2003 at 06:54:36AM -0600, Daniel J McDonald wrote:
> Ok, so now you need to find where getexternal('mailq') or whatever is
> defined, and make certain that the command that is being passed exists
> and produces the output that is expected.

This isn't really helpful for me.  "getexternal('mailq') or whatever" is
going to be the same in any other MRTG 2.10.11  There's nothing special
about mine.  I don't have anything special... I literally just installed
MRTG from the tarball and that's it.

Again, the problem...

[joliver at ns joliver]$ sudo /usr/local/mrtg-2/bin/mrtg
/usr/local/etc/mailstats.conf
Can't exec "/usr/local/mrtg-2/bin/mailstats": No such file or directory
at /usr/local/mrtg-2/bin/mrtg line 1666.
WARNING: Running '/usr/local/mrtg-2/bin/mailstats': No such file or
directory
WARNING: Could not get any data from external command
'/usr/local/mrtg-2/bin/mailstats'
Maybe the external command did not even start. (No such file or
directory)

/usr/local/mrtg-2/bin/mailstats absolutely does exist:

[joliver at ns joliver]$ ls -l /usr/local/mrtg-2/bin/mailstats
-rwxr-xr-x    1 root     root         2589 Dec  7 20:21
/usr/local/mrtg-2/bin/mailstats


How can I fix this?

-- 
John Oliver, CCNA                            http://www.john-oliver.net/
Linux/UNIX/network consulting         http://www.john-oliver.net/resume/
*    *    *    *    *    *    *     *    *    *    *    *    *    *    *

Contribute to the SpamCon Legal Fund!! http://www.spamcon.org/legalfund/

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list