Failed to connect to the agentx master agent (/var/agentx/master)
"Richard Wellhouse" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am using net-snmp v5.2.2 on a SLES 9 SP2 system. When I boot my server I get the following message in the snmpd.log. snmpd: create_trap_session: Unknown host (udp:host.name.server.com:162) /opt/novell/snmp/snmpd.conf: Line 36: Error: cannot create trapsink: host.name.server.com Turning on AgentX master support NET-SNMP version 5.2.2 In my /var/log/boot.msg file snmpd load with no errors, BUT when the subagent load I get the following error. Starting NDS SNMP Subagent ... Please Wait... Warning: Failed to connect to the agentx master agent (/var/agentx/master): Unknown host (/var/agentx/master) (No such file or directory) Warning: Failed to connect to the agentx master agent (/var/agentx/master): Unknown host (/var/agentx/master) (No such file or directory) Done I do have a /var/agentx/master file. Some additional notes. If I stop the subagent and stop snmpd and then restart them without restarting the system they all load fine with no errors. I have another server using the same configuration and I do not get the above errors when booting. All loads fine on the second system. One visual difference I have seen is the /var/agentx/master file on the working system looks like this. [Mon Jan 09 16:00:24]<~> # ll /var/agentx total 0 srwxr-xr-x 1 root root 0 Jan 6 15:37 master= [Mon Jan 09 16:00:31]<~> # On the failing system it looks like this. Server B:/var/log # ll /var/agentx total 1 drwx------ 2 root root 72 Jan 9 15:34 . drwxr-xr-x 21 root root 624 Jan 6 11:23 .. srwxr-xr-x 1 root root 0 Jan 9 15:34 master Notice the = (equals sign)? Not sure if that adds any clues or not. Again the one with the = sign works fine during boot. Any thoughts? Thanks, Rich