Syntax error

6 views
Skip to first unread message

ugarcia...@gmail.com

unread,
Jun 16, 2015, 6:28:30 AM6/16/15
to sta...@clarkparsia.com
Hello everyone,

I'm having trouble when I try to start the Stardog server. I have uploaded both the .zip and the license, then followed the steps given, but when I use the

./stardog-admin server start

I get this:

./stardog-admin: line 95: syntax error near unexpected token `'--is-successful'' ./stardog-admin: line 95: ` STARDOG_ARGS+=('--is-successful' "$?")'

I'm uploading it with SSH Secure Shell to a Linux x86_64 server; Distribution: 

Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
Kernel \r on an \m

I've tried to erase these 95 and 98 lines containing this --is-successful token, but then it gives a java exception.

Does anyone know how to solve this?

Thank you very much in advance.


Fernando Hernandez

unread,
Jun 16, 2015, 10:01:56 AM6/16/15
to sta...@clarkparsia.com
On Tue, Jun 16, 2015 at 6:28 AM, <ugarcia...@gmail.com> wrote:
Hello everyone,

I'm having trouble when I try to start the Stardog server. I have uploaded both the .zip and the license, then followed the steps given, but when I use the

./stardog-admin server start

I get this:

./stardog-admin: line 95: syntax error near unexpected token `'--is-successful'' ./stardog-admin: line 95: ` STARDOG_ARGS+=('--is-successful' "$?")'

I'm uploading it with SSH Secure Shell to a Linux x86_64 server; Distribution: 

Red Hat Enterprise Linux ES release 4 (Nahant Update 8)
Kernel \r on an \m

What bash version are you using? This looks like you're using an old version of bash that doesn't support the += operator on arrays.

Cheers,
Fernando

ugarcia...@gmail.com

unread,
Jun 18, 2015, 3:25:05 AM6/18/15
to sta...@clarkparsia.com, fern...@complexible.com
O, thank you very much. I think I should change it. 

Thank you very much again.
Reply all
Reply to author
Forward
0 new messages