Admin console for probe SNMPCollector not able to open.

Document ID : KB000006181
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

Unable to open the Admin Console snmpcollector configuration page, or the H2 database at http://<snmpcollector IP>:9715/database.  These result in a PPM-022 error or a blank page.

Environment:
snmpcollector version 3.x
Cause:

By default the snmpcollector database, (a file called snmpcollector.mv.db), runs in embedded mode and allows only one connection.  If that connection to snmpcollector fails, it does not allow another.

It's possible to see errors like:

/opt/nimsoft/probes/network/snmpcollector/SnmpCollector.mv.db failed; file length -1 read length 32 at 184866602

The Snmpcollector log can have stack traces with errors like IllegalStateException and a cause of ClosedChannelException

 

 

Resolution:

DB_SERVER_MODE allows multiple connections, so snmpcollector can recover from this state.  To set this, open the probe snmpcollector Raw Configuration.  Under setup add the key: DB_SERVER_MODE = true

The DB_SERVER_MODE resolves problems with file permissions.
If it worked before but needs this setting now, then the user, their permissions or the permissions for the snmpcollector database were changed.