How can I confirm that I am using bash or not?
-- 
Regards,
Chetan.

From: "Kushal Kumaran [via Apache Ignite Users]" <[hidden email]>
Date: Thursday, August 4, 2016 at 2:28 PM
To: "Chetan.V.Yadav" <[hidden email]>
Subject: Re: Not able to start ignite node in ubuntu server

Hi,

You appear to be running this in a non-bash shell (dash?).

See this as an example:

% cat test.sh
source test.env

% dash test.sh
test.sh: 1: test.sh: source: not found

Note the similarity with the first error you have.

I did see your message where you mention you are running under
bash, but could you verify that once more?

Please also add the exact command you are running.  If you are
running /bin/sh /path/to/ignite.sh, you might be getting dash.

On 2016-08-03 18:02, chevy wrote:

> Hi,
>
>  I am getting below error when I try to start Ignite node in ubuntu
> server.
> This is the node which I will be connecting from my code which resides
> in a
> different machine. I am able to start in my local MAC machine.
>
> bin/ignite.sh: 36: bin/ignite.sh: source: not found
> bin/ignite.sh: 41: bin/ignite.sh: checkJava: not found
> bin/ignite.sh: 46: bin/ignite.sh: setIgniteHome: not found
> bin/ignite.sh: 48: [: unexpected operator
> bin/ignite.sh: 65: [:
> /opt/ignite/apache-ignite-fabric-1.6.0-bin/libs/ignite-indexing:
> unexpected
> operator
> bin/ignite.sh: 65: [:
> /opt/ignite/apache-ignite-fabric-1.6.0-bin/libs/ignite-spring:
> unexpected
> operator
> bin/ignite.sh: 65: [:
> /opt/ignite/apache-ignite-fabric-1.6.0-bin/libs/licenses: unexpected
> operator
> bin/ignite.sh: 65: [:
> /opt/ignite/apache-ignite-fabric-1.6.0-bin/libs/optional: unexpected
> operator
> bin/ignite.sh: 74: [: unexpected operator
> bin/ignite.sh: 64: bin/ignite.sh: : Permission denied
> bin/ignite.sh: 76: [: 0: unexpected operator
> bin/ignite.sh: 83: [: unexpected operator
> bin/ignite.sh: 93: bin/ignite.sh: [[: not found
> bin/ignite.sh: 147: [: 0: unexpected operator
> bin/ignite.sh: 168: bin/ignite.sh: : Permission denied
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/Not-able-to-start-ignite-node-in-ubuntu-server-tp6707.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.



If you reply to this email, your message will be added to the discussion below:
http://apache-ignite-users.70518.x6.nabble.com/Not-able-to-start-ignite-node-in-ubuntu-server-tp6707p6742.html
To unsubscribe from Not able to start ignite node in ubuntu server, click here.
NAML


View this message in context: Re: Not able to start ignite node in ubuntu server
Sent from the Apache Ignite Users mailing list archive at Nabble.com.