Re: Can't connect to master agent

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@...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-22-2006
Josef Moellers
 
Posts: n/a
Default Re: Can't connect to master agent

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:10 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0