News:

We really need your input in this questionnaire

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - quinine

#1
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 completed

Regards,
David