[mrtg] Re: pid problem

Alex van den Bogaerdt alex at ergens.op.HET.NET
Mon May 27 17:52:13 MEST 2002


Lawrence W. Smith wrote:

> results in
> 
> {166}$ ./mrtgstart                   
> 2002-05-27 16:14:13 -- ERROR: Creating templock /var/run/mrtg.pid_1179: Permission denied at ./mrtg line 1271.

Can't help with that, sorry.

> 1) I'd like the pid in /var/run but the mrtg seems to lack permissions to /var/run
> regardless of how open I make /var/run!

That probably isn't mrtg doing it wrong.  Ask a BSD group.

> 2) Why insist on adding _xxxx to mrtg.pid other daemons remain clean and tidy using a single .pid
> file named daemon.pid etc...?

How many MRTG instances will you be running?  How should they all write
to the same file?

> 5) Have I missed something blindingly obvious?

Don't know if BSD knows about "chattr -i"?

cheers,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

--
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