From: Guillaume D. <gui...@tu...> - 2005-01-25 10:42:04
|
check_perfparse_version OK Perfparse Database Version Correct: 0.19. | pp_ver=3D0.19 true_ver=3D0.19 It's Ok now pp is working fine. Thanks gcc version : version gcc 3.3.5 (Debian 1:3.3.5-5) and in the new release : no problem... another thing in the docs in 5.3: "$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$ $SERVICEOUTPUT$ is more correct ? because output give "$" in my database :) > Interesting. > > Can you please try this: > > Edit the file libpp_mysql/db_macro_actions.c > > From line 95: can youi try adjusting this function by adding two lines > starting 'setlocale', to look like this: > > double getVersion() > { > double version; > char *s; > > setlocale(LC_NUMERIC, "POSIX"); > > s =3D getRegistry(REG_VER_HOST, REG_VER_KEY, 0); > > if (s && s[0]) { > version =3D atof(s); > } else { > version =3D DB_VERSION; > setVersion(version); > } > > setlocale(LC_NUMERIC, ""); > > return version; > > } > > Then 'make' and re-run your tests. Has this made any difference? > > Can you also tell me what version of 'gcc' you are running? > > Thanks, > > Ben. > > Guillaume Delecourt wrote: > > check_perfparse_version > > ERROR Database schema version is not correct. Current version 0,00 > > Required version 0.19 | pp_ver=3D0,00 true_ver=3D0.19 > > > > but : > > mysql> SELECT rvalue,ctime from perfdata_registry WHERE host =3D 'dummy' > > AND rkey =3D 'pp/database/version' > > -> ; > > +--------+---------------------+ > > > > | rvalue | ctime | > > > > +--------+---------------------+ > > > > | 0.19 | 2005-01-24 16:34:09 | > > > > +--------+---------------------+ > > 1 row in set (0.00 sec) > > > > On Monday 24 January 2005 16:07, Ben Clewett wrote: > >>Guillaume > >> > >>This is very odd. I've never seen this before, but I think I know where > >>the problem might be. > >> > >>Can you try running the program check_perfparse_version. Does this > >>return the same? > >> > >>More later, > >> > >>Ben > >> > >>Guillaume Delecourt wrote: > >>>Hello, > >>>I have this error with perfparse-0.104.9 (with any method) : > >>> > >>>2005/01/24 12:54:58 [ storage.c:95 592 ] Initialisation du modu= le > >>>storage_mysql effectu=E9e avec succ=E8s > >>>2005/01/24 12:54:58 [storage_mysql.c:143 592 ] Database schema > >>>version is not correct. > >>>Current version 0.18. Required version 0.18 > >>>Consider upgrading with perfparse-db-tool --update > >>> > >>>i try perfparse-db-tool --update but nothing changes... > >>> > >>>Thanks for any help, > >>>Guillaume. > >>> > >>> > >>>------------------------------------------------------- > >>>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > >>>Tool for open source databases. Create drag-&-drop reports. Save time > >>>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > >>>Download a FREE copy at http://www.intelliview.com/go/osdn_nl > >>>_______________________________________________ > >>>Perfparse-users mailing list > >>>Per...@li... > >>>https://lists.sourceforge.net/lists/listinfo/perfparse-users > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > > Tool for open source databases. Create drag-&-drop reports. Save time > > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > > _______________________________________________ > > Perfparse-users mailing list > > Per...@li... > > https://lists.sourceforge.net/lists/listinfo/perfparse-users |