Failure to turn slave into member

58 views
Skip to first unread message

Petar Maymounkov

unread,
Apr 4, 2012, 4:10:21 PM4/4/12
to doo...@googlegroups.com
I have been unable to turn a slave into a member. I wonder if this is a commonly occurring problem.

I've tried a couple different sequences of commands (with 5 sec sleeps between them, just in case):

doozerd -l 127.0.0.1:8040 -w :8080
doozerd -l 127.0.0.1:8041 -w :8081 -a 127.0.0.1:8040
echo '' | doozer -a 'doozer:?ca=127.0.0.1:8040' set /ctl/cat/1 0

and 

doozerd -l 127.0.0.1:8040 -w :8080
echo '' | doozer -a 'doozer:?ca=127.0.0.1:8040' set /ctl/cat/1 0
doozerd -l 127.0.0.1:8041 -w :8081 -a 127.0.0.1:8040

I've tried these also across different machines.
I wonder if people tend to have this problem as well.

Thanks
Petar

Petar Maymounkov

unread,
Apr 4, 2012, 4:11:25 PM4/4/12
to doo...@googlegroups.com
By the way, in all examples below, I meant to write /ctl/cal

P

Blake Mizerany

unread,
Apr 6, 2012, 2:02:31 PM4/6/12
to doo...@googlegroups.com, doo...@googlegroups.com
Try:
printf ""

Instead if echo. The carriage return from echo could be casing the problem because it's a non-empty string.

Bobby Powers

unread,
Apr 10, 2012, 11:33:34 AM4/10/12
to doo...@googlegroups.com
there is also
$ echo -n ''
which doesn't add a trailing newline.

regards,

Reply all
Reply to author
Forward
0 new messages