Environment
NetIQ Access Manager 4.0
Situation
I'm trying to get the snmp service on the AC into the run levels using the following command:
# insserv /etc/init.d/novell-snmpd
but it fails to work and getting the following error message on the server console:
nam40sba:~ # insserv /etc/init.d/novell-snmpd
insserv: script novell-snmpd: service AdminConsole already provided!
insserv: Service network is missed in the runlevels 4 to use service AdminConsole
insserv: Service syslog is missed in the runlevels 4 to use service AdminConsole
insserv: exiting now!
Resolution
Modify the top of the /etc/init.d/novell-snmpd file and change the Provides to "SNMP Agent" - was previously set to AdminConsole. The following snippet shows what it should be set to.
#!/bin/sh
### BEGIN INIT INFO
# Provides: SNMP Agent
# Required-Start: $local_fs $network $syslog
# Required-Stop:
# Default-Start: 3 2 4 5
# Default-Stop: 1 6
# X-UnitedLinux-Should-Start: ndsd
# Short-Description: Start/stop snmp master agent
### END INIT INFO
#!/bin/sh
### BEGIN INIT INFO
# Provides: SNMP Agent
# Required-Start: $local_fs $network $syslog
# Required-Stop:
# Default-Start: 3 2 4 5
# Default-Stop: 1 6
# X-UnitedLinux-Should-Start: ndsd
# Short-Description: Start/stop snmp master agent
### END INIT INFO