Operating System - HP-UX
1826267 Members
3621 Online
109692 Solutions
New Discussion

Re: Issue with /var/adm/snmpd.log file

 
OLIVA_1
Regular Advisor

Issue with /var/adm/snmpd.log file

Hello,

I have an issue with snmpdm daemon. After rebooting server snmpdm daemon fill /var/adm/snmpd.log file with the following message :

AgentSocketAccept: accept
at line 385 in file ../tcp.c
GetSubagentEvent: AgentSocketAccept failed
at line 1910 in file ../master.c


Then I have a FS full on /var. After stoping/restarting snmpdm daemon all is fine.

Someone can help me ?

Thanks.
2 REPLIES 2
Peter Godron
Honored Contributor

Re: Issue with /var/adm/snmpd.log file

Hi,
can you please double check your /etc/snmpd.conf.

Has anything changed on the system (patches/updates)? Any network changes (firewalls)?
As a last resort check the code mentioned : line 385 tcp.c and 1910 master.c
Prashanth.D.S
Honored Contributor

Re: Issue with /var/adm/snmpd.log file

Hi,

These messages are harmless, so you should be able to turn it off using this
method:

a) modify /etc/rc.config.d/SnmpMaster to have this line at the end of the file:
SNMP_MASTER_OPTIONS="-m 0 &"

b) then restart snmpd thus:
To stop it:
/sbin/rc2.d/./S565SnmpMib2 stop
/sbin/rc2.d/./S565SnmpHpunix stop
/sbin/rc2.d/./S560SnmpMaster stop

and to start it:
/sbin/rc2.d/./S560SnmpMaster start
/sbin/rc2.d/./S565SnmpHpunix start
/sbin/rc2.d/./S565SnmpMib2 start



Best Regards,
Prashanth