On 2013-01-23 14:11, Dejan Muhamedagic wrote:
I fixed slapd startup problem by changing resource agent script: --- slapd.orig 2013-01-22 17:23:42.266314000 +0400 +++ slapd 2013-01-22 17:23:12.094422000 +0400 @@ -299,6 +299,7 @@ slapd_start() local reason local result local state + local pid_dirslapd_status `slapd_pid`; state=$? @@ -324,6 +325,12 @@ slapd_start() options="$options $parameters" fi + pid_dir="/var/run/slapd" + if [ ! -d $pid_dir ]; then + mkdir -p $pid_dir + chown ldap:ldap $pid_dir + fi + if [ -n "$services" ]; then $slapd -h "$services" $options 2>&1; result=$? elseSimilar code is already executed in slapd_validate_all. [...]
woops, i missed that ;) Cheers, Raoul -- ____________________________________________________________________ DI (FH) Raoul Bhatia M.Sc. email. [email protected] Technischer Leiter IPAX - Aloy Bhatia Hava OEG web. http://www.ipax.at Barawitzkagasse 10/2/2/11 email. [email protected] 1190 Wien tel. +43 1 3670030 FN 277995t HG Wien fax. +43 1 3670030 15 ____________________________________________________________________ _______________________________________________ Pacemaker mailing list: [email protected] http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
