On Wednesday 17 November 2010 13:09:01 Senftleben, Stefan, ITSC wrote:
> Hi,
> 
> okay, these infos I found in syslog. But no lrmd-log entries canbe found.
> 
> 
> r...@lxds05:~# cat /var/log/syslog|grep pengi|grep syslog
> Nov 17 12:47:22 lxds05 pengine: [1089]: ERROR: unpack_rsc_op: Hard error -
> syslog-ng:0_monitor_0 failed with rc=6: Preventing syslog-ng-clone from
> re-starting anywhere in the cluster Nov 17 12:47:22 lxds05 pengine:
> [1089]: ERROR: unpack_rsc_op: Hard error - syslog-ng:0_monitor_0 failed
> with rc=6: Preventing syslog-ng-clone from re-starting anywhere in the
> cluster Nov 17 12:47:22 lxds05 pengine: [1089]: notice: clone_print: 
> Clone Set: syslog-ng-clone Nov 17 12:47:22 lxds05 pengine: [1089]: notice:
> short_print:      Stopped: [ syslog-ng:0 syslog-ng:1 ] Nov 17 12:47:22
> lxds05 pengine: [1089]: info: native_color: Resource syslog-ng:0 cannot
> run anywhere Nov 17 12:47:22 lxds05 pengine: [1089]: info: native_color:
> Resource syslog-ng:1 cannot run anywhere Nov 17 12:47:22 lxds05 pengine:
> [1089]: notice: LogActions: Leave resource syslog-ng:0  (Stopped) Nov 17
> 12:47:22 lxds05 pengine: [1089]: notice: LogActions: Leave resource
> syslog-ng:1  (Stopped) Nov 17 12:48:00 lxds05 pengine: [1089]: ERROR:
> unpack_rsc_op: Hard error - syslog-ng:0_monitor_0 failed with rc=6:
> Preventing syslog-ng-clone from re-starting anywhere in the cluster
> 
> 
> Question:
>       I executed following commands in /usr/lib/ocf/resource.d/heartbeat/ :
> OCF_ROOT=/usr/lib/ocf
> OCF_FUNCTIONS_DIR=${OCF_ROOT}/resource.d/heartbeat
> 
>       Executing the RA manually:
> r...@lxds05:/usr/lib/ocf/resource.d/heartbeat# ./syslog-ng
> ./syslog-ng: Zeile 27: /resource.d/heartbeat/.ocf-shellfuncs: No such file
> or directory ./syslog-ng: Zeile 216: ocf_log: Kommando nicht gefunden.
> 
> What command is needed to run the RA manually?
> 
> Thanks
> Stefan

Hi,

The lines above the ERROR messages in the syslog would be interesting. Please 
check on both nodes for output of the resource agent.

export OCF_ROOT=/usr/lib/ocf
/usr/lib/ocf/resource.d/heartbeat/syslog-ng meta-data

this will tell you that the configfile parameter is mandatory.

so have to set something like
export OCF_RESKESY_configfile=/etc/syslog-ng.conf

Greetings,


-- 
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München

Tel: (0163) 172 50 98

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

Reply via email to