Project

General

Profile

Actions

Bug #12242

closed

rc file is not deleted

Added by Viktor Gurov over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
NET-SNMP
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

After disabling the Net-SNMP and Net-SNMP trap daemon services, `/usr/local/etc/rc.d/net-snmpd.sh` and `/usr/local/etc/rc.d/net-snmptrapd.sh` still exists
and you can see errors in the log:

Aug 11 07:13:55 pf100 snmptrapd[22327]: Warning: no access control information configured.   (Config search path: /usr/local/etc/snmp:/usr/local/share/snmp:/usr/local/lib/snmp:/root/.snmp) This receiver will *NOT* accept any incoming notifications.
Aug 11 07:13:55 pf100 snmptrapd[5684]: NET-SNMP version 5.9
Aug 11 07:23:18 pf100 snmptrapd[67585]: /var/etc/netsnmptrapd.conf: No such file or directory
Aug 11 07:23:18 pf100 snmpd[67344]: /var/etc/netsnmpd.conf: No such file or directory
Aug 11 07:23:18 pf100 snmpd[67344]: /var/etc/netsnmpd-users.conf: No such file or directory
Aug 11 07:23:19 pf100 snmptrapd[67585]: /var/etc/netsnmptrapd.conf: No such file or directory
Aug 11 07:23:19 pf100 snmpd[67344]: /var/etc/netsnmpd.conf: No such file or directory
Aug 11 07:23:19 pf100 snmpd[67344]: /var/etc/netsnmpd-users.conf: No such file or directory
Aug 11 07:23:19 pf100 snmpd[67344]: Warning: no access control information configured.   (Config search path: /usr/local/etc/snmp:/usr/

Actions #2

Updated by Renato Botelho over 2 years ago

  • Status changed from New to Feedback
  • Assignee set to Viktor Gurov

PR has been merged. Thanks!

Actions #3

Updated by Max Leighton over 2 years ago

  • Status changed from Feedback to Resolved

Tested on NET-SNMP 0.1.5_9.

/usr/local/etc/rc.d/net-snmpd.sh and /usr/local/etc/rc.d/net-snmptrapd.sh are removed after disabling the services. Marking the ticket resolved.

Actions

Also available in: Atom PDF