ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kushal Kumaran <kus...@locationd.net>
Subject Re: Not able to start ignite node in ubuntu server
Date Thu, 04 Aug 2016 10:07:24 GMT
How are you starting ignite?  (Exact command line you are running, 
please)

Are you running /bin/sh $IGNITE_HOME/bin/ignite.sh?  Or are you running
just $IGNITE_HOME/bin/ignite.sh?  You should be using the second way.

ignite.sh has a #!/bin/bash line that will ensure it is run by bash.  
But
this only happens if you run the script directly.  If you give the 
script
path as argument to /bin/sh, it may or may not use bash, depending on
where /bin/sh points.

On 2016-08-04 14:47, chevy wrote:
> How can I confirm that I am using bash or not?
> 
> --
> Regards,
> Chetan.
> 
>  From: "Kushal Kumaran [via Apache Ignite Users]" <[hidden email] [1]>
> Date: Thursday, August 4, 2016 at 2:28 PM
> To: "Chetan.V.Yadav" <[hidden email] [2]>
> 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
>> 

Mime
View raw message