This is a discussion on Re: Can't connect to master agent within the SNMP Users forums, part of the Networking and Network Related category; Kelby Rogers wrote: > = > Dave Shield wrote: > = >>On 21/08/06, Kelby Rogers <kelby.rogers@...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Kelby Rogers wrote:
> = > Dave Shield wrote: > = >>On 21/08/06, Kelby Rogers <kelby.rogers@tait.co.nz> wrote: >> = >> >>>When I run the example-demon from the tutorial I get the following >>>message "Warning: Failed to connect to the agentx master agent >>>(/var/agentx/master): Unknown host (/var/agentx/master) (Connection >>>refused)" >>> >>>The /var/agentx/master file exists, but it is 0 bytes. >>> = >>> >> >>A zero-length file is to be expected - it's a socket, not a regular file. >>What is the ownership (and permissions) on this file? >> = >> > The owner and group are both 'root'. The permissions are -rwxr-xr-x This should be srwxr-xr-x Who cretaed this file? It should be created implicitly by the master = agent if it sees the "agentx master" directive (or the appropriate = command-line switch). >>What user are you running the example-demon as? >> = >> > I'm running the example-demon as 'root'. (via the sudo command) > = >>What happens when you close down the master agent - does the >>/var/agentx/master socket disappear? >> = >> > No, /var/agentx/master socket is still there when I close the master agen= t. Dunno if it must be removed explicitly, but I'm currently investigating = a crashing master and, while no snmpd is running after a crash, the = socket is still there. -- = Josef M=F6llers (Pinguinpfleger bei FSC) If failure had no penalty success would not be a prize -- T. Pratchett ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easi= er Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=...63057&dat=3D1= 21642 _______________________________________________ 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 |