Adminconsole for probe SNMPCollector not able to open - PPM-022

book

Article ID: 6181

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES

Issue/Introduction

Unable to open the snmpcollector configuration page on AdminConsole or the H2 database at http://<snmpcollector IP>:9715/database. 

These result in a PPM-022 error or a blank page.

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:

/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

 

 

Environment

snmpcollector version 3.x

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.