How can I confirm that I am using bash or not? -- Regards, Chetan. From: "Kushal Kumaran [via Apache Ignite Users]" <ml-node+s70518n674...@n6.nabble.com<mailto:ml-node+s70518n674...@n6.nabble.com>> Date: Thursday, August 4, 2016 at 2:28 PM To: "Chetan.V.Yadav" <chetan.v.ya...@target.com<mailto:chetan.v.ya...@target.com>> 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<http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=6707&code=Y2hldGFuLnYueWFkYXZAdGFyZ2V0LmNvbXw2NzA3fC02OTIwMTYzODA=>. NAML<http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Not-able-to-start-ignite-node-in-ubuntu-server-tp6707p6744.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.