Re: [Nagios-db-devel] Upgrade and rollback issues
Status: Beta
Brought to you by:
bench23
From: Ben <be...@si...> - 2005-03-11 01:15:42
|
First (and most important to you) I don't see anything in the code that make it obvious why you would get the "couldn't clear config info" message unless the command failed, but then you should have had some reason, and I don't see that. So that's still a mystery. Therefore, I'm going to blame the victim and ask what version of the postgres libs you have installed, and ask that you make sure you're really linking to them. Second, I recommend you use 2.0b2. It fixed problems I was having and didn't hurt anything. Given that you have the same problems on both versions, you might as well have them on the better one. :) Third, I just checked in a file that should fix the unhelpful "nagios-db: couldn't configure host using 'nagios-db: couldn't configure host using 'nagios-db: couldn't configure host us' ()" crap. That won't help your big issue, but it might help others in the future.... On Thu, 10 Mar 2005, Robert Bilbrey wrote: > I had nagios 2.0b1 working with nagios-db on RHEL3. I decided to upgrade > to 2.0b2 and pulled the latest nagios-db code from cvs. Everything > compiled fine, dropped the db and recreated the db with the new schema, > but nagios would not start with the neb module. So then I pulled the > 0.91 archive, same problem. After deciding to roll back to 2.0b1 and the > nagios-db cvs snapshot that I had working previously, I am still > throwing the same errors. If I run the "select empty_config()" from a > psql session I am returned an empty recordset, which is what I would > expect. The following is from the nagios log. Does anyone have any > thoughts, I really need to get this back online. > Thanks, Bob > > [1110500709] Nagios 2.0b1 starting... (PID=5391) > [1110500709] LOG VERSION: 2.0 > [1110500709] initializing nagios-db postgres inserter... > [1110500709] nagios-db: inserter locked into db > [1110500709] Event broker module '/usr/local/nagios/bin/inserter.o' > initialized successfully. > [1110500709] Warning: Host 'kcwebwt1' has no services associated with it! > [1110500709] Warning: Contact 'brian' is not a member of any contact groups! > [1110500709] Warning: Contact 'cheikh' is not a member of any contact > groups! > [1110500709] Warning: Contact 'dwain' is not a member of any contact groups! > [1110500709] Warning: Contact 'eric' is not a member of any contact groups! > [1110500709] Warning: Contact 'john' is not a member of any contact groups! > [1110500709] Warning: Contact 'karen' is not a member of any contact groups! > [1110500709] Warning: Contact 'liz' is not a member of any contact groups! > [1110500709] Warning: Contact 'robert' is not a member of any contact > groups! > [1110500709] Warning: Contact 'russ' is not a member of any contact groups! > [1110500709] Warning: Contact 'scott' is not a member of any contact groups! > [1110500709] Warning: Contact 'van' is not a member of any contact groups! > [1110500709] Warning: Contact group 'nagios-setup' is not used in any > hostgroup/service definitions or host/hostgroup/service escala > tions! > [1110500709] Finished daemonizing... (New PID=5393) > [1110500709] nagios-db: couldn't clear config info () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure ho' ( > ) > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host > us' () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host > us' () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host > us' () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host > us' () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host > us' () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host > ' () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host' > () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host > ' () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host > usi' () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host > us' () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host > usi' () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host > u' () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host > u' () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host > us' () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host > us' () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host > us' () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host > us' () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host > usi' () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host > using 'nag' () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host > using 'nag' () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host > using 'na' () > [1110500709] nagios-db: couldn't configure host using 'nagios-db: > couldn't configure host using 'nagios-db: couldn't configure host > using' () > [1110500709] nagios-db: configured 23 hosts > [1110500709] nagios-db: couldn't configure hostgroup using 'nagios-db: > couldn't configure hostgroup using 'nagios' () > [1110500709] Caught SIGSEGV, shutting down... > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Nagios-db-devel mailing list > Nag...@li... > https://lists.sourceforge.net/lists/listinfo/nagios-db-devel > |