Takekazu Okamoto wrote:
In addition, following change was made.
Filesystem RA
node2:/usr/lib/ocf/resource.d/heartbeat # diff -u Filesystem.org
Filesystem
--- Filesystem.org 2007-12-29 20:17:38.000000000 +0900
+++ Filesystem 2007-12-29 20:18:06.000000000 +0900
@@ -477,7 +477,7 @@
# Duplicate removal - start can contain nodes
# already on the active list, confusing the
# script later on:
- for UNAME in "$n_active"; do
+ for UNAME in $n_active; do
n_start=`echo ${n_start} | sed
s/$UNAME//`
done
# Merge pruned lists again:
@@ -490,7 +490,7 @@
stop)
# remove unames from notify_stop_uname; these
have been
# stopped and can no longer be considered
active.
- for UNAME in "$n_stop"; do
+ for UNAME in $n_stop; do
n_active=`echo ${n_active} | sed
s/$UNAME//`
done
;;
<<
Because
error
Dec 29 20:13:10 node2 lrmd: [3805]: info: RA output:
(configstoreclone:1:start:stderr) sed: -e expression #1, char 0: no
previous regular expression
Dec 29 20:13:13 node2 lrmd: [3805]: info: RA output:
(configstoreclone:0:start:stderr) sed: -e expression #1, char 7:
unterminated `s' command
seems like $UNAME is empty which would result in:
$ echo |sed 's///'
sed: -e expression #1, char 0: no previous regular expression
the second error _could_ be like:
$ echo |sed 's/\//'
sed: -e expression #1, char 5: unterminated `s' command
can you provide the contents of $n_stop and n_active ?
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
____________________________________________________________________
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems