I know this is a common question, but I have not found a satsifactory solution yet, so pardon me for posting similar questions.
My problem is the log /var/adm/messages is filling up with this entry every few minutes Please refer below. Oct 4 21:39:46 host last message repeated 3 times
Oct 4 21:41:47 host /usr/lib/snmp/snmpdx: [ID 702911 daemon.error] bind() failed on UDP port 161 [errno: Address already in use(125)]
System info :SunOS xxxxxx 5.8 Generic_117350-44 sun4u sparc SUNW,Sun-Fire-V240
Now I have already disabled the native Sun's snmp daemons, and using Net-snmp
When I do lsof I get the following result snmpd 2264 root 8u IPv4 0x3000dbe1e70 0t0 TCP *:199 (LISTEN)
snmpd 2264 root 9u IPv4 0x3000573edb0 0t0 UDP *:62775 (Idle)
snmpd 2264 root 11u IPv4 0x3000dbe0c70 0t0 UDP *:161 (Idle)
The K stands for "kill". You have disabled Sun's scripts to shutdown Sun's snmp. The S links are for startup. Try disabling them too. What is your motive for switching to a new snmp server?
S link script for sun's snmp was already renamed (disabled). rc3.d:
s76snmpdx s77dmi <<<Sun's Snmp startup script link files
S99netsnmp <<<netsnmp startup script link
Hi all,
Error occurred while making the net-snmp-5.4.4 on Solaris 5.10 version.
Environment
- Solaris 5.10-x86
- Net-SNMP-5.4.4.tar.gz
- Path (/etc/profile)
PATH=/usr/local/bin:$PATH
export PATH
LD_LIBRARY_PATHUSR=/usr/ccs/bin:
export LD_LIBRARY_PATH
Error01 - summary
***... (3 Replies)
When I run a script that polls a router I get the following error from net-snmp. I can not seem to find a straight answer. Could my mib files be corrupt?
xxx-xxx:/etc/sma/snmp/mibs# perl /export/home/user/perl/test.pl
Unlinked OID in SNMPv2-MIB: snmp ::= { mib-2 11 }
Undefined identifier:... (2 Replies)
on my sol10x86 10/08 box, i needed to remove the native snmp agent (sma) for net-snmp-5.4.2.1. once net-snmp was configured and installed, i reconfigured the appropriate files of smf and attempted to restart. service was put into maintenance mode:
... (1 Reply)
Hi,
I am trying to compile the source code for Net-SNMP-5.4.2.1 using the gcc compiler-3.4.6 and 3.4.3 but I am getting the follwoing error with perl enabled:
/bin/sh ../libtool --mode=link gcc -g -O2 -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe -Wdeclaration-after-statement... (2 Replies)
I'm unable to see any traps being sent from my Solaris 10 server using Net-snmp 5.4.2 Here is my snmp conf file. Please let me know if there are any syntax issues you might notice.
cat /etc/sma/snmp/snmpd.conf
###########################################################################
#
#... (1 Reply)
hello
I am running solaris 8 sparc.
I installed net-snmp 5.4.1 (compiled it from tar file).
When I do snmpwalk from another server, I receive a partial list of OIDs then it stops and gives 'timeout. No response...'
another snmpwalk will directly timeouts.
I compiled again the binaries... (1 Reply)
All,
I downloaded and installed the following net-snmp from the sourceforge.net website on a Solaris 9 server with the entire collection installed:
net-snmp-5.1.2-SunOS_5.9_sun4u.tar.gz
with no errors.
I attempt to run snmpget and I get the following error:
ld.so.1: snmpget: fatal:... (1 Reply)