[mrtg] Re: MRTG and mailstats

John Oliver joliver at john-oliver.net
Wed Dec 10 01:31:02 MET 2003


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



More information about the mrtg mailing list