The snmpd Service failed to start with snmpd.conf errors.

book

Article ID: 5762

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

The snmpd Service failed to start with snmpd.conf errors.

It returns errors like:

Stopping snmpd: [FAILED] 

Starting snmpd: [FAILED] 

Error: example config COMMUNITY not properly configured 

Error: bad security model "any" should be: v1, v2c, usm or a registered security plugin name - installing anyway 

Error: bad prefix match parameter "0", should be: exact or prefix - installing anyway 

Address family for hostname not supported 

Error opening specified endpoint "127.0.0.1" 

Server Exiting with code 1 

 

Cause

Please check if the nc_ncsnmpd Service is running on your installation by using the chkconfig command from a privileged Shell.

In the case the Service is 'on' it might block the snmpd Service.

Environment

Release:
Component: APIGTW

Resolution

In the case no Hardware Crypto Key Card (SafeNet Luna HSM) is used on the Gateway, you may disable the two related Services: 

chkconfig nc_ncsnmpd off 

chkconfig nc_raserv off 

Thereafter restart the snmpd server:

service snmpd restart