file zabbix-1.3.3/src/libs/zbxdb/db.c needs this
conn = NULL; //on line 62
conn = PQsetdbLogin(host, NULL, NULL, NULL, dbname, user, password ); //on line 138
to avoid errors
later i get this error in my log
25228:20070315:180916 Query::insert into ids (nodeid,table_name,field_name,nextid) values (0,'events','eventid',0)
25229:20070315:180916 Query::insert into ids (nodeid,table_name,field_name,nextid) values (0,'events','eventid',0)
its becouse ids dont have an initial value and the script fails to obtain de last value (nextid)
maybe you should put an insert into de data.sql file to give an initial value to de table and make the script work
a last thing, the client "make install" fails, but it is a known problem to solv in new releases.
thanks
conn = NULL; //on line 62
conn = PQsetdbLogin(host, NULL, NULL, NULL, dbname, user, password ); //on line 138
to avoid errors
later i get this error in my log
25228:20070315:180916 Query::insert into ids (nodeid,table_name,field_name,nextid) values (0,'events','eventid',0)
25229:20070315:180916 Query::insert into ids (nodeid,table_name,field_name,nextid) values (0,'events','eventid',0)
its becouse ids dont have an initial value and the script fails to obtain de last value (nextid)
maybe you should put an insert into de data.sql file to give an initial value to de table and make the script work
a last thing, the client "make install" fails, but it is a known problem to solv in new releases.
thanks