IBM Support

Ncp_disco failing on rediscovery.

Troubleshooting


Problem

Ncp_disco process fails after a full discovery completes and rediscovery starts.

Symptom

ncp_disco.trace shows the following errors:

Fri Jan 16 19:24:16 2015 Warning: Error found in file CNcpSolidDbh.cc at line 602 - Unable to start solid server as port number:12513 is already in use. Please check DbLogins

Fri Jan 16 19:24:16 2015 Warning: An unexpected nil pointer reference has been found. found in file CNcpDbFactory.cc at line 1027
Fri Jan 16 19:24:16 2015 Warning: Error found in file CDiscoStitcherMgr.cc at line 1442 - Failed to connect to embedded db for dbIdDNCIM
Fri Jan 16 19:24:16 2015 Warning: Error found in file CNcpSolidDbh.cc at line 602 - Unable to start solid server as port number:12513 is already in use. Please check DbLogins

Fri Jan 16 19:24:16 2015 Warning: An unexpected nil pointer reference has been found. found in file CNcpDbFactory.cc at line 1027
Fri Jan 16 19:24:16 2015 Warning: Cannot connect to database found in file CDiscoStitcherMgr.cc at line 1454 - Failed to find relational db interface.
Fri Jan 16 19:24:16 2015 Termination: Exit function called found in file CRivDisco.cc at line 1307 - Relational DB required but unable to access DB - exiting
Please check database configuration.

ncp_disco is dead.

-----------------------------------------------------------------------------------------------------------

ncp_disco.log shows the following errors:

2015-01-16T19:24:16: Warning: W-RIV-002-128: [537122592t] CNcpSolidDbh.cc(602) Unable to start solid server as port number:12513 is already in use. Please check DbLogins

2015-01-16T19:24:16: Information: I-SOL-001-003: [537122592t] Stopping Solid database server
2015-01-16T19:24:16: Information: I-SOL-001-004: [537122592t] Stopped Solid database server
2015-01-16T19:24:16: Information: I-SOL-001-003: [537122592t] Stopping Solid database server
2015-01-16T19:24:16: Information: I-SOL-001-004: [537122592t] Stopped Solid database server
2015-01-16T19:24:16: Warning: W-RIV-002-165: [537122592t] CNcpDbFactory.cc(1027) An unexpected nil pointer reference has been found.
2015-01-16T19:24:16: Warning: W-RIV-002-128: [537122592t] CDiscoStitcherMgr.cc(1442) Failed to connect to embedded db for dbIdDNCIM
2015-01-16T19:24:16: Information: I-SOL-001-006: [537122592t] Assigning available Solid database server port 12513
2015-01-16T19:24:16: Warning: W-RIV-002-128: [537122592t] CNcpSolidDbh.cc(602) Unable to start solid server as port number:12513 is already in use. Please check DbLogins.

Cause

Enable caching of discovery tables is enabled in the Advanced tab of the discovery configuration.

Resolving The Problem

1. Disable "Enable caching of discovery tables".

2. Stop ITNM


2. Remove Disco.cache.* files in $NCHOME/var/precision
3. Remove $NCHOME/precision/embeddedDb/solid/ncp_disco.<DOMAIN>
4. Restart ITNM.
5. Run full discovery.

[{"Product":{"code":"SSSHRK","label":"Tivoli Network Manager IP Edition"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"4.1.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21695367