This line is in a if condition "if $STOP && $FORCE ;" and it should not go
to this line. I can see difference in our bash versions, ideally that
should not be a problem but looks like it is. What version/flavor of linux
you are using? I may need to debug it on that version.

bash --version
GNU bash, version 4.1.2(1)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

On Sat, Oct 11, 2014 at 2:23 PM, K Yoshimoto <[email protected]> wrote:

>
> It looks like this line:
>
>                 f_split=(${f//_/ });
>
>
> apache-airavata-server-0.14-SNAPSHOT/bin$ sh airavata-server.sh
>
> ...._....................._..............._...._......................_.........
> .../ \..._.__...__._..___| |__...___...../
> \..(_)_.__.__.___...____._|.|_.__._..
> ../ _ \.| '_ \./ _` |/ __| '_ \./ _ \.../ _ \.| | '__/ _` \ \./ / _` | __/
> _` |.
> ./ ___ \| |_) | (_| | (__| |.| |  __/../ ___ \| | |.| (_| |\ V / (_| | ||
> (_| |.
> /_/...\_\
> .__/.\__,_|\___|_|.|_|\___|./_/...\_\_|_|..\__,_|.\_/.\__,_|\__\__,_|.
>
> ........|_|.....................................................................
>
> ................................................................................
>
> ................,+????++~..~~++..+????????+??++.++~...~+=???+++.................
>
> ..............:???????....:::...~??????????????.~..::...=????????...............
>
> ............????????..~~..?????..??????????????.?????..~~~.~???????.............
>
> ...........?????????I,~I~~??????.+????????????.~??????~=~..?????????~...........
>
> .........?????++??????..????????:.??????????I..????????..????????+????..........
>
> ........??.....???????....???????...???????+..+??????+.I.????????.....?,........
>
> ........????==????????..??..?????..=???????=..?????,.=+?.?????????===??=........
>
> ......=??????????+????..+??=.???=.~??????????,.???=,???,.????=+??????????.......
>
> ....??????????+...+I++..???,=...:??????????????.....+??..++I?+..,??????????.....
>
> ....???????=??..........??..+??.:=:.???????......??..??=..........?=???????=....
>
> ....??????..?...........+?..???.....???????......???.??...........~=.??????=....
>
> ....~???~.~..............?..???.~=..,??????...7..???.?.:..............~????:....
> ...7....7 ...............?..????. ...??????... .????.?.?.............I
> ..:.:....
>
> .....+7=,.+?................????:,I...?????..=.?????.?.............??~.=7+......
>
> ..........????..............??????~...~??..~~??????..?...........+???,..........
>
> ...........???............=.+???????,.?+:.?????????..+...........???+...........
>
> ............??............?,.??????.,??..??????????.,............???............
>
> ...........??,.............=.,????.?+....????????I.I..............=?............
>
> ..........I?..................+??.:?~.....=??????..................??...........
>
> ..........??...?...............??.:?=......??????..............?...??...........
>
> ............++?..............?.????...?....??????.+..............++I............
>
> .............................?.??????~....???????.?.............................
>
> ............................~~.??????......??????...............................
>
> .............................=???????......???????+.............................
>
> ..........................=I??++?+++?......?+++++++?+...........................
> ..........................,..77..77.........  ..
> ...7..........................
>
> ................................................................................
> airavata-server.sh: 86: airavata-server.sh: Syntax error: "(" unexpected
> (expecting "done")
>
> bash --version
> GNU bash, version 4.2.25(1)-release (x86_64-pc-linux-gnu)
> Copyright (C) 2011 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <
> http://gnu.org/licenses/gpl.html>
>
> This is free software; you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
>
> On Sat, Oct 11, 2014 at 01:47:45PM -0400, Raminder Singh wrote:
> > I build everything from head this morning and did not run into any
> problem. I am using Airavata distribution in
> modules/distribution/server/target/apache-airavata-server-0.14-SNAPSHOT-bin.tar.gz.
> Only exception i am getting is related to RabbitMQ server but this is a
> optional service.
> >
> > 2014-10-11 13:44:45,800 [main] ERROR
> org.apache.airavata.gfac.monitor.impl.push.amqp.SimpleJobFinishConsumer  -
> Cannot connect to a RabbitMQ Server:
> > java.net.ConnectException: Connection refused
> >
> > Please share more details about the failure.
> >
> > Thanks
> > Raminder
> >
> > On Oct 10, 2014, at 7:01 PM, K Yoshimoto <[email protected]> wrote:
> >
> > >
> > > I'm getting an error when trying to startup an airavata server:
> > >
> > > airavata-server.sh: 86: airavata-server.sh: Syntax error: "("
> unexpected (expecting "done")
> > >
> > >
> >
>

Reply via email to