Bug 10755 - problem starting snmpd
Summary: problem starting snmpd
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ucd-snmp
Version: 6.2
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-04-12 15:35 UTC by jbou
Modified: 2015-03-05 01:08 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2001-05-07 18:34:11 UTC


Attachments (Terms of Use)

Description jbou 2000-04-12 15:35:17 UTC
If you edit the /etc/snmp/snmpd.conf file to activate the access ej:

com2sec local     localhost       public
com2sec mynetwork 200.33.188.0/24      public
group MyROGroup  any        local
group MyROGroup  any        mynetwork
view all    included  .1                               80
access MyROGroup ""      any       noauth    0      all    none   none

Then if you start the daemon with /etc/rc.d/init.d/snmpd start
it starts and dies inmediately, if you start the daemon manualy
/usr/sbin/snmpd it starts and works as expected, I dont know if is
a problem of the pakage or a problem in the function daemon of the
/etc/rc.d/init.d/functions file called by the init script.

Comment 1 Phil Knirsch 2001-06-15 17:15:20 UTC
OK, the commented examples seem to be a little wrong in the snmpd.conf file.
Here is a correct version which will work with the initscript startup (it seems
as if the daemon script kills the process if it returns a none 0 exit code,
which snmpd obviously and unfortunatelly does if it encounters errors in the
config file(:

com2sec local     localhost       public
com2sec mynetwork 200.33.188.0/24      public
group MyROGroup  usm        local
group MyROGroup  usm        mynetwork
view all    included  .1                               80
access MyROGroup ""      any       noauth    exact      all    none   none


Read ya, Phil


Note You need to log in before you can comment on or make changes to this bug.