Do you something in your system log?<br><br>this it's so strange /usr/share/cluster/script.sh: line 115:  5532 Segmentation fault<br><br><br><br><div class="gmail_quote">Il giorno 28 febbraio 2012 13:00, C. L. Martinez <span dir="ltr"><<a href="mailto:carlopmart@gmail.com">carlopmart@gmail.com</a>></span> ha scritto:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Feb 28, 2012 at 12:49 PM, emmanuel segura <<a href="mailto:emi2fast@gmail.com">emi2fast@gmail.com</a>> wrote:<br>

> sorry martinez<br>
><br>
> but i told you to try with rg_test start NOT noop<br>
><br>
> because like the we can see every action when rgmanager try to make start<br>
> the service<br>
><br>
<br>
</div>Ok, start doesn't reports any problem, but status:<br>
<br>
[root@clunode01 ~]# rg_test test /etc/cluster/cluster.conf status<br>
<div><div class="h5">service splunksrv-svc<br>
Running in test mode.<br>
Loading resource rule from /usr/share/cluster/SAPInstance<br>
Loading resource rule from /usr/share/cluster/nfsserver.sh<br>
Loading resource rule from /usr/share/cluster/ocf-shellfuncs<br>
Loading resource rule from /usr/share/cluster/lvm_by_vg.sh<br>
Loading resource rule from /usr/share/cluster/ip.sh<br>
Loading resource rule from /usr/share/cluster/ASEHAagent.sh<br>
Loading resource rule from /usr/share/cluster/lvm_by_lv.sh<br>
Loading resource rule from /usr/share/cluster/samba.sh<br>
Loading resource rule from /usr/share/cluster/checkquorum<br>
Loading resource rule from /usr/share/cluster/service.sh<br>
Loading resource rule from /usr/share/cluster/apache.sh<br>
Loading resource rule from /usr/share/cluster/svclib_nfslock<br>
Loading resource rule from /usr/share/cluster/script.sh<br>
Loading resource rule from /usr/share/cluster/mysql.sh<br>
Loading resource rule from /usr/share/cluster/tomcat-6.sh<br>
Loading resource rule from /usr/share/cluster/SAPDatabase<br>
Loading resource rule from /usr/share/cluster/oralistener.sh<br>
Loading resource rule from /usr/share/cluster/vm.sh<br>
Loading resource rule from /usr/share/cluster/oracledb.sh<br>
Loading resource rule from /usr/share/cluster/lvm.sh<br>
Loading resource rule from /usr/share/cluster/openldap.sh<br>
Loading resource rule from /usr/share/cluster/<a href="http://fence_scsi_check.pl" target="_blank">fence_scsi_check.pl</a><br>
Loading resource rule from /usr/share/cluster/nfsclient.sh<br>
Loading resource rule from /usr/share/cluster/postgres-8.sh<br>
Loading resource rule from /usr/share/cluster/fs.sh<br>
Loading resource rule from /usr/share/cluster/netfs.sh<br>
Loading resource rule from /usr/share/cluster/named.sh<br>
Loading resource rule from /usr/share/cluster/nfsexport.sh<br>
Loading resource rule from /usr/share/cluster/orainstance.sh<br>
Loading resource rule from /usr/share/cluster/clusterfs.sh<br>
Checking status of splunksrv-svc...<br>
</div></div><debug>  Checking 192.168.44.4, Level 10<br>
<debug>  192.168.44.4 present on eth0<br>
<debug>  Link for eth0: Detected<br>
<debug>  Link detected on eth0<br>
<debug>  Local ping to 192.168.44.4 succeeded<br>
<info>   Executing /data/config/etc/init.d/splunksrv-cluster status<br>
<div><div class="h5">+ . /etc/init.d/functions<br>
++ TEXTDOMAIN=initscripts<br>
++ umask 022<br>
++ PATH=/sbin:/usr/sbin:/bin:/usr/bin<br>
++ export PATH<br>
++ '[' -z '' ']'<br>
++ COLUMNS=80<br>
++ '[' -z '' ']'<br>
+++ /sbin/consoletype<br>
++ CONSOLETYPE=pty<br>
++ '[' -f /etc/sysconfig/i18n -a -z '' -a -z '' ']'<br>
++ . /etc/profile.d/lang.sh<br>
++ unset LANGSH_SOURCED<br>
++ '[' -z '' ']'<br>
++ '[' -f /etc/sysconfig/init ']'<br>
++ . /etc/sysconfig/init<br>
+++ BOOTUP=color<br>
+++ RES_COL=60<br>
+++ MOVE_TO_COL='echo -en \033[60G'<br>
+++ SETCOLOR_SUCCESS='echo -en \033[0;32m'<br>
+++ SETCOLOR_FAILURE='echo -en \033[0;31m'<br>
+++ SETCOLOR_WARNING='echo -en \033[0;33m'<br>
+++ SETCOLOR_NORMAL='echo -en \033[0;39m'<br>
+++ PROMPT=yes<br>
+++ AUTOSWAP=no<br>
+++ ACTIVE_CONSOLES='/dev/tty[1-2]'<br>
+++ SINGLE=/sbin/sushell<br>
++ '[' pty = serial ']'<br>
++ __sed_discard_ignored_files='/\(~\|\.bak\|\.orig\|\.rpmnew\|\.rpmorig\|\.rpmsave\)$/d'<br>
+ '[' '!' -d /data/splunk/instance/historydb ']'<br>
+ prog=/data/soft/splunk/bin/splunk<br>
+ pid_files='/data/soft/splunk/var/run/splunk/splunkd.pid<br>
/data/soft/splunk/var/run/splunk/splunkweb.pid'<br>
+ options_up=start<br>
+ options_down=stop<br>
+ case "$1" in<br>
</div></div>+ status<br>
<div class="im">+ for i in '$pid_files'<br>
+ status -p /data/soft/splunk/var/run/splunk/splunkd.pid<br>
</div>/usr/share/cluster/script.sh: line 115:  5532 Segmentation fault<br>
${OCF_RESKEY_file} $1<br>
<err>    script:splunksrv-cluster: status of<br>
<div class="im">/data/config/etc/init.d/splunksrv-cluster failed (returned 139)<br>
[script] script:splunksrv-cluster: status of<br>
/data/config/etc/init.d/splunksrv-cluster failed (returned 139)<br>
</div>Status check of splunksrv-svc failed<br>
<br>
Problem appears with this line:<br>
<br>
113 # Don't need to catch return codes; this one will work.<br>
114 ocf_log info "Executing ${OCF_RESKEY_file} $1"<br>
115 ${OCF_RESKEY_file} $1<br>
<br>
Then I don't understand why. From command line works, when system<br>
starts and checks from a cron job works but when rgmanager does<br>
status, no .... why??<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>esta es mi vida e me la vivo hasta que dios quiera<br>