NetXMS Support Forum

English Support => General Support => Topic started by: quinine on March 19, 2018, 03:58:04 AM

Title: Business Services disappear after server restart.
Post by: quinine on March 19, 2018, 03:58:04 AM
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





Title: Re: Business Services disappear after server restart.
Post by: Victor Kirhenshtein on April 04, 2018, 11:12:20 AM
Hi,

it's a bug in a server. We will fix in in 2.2.5 release.

Best regards,
Victor