Re: LDAP subagent questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kevin M. Myer wrote:

Hello,

I'm working through some of the documentation for the ldap-agent at http://www.redhat.com/docs/manuals/dir-server/ag/7.1/snmp.html (although with Fedora Directory Server). I have a simple ldap-agent.conf file in /opt/fedora-ds/slapd-instance/config. The documentation states that a config item of "server" should be specified that points to the log directory of the Directory Server instance to be monitored. I found that it balked if I did that:

ldap-agent: Error opening server config file: /opt/fedora-ds/slapd-instance/logs/config/dse.ldif

so I changed the server value to be just /opt/fedora-ds/slapd-instance.

The documentation states that the "server" parameter needs to be set to the log directory of the slapd instance you want to monitor. Here is the example from the Admin Guide:

server /opt/redhat-ds/slapd-phonebook/logs


How are you starting the subagent? Are you passing it the full path to the ldap-agent config file you created? Your command should be something like:

./ldapagent /opt/redhat-ds/ldap-agent.conf


-NGK


Error message goes away but now when I try to start ldap-agent, I get:

ldap-agent: Not started!  Check log file for details.

And if I check the log file for details, I see:

2005-11-30 16:58:21 Starting ldap-agent...

The -D option generates no more additional information.

On the server, net-snmp is running, with agentx support, listening to a socket in /var/agentx/master. The documentation states that version 5.2.1 is required, but I'm only running 5.1.2.

Now I found that if I disabled iptables on this server, the agent came up, one time. Thought that was it but then I found if I killed it and restarted it, it didn't come up. And then with iptables enabled again, it did come up. And then it didn't. You get the picture - its very inconsistent :)

So, anyone have this running reliably?

Kevin


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux