[mrtg] Re: Forking problem: invalid log file format

Tobias Oetiker oetiker at ee.ethz.ch
Mon Oct 16 20:56:41 MEST 2000


Today you sent me mail regarding [mrtg] Forking problem: invalid log file...:


CP> WARNING: rateup died from Signal 0
CP>  with Exit Value 1 when doing router '130.202.129.13_vlan156'
CP>  Signal was 0, Returncode was 1
CP> 
CP> When lookin at these two log files, the appear like so
CP> # more 130.202.129.13_vlan666.log
CP> 971710737 xxx at 130.202.129.13 Descr   Loopback129     3  
CP> xxx at 130.202.129.13 Descr   Null0   2 971710737 0 0 0 0
CP> 971710200 0 0 0 0
CP> 971709900 0 0 0 0
CP> 971709600 0 0 0 0

aargh this damn forking code ...

can you try to add a close on mrtg line 1579:

                $lasthost = $host;
                storeincache($confcache,$host,$method,$key,$value);
             }
             close $h;
        }
         
    } else {

does this help ?
tobi

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker


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