Brian Wipf brian
Tue Nov 14 13:45:48 PST 2006
When I try to run the launch_clusters.sh script, as included with  
Slony-I 1.2.1-RC1, I get the following error:

launch_clusters.sh: line 82: conditional binary operator expected
launch_clusters.sh: line 82: syntax error near `auxww'
launch_clusters.sh: line 82: `        if [[ PID=ps auxww | egrep "[s] 
lon -f $CONFIGPATH/conf/node${NODENUM}.conf" > /dev/null ]] ; then'

I'm trying to run the script using GNU bash, version 3.1.17(1)- 
release on SUSE Linux 10.1.

I changed line 82 to:

ps auxww | egrep "[s]lon -f $CONFIGPATH/conf/node${NODENUM}.conf" > / 
dev/null
if [[ $? -eq 0 ]] ; then

, which I believe should work.

Is the error I'm getting above an error in the script, or an  
incompatibility with bash?

Brian




More information about the Slony1-general mailing list