Shard start problem

Added by player99 over 7 years ago

Hi,
I am trying to run shard on ubuntu 11.04, I've done everything as said in the tutorials, but when I run 'shard start' I get these errors:

$ shard start
[: 22: start: unexpected operator
[: 35: start: unexpected operator
[: 42: start: unexpected operator
[: 55: start: unexpected operator
[: 66: start: unexpected operator
[: 77: start: unexpected operator
[: 88: start: unexpected operator

any idea? thank you :)


Replies (1)

RE: Shard start problem - Added by molator over 7 years ago

It's a shell issue as written in the wikis:

http://dev.ryzom.com/wiki/ryzom/EverythingServerUbuntu

Fix shell problems:

sed -i 's:/bin/sh:/bin/bash:g' $RYZOM_PATH/tools/scripts/linux/shard

sed -i 's:/bin/sh:/bin/bash:g' $RYZOM_PATH/server/shard.screen.rc

or

http://dev.ryzom.com/wiki/ryzom/ConfigureForLinux

Ubuntu users, the 'shard/screen' scripts included will not work properly with the default 'dash' shell included in order to fix this run "sudo dpkg-reconfigure dash" and select "no". Alternatively you could modify both code/ryzom/tools/scripts/linux/shard and code/ryzom/server/shard.screen.rc and find/replace any /bin/sh to /bin/bash.

(1-1/1)