[LinuxFailSafe] samba script - runtime error.
Kashif Shaikh
kshaikh@consensys.com
11 Feb 2003 10:17:57 -0500
That's bash balking on a script error. Providing samba1's resource
parameters would help in this case;) Or even better, add "-vx" to the
top of "remove_name" file, i.e. "#!/bin/bash -vx". The output should be
dumped into the script_nodename log in /var/log/failsafe.
Kashif
On Tue, 2003-02-11 at 03:33, Marcin Przyczyna wrote:
> Hi all,
>
> on my production Server, when I try to deactivate resource group
> I got following log message (/var/log/messages, SuSE 7.3):
>
> _______________________________________________________________
> Feb 8 23:03:42 samba1l ha_script[17847]: <<CI> N script 0> Sat Feb 8
> 23:03:42 <N Samba-stop script 17714:0> Samba:
> +removing resource samba1 failed
>
> Feb 8 23:03:42 samba1l ha_script[17851]: <<CI> N script 0> Sat Feb 8
> 23:03:42 <N Samba-stop script 17714:0>
> /usr/lib/failsafe/resource_types/Samba/remove_name: [: =: unary operator
> expected
>
> Feb 8 23:03:42 samba1l ha_script[17856]: <<CI> N script 0> Sat Feb 8
> 23:03:42 <N Samba-stop script 17714:0> Samba: Failed to remove NetBIOS name
> samba1
>
> Feb 8 23:03:42 samba1l ha_srmd[15756]: <<CI> E srm 1> CI_FAILURE, ERROR:
> Action (stop) for resource (samba1) of type
> +(Samba): resource group (basic)
> failed with status (failed/running)
>
> Feb 8 23:03:42 samba1l ha_srmd[15756]: <<CI> N srm 1> Check script
> (/usr/lib/failsafe/resource_types/Samba/stop) logs
> +on this node for more
> error information
>
> __________________________________________________________________
>
> I have basically two clusters, production and development, with the same
> configuration. I got problems on production cluster only. That's why I can't
> understand the phrase " ... unary operator expected".
> If it would be a software problem, should I got errors on both
> environments, correct ?
>
> Regards,
> mpr.
>
>
> --
> Marcin Przyczyna
> Net & Sys Admin,
> citiworks AG
> mpr@citiworks.de
> +49 89 9925 75356
> _______________________________________________
> LinuxFailSafe mailing list
> LinuxFailSafe@lists.community.tummy.com
> http://lists.community.tummy.com/mailman/listinfo/linuxfailsafe