System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Stop/start snmp in HPUX B.11.23 error

nazshuk
Occasional Visitor

Stop/start snmp in HPUX B.11.23 error

Hi,
I received an error when tried to stop snmp service:
$ /sbin/init.d/SnmpMaster stop
/sbin/init.d/SnmpMaster[177]: /etc/rc.config.d/gwlmCtl: not found.

Is this related with permission issue? Any suggestion to troubleshoot?

Thanks!
1 REPLY
James R. Ferguson
Acclaimed Contributor

Re: Stop/start snmp in HPUX B.11.23 error

Hi:

Problems like this suggest a corrupt (syntactically incorrect) file in '/etc/rc.config.d'.

One approach to finding problems like this is to do::

# sh -vx /etc/rc.config 2>&1|more

The sourcing of the '/etc/rc.config.d' directory's files will stops at the first culprit, enabling you to isolate the problem.

Regards!

...JRF...