Business Services disappear after server restart.
-
Hi,
When restarting the netxmsd service (version 2.2.4 - 9506) on Ubuntu 16.04 with MySQL db driver, the business service objects disappear.
To recreate the problem, I dropped the database and re-ran 'nxdbmgr init /usr/share/netxms/sql/dbinit_mysql.sql' to clear the database.With a fresh database, I logged in and created a new Business service, added a node link and a service check using the example to monitor node status.
The service check works ok and no errors appear.When I restart the service using 'service netxmsd restart' and log in, the Business service is no longer displayed.
The following error appears in the netxmsd log.
"2018.03.19 11:52:16.650 *D* Loading business services...
2018.03.19 11:52:16.651 *D* Loading node links...
2018.03.19 11:52:16.653 *D* Loading service checks...
2018.03.19 11:52:16.654 *D* Linking objects...
2018.03.19 11:52:16.657 *W* Inconsistent database: BusinessServiceRoot object has reference to non-existing child object 118"Running nxdbmgr check shows no errors.
Checking database (excluding collected data):
* Checking zone object properties [PASSED]
* Checking node object properties [PASSED]
* Checking node to subnet bindings [PASSED]
* Checking interface object properties [PASSED]
* Checking interface bindings [PASSED]
* Checking network service object properties [PASSED]
* Checking network service bindings [PASSED]
* Checking cluster object properties [PASSED]
* Checking cluster member nodes [PASSED]
* Checking template to node mapping [PASSED]
* Checking object properties [PASSED]
* Checking container membership [PASSED]
* Checking event processing policy [PASSED]
* Checking network map links [PASSED]
* Checking data tables [PASSED]
* Checking raw DCI values table [PASSED]
* Checking DCI thresholds [PASSED]
* Checking table DCI thresholds [PASSED]Database doesn't contain any errors
Database check completedRegards,
David -
Hi,
it's a bug in a server. We will fix in in 2.2.5 release.
Best regards,
Victor
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login