Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: steve w on February 07, 2004, 08:26:15 PM

Title: SNMP Error
Post by: steve w on February 07, 2004, 08:26:15 PM
Greetings,

I just finished attempting an install of MRTG, and seem to be having the following SNMP error. When I type "/etc/init.d/snmpd status" it always tells me snmpd dead by subsys locked. When I delete the lock and attempt to start the snmpd, it gives me the same message. I'm running SME 6.0 final. Any ideas would be greatly appreciated.
-
Steve


SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
                  community: "public"
                 request ID: 741642712
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 450
SNMPGET Problem for dskPercent.1 dskPercent.1 sysUptime sysName on public@localhost
 at /usr/bin/mrtg line 1491
WARNING: Expected a number but got ''
WARNING: Expected a number but got ''
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
                  community: "public"
                 request ID: 741642713
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 450
SNMPGET Problem for ssCpuRawUser.0 ssCpuRawUser.0 sysUptime sysName on public@localhost
 at /usr/bin/mrtg line 1491
WARNING: Expected a number but got ''
WARNING: Expected a number but got ''
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
                  community: "public"
                 request ID: 741642714
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 450
SNMPGET Problem for ssCpuRawSystem.0 ssCpuRawSystem.0 sysUptime sysName on public@localhost
 at /usr/bin/mrtg line 1491
WARNING: Expected a number but got ''
WARNING: Expected a number but got ''
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
                  community: "public"
                 request ID: 741642715
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 450
SNMPGET Problem for ssCpuRawNice.0 ssCpuRawNice.0 sysUptime sysName on public@localhost
 at /usr/bin/mrtg line 1491
WARNING: Expected a number but got ''
WARNING: Expected a number but got ''
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
                  community: "public"
                 request ID: 741642716
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 450
SNMPGET Problem for ifInOctets.2 ifOutOctets.2 sysUptime sysName on public@localhost
 at /usr/bin/mrtg line 1491
WARNING: Expected a number but got ''
WARNING: Expected a number but got ''
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
                  community: "public"
                 request ID: 741642717
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 450
SNMPGET Problem for ifInOctets.3 ifOutOctets.3 sysUptime sysName on public@localhost
 at /usr/bin/mrtg line 1491
WARNING: Expected a number but got ''
WARNING: Expected a number but got ''
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
                  community: "public"
                 request ID: 741642718
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 450
SNMPGET Problem for sysUptime sysName on public@localhost
 at /usr/bin/mrtg line 339
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost" [127.0.0.1].161)
                  community: "public"
                 request ID: 741642719
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 450
SNMPGET Problem for sysUptime sysName on public@localhost
 at /usr/bin/mrtg line 339
Title: SNMP Error
Post by: mbachmann on February 09, 2004, 11:27:02 AM
Funny, i got the same today. Installed MRTG a week ago, no probs.

It is able to read the SNMP string but does not get a return value from 127.0.0.1:161. Somethings blocking it.
Title: SNMP Error
Post by: Anonymous on February 10, 2004, 09:20:39 AM
Now it's gone. Monitors as like nothing happend.
Title: SNMP error gone
Post by: Steve w on February 11, 2004, 07:13:29 PM
Well,

I decided I would make a posting here just to say how I resolved the problem, for people in the future.

To get rid of the locked state, you need to erase your existing snmpd.conf file, but be careful, you may be removing the settings that something you're running requires (like MRTG).

shell> rm /etc/snmp/snmpd.conf
then remove the lock itself
shell> rm /var/lock/subsys/snmpd
then restart snmp
shell> service snmpd restart
to confirm it's running use this command:
shell> service snmpd status
-
Steve@v-r.net