This is a discussion on Connection from UDP: [127.0.0.1] REFUSED in snmp.log file within the SNMP Users forums, part of the Networking and Network Related category; Hi I have installed the net-snmp-5.2.1_2 package on a FreeBSD 4.8-RELEASE-p32. I installed ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi
I have installed the net-snmp-5.2.1_2 package on a FreeBSD 4.8-RELEASE-p32. I installed the package from ports, and compiled ok as it seemed. I then followed the snmpconf guide located here: http://silverwraith.com/papers/freebsd-snmp.php My problem is that all UDP connections from localhost/lan/wan ip seems to be refused, and my snmpd.log file has these entrys: Connection from UDP: [127.0.0.1]:2656 REFUSED Connection from UDP: [10.0.0.7]:2657 REFUSED etc. etc. My snmpd.conf looks like this: syslocation Sweden sysservices 78 rocommunity local localhost I cannot start the snmp daemon if i have an agentaddress localhost line in there. It creates the follwoing entry in snmpd.log: Error opening specified endpoint "127.0.0.1" Server Exiting with code 1 i've tried localhost, 127.0.0.1:161 etc. but the daemon wont start when this line is added. I i edit snmpd.conf manually and add the agentaddress line, while the daemon is running, and restart the daemon with kill -s HUP pid then it doesn't exit. I start the daemon as root, i've checked with sockstat | grep 161 that no other app is using the port, and i have tried ports above 1024. I have google'd using the error codes but cannot seem to find the solution. Is my problem with the refused connection entrys related to the fact that i cant add the agentaddress line in my config, or isn't it needed? /Nik ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |