RE: Can't start net-snmp
"David Hodgson" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Josef, I downloaded the source files from net-snmp.org and installed them. Do you recommend I use red Hat's rpm? Dave -----Original Message----- From: Josef Moellers [mailto:[email protected]] Sent: 27 October 2006 11:57 To: dan hennessey Cc: David Hodgson; [email protected] Subject: Re: Can't start net-snmp dan hennessey wrote: > David, > > The "service" command is Redhat specific, check "man chkconfig". > > In order for the "service snmpd start" command to work, you need to have > registered the snmpd init script by using "chkconfig --add". I don't > think that building net-snmp from source provides you with such an init > script but you can get one from the "official" Redhat net-snmp RPM > package if needed. If you need any help with that let me know. Not quite. "service" scans /etc/init.d for the given service name. In essence: if [ -x "${SERVICEDIR}/${SERVICE}" ]; then ... else echo $"${SERVICE}: unrecognized service" >&2 exit 1 fi chkconfig (or the newer insserv) create appropriate symbolc links from the relevant /etc/rc.d/rc<n>.d directory to /etc/init.d/<service>, so that the service is started at the proper time when the system enters a new runlevel next time. So, either /etc/init.d/snmpd does not exist or it is not executable. Question to David: did you install RedHat's net-snmp-* rpm or did you build from scratch? Josef >>Hi folks, >> >> >> >>I've managed to install net-snmp successfully on RHEL4. I ran the >>snmpconf program and created my snmpd.conf file. But when I type >>"service snmpd start" I get the error... >> >> >> >>snmpd: unrecognised service >> >> >> >>thanks >> >> >> >>David Hodgson >> >> >> >> >> >> >> >>Buchan House >>Carnegie Campus >> >>Dunfermline >> >>Fife >> >>KY11 8PL >> >> >> >>Direct: +44 (0) 1383 748050 >> >>Mobile: +44 (0) 774 500 7888 >> >>Switchboard: +44 (0) 1383 748000 >> >>Fax: +44 (0) 1383 748001 >> >>Website: www.vianet.co.uk >> >> >> >> >>------------------------------------------------------------------------- >>Using Tomcat but need to do more? Need to support web services, security? >>Get stuff done quickly with pre-integrated technology to make your job easier >>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>_______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users > > > ************************************************************************ > DISCLAIMER > The information contained in this e-mail is confidential and is intended > for the recipient only. > If you have received it in error, please notify us immediately by reply > e-mail and then delete it from your system. Please do not copy it or > use it for any other purposes, or disclose the content of the e-mail > to any other person or store or copy the information in any medium. > The views contained in this e-mail are those of the author and not > necessarily those of Admenta UK Group. > ************************************************************************ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Net-snmp-users mailing list > [email protected] > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users -- Josef Möllers (Pinguinpfleger bei FSC) If failure had no penalty success would not be a prize -- T. Pratchett ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users