From: Yves M. <yme...@li...> - 2004-08-03 12:05:12
|
Update... perfparse-0.99.08 If your CGI is broken after running perfparse for the first time on a new= host, yes, this is a bug ! Either download perfparse-0.99.08ym2 from http://ymettier.chez.tiscali.fr/perfparse-devel/index.php (with other cha= nges and other really minor bugfix: see ChangeLog) Or: Edit perfparse/perfparse.c line 1105 and, as a quick and temporary fix, r= ead "0.13" instead of VERSION. Then recompile. Yves =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D This was in the previous post and is still valid. If your CGI is already broken, you can use your mysql client: select * from perfdata_state; domain | file_name | line_in_file | last_line_hash | pid | perfparse_version 00000001 | /path/serviceperf.log | 0 | = | 1234 | 0 00000002 | /path/serviceperf.log | 0 | = | 4321 | 0.13 The line with perfparse_version =3D 0 has to be updated: UPDATE perfdata_state SET perfparse_version =3D 0.13 where domain =3D '00= 000001'; That's it. I have not checked it perfparse-db-tool --update works in this= case. Sorry for the bug! Yves --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GP= G key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - GTKtalog - http://www.nongnu.org/gtktalog/ - --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - GTKtalog - http://www.nongnu.org/gtktalog/ - |