Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

Reg :- LDAP OCF script Error

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


great_guy001 at yahoo

Sep 2, 2010, 2:30 AM

Post #1 of 2 (268 views)
Permalink
Reg :- LDAP OCF script Error

Hi All,
            I am using the LDAP ocf script available at http://www.gossamer-threads.com/lists/linuxha/users/55517.
 
I put it inside /usr/lib/ocf/resource.d/heartbeat directory on linux box.
 
But when I try to configure LDAP resource using it by the entering the following comand it throws the following error messages :-
 
crm(live)configure# primitive LDAP ocf:heartbeat:ldap op monitor interval="10s" timeout="30s"
 
ERROR: LDAP: required parameter ldap_port not defined
ERROR: LDAP: required parameter ldap_pidfile not defined
ERROR: LDAP: required parameter ldap_bin not defined
ERROR: LDAP: required parameter ldap_urls not defined
ERROR: LDAP: required parameter ldap_user not defined

I checked all the above mentioned variables are properly defned in the script.
Please help me out on what is wrong with this.
 
Thanks,
great guy...
 
 
 

_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


dejanmm at fastmail

Sep 23, 2010, 3:38 AM

Post #2 of 2 (219 views)
Permalink
Re: Reg :- LDAP OCF script Error [In reply to]

Hi,

On Thu, Sep 02, 2010 at 03:00:11PM +0530, abc efg wrote:
> Hi All,
>             I am using the LDAP ocf script available at http://www.gossamer-threads.com/lists/linuxha/users/55517.
>  
> I put it inside /usr/lib/ocf/resource.d/heartbeat directory on linux box.
>  
> But when I try to configure LDAP resource using it by the entering the following comand it throws the following error messages :-
>  
> crm(live)configure# primitive LDAP ocf:heartbeat:ldap op monitor interval="10s" timeout="30s"
>  
> ERROR: LDAP: required parameter ldap_port not defined
> ERROR: LDAP: required parameter ldap_pidfile not defined
> ERROR: LDAP: required parameter ldap_bin not defined
> ERROR: LDAP: required parameter ldap_urls not defined
> ERROR: LDAP: required parameter ldap_user not defined
>
> I checked all the above mentioned variables are properly defned in the script.
> Please help me out on what is wrong with this.

You need to set these parameters (params) in the primitive in the
crm shell. The parameters are marked as required. Note that this
OCF RA agent may not be safe to use as is.

Thanks,

Dejan

> Thanks,
> great guy...
>  
>  
>  
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.