Hi IvyTeam, I'm currently setting up an Ivy Engine on Linux server. The process is working fine except when it automatically start on startup. Because when it run by ROOT user, I got an exception related to Elasticsearch.

The Ivy Engine version is 6.3.0

[ 82%] Starting BusinessData manager 04:27:39.038 ERROR [...asticSearchServer] java.lang.RuntimeException: don't run elasticsearch as root. 04:27:39.038 ERROR [...asticSearchServer] at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Bootstrap.java:93) 04:27:39.039 ERROR [...asticSearchServer] at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:144) 04:27:39.039 ERROR [...asticSearchServer] at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:270) 04:27:39.039 ERROR [...asticSearchServer] at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35) 04:27:39.039 ERROR [...asticSearchServer] at org.elasticsearch.bootstrap.IvyElasticsearchStarterStopper.main(IvyElasticsearchStarterStopper.java:27) 04:27:39.039 ERROR [...asticSearchServer] Refer to the log for complete error details. Error while starting Axon.ivy Engine

asked 08.11.2016 at 05:32

vinh_'s gravatar image

vinh_
(suspended)
accept rate: 40%

edited 08.11.2016 at 05:37

This is a known issue with the 6.3 and 6.4 engine. You may use the 6.2 engine if you do not essentially use a 6.3. or 6.4 feature like BusinessData or the new Portal design.

We're working on a new service definition that works with SystemD.

(08.11.2016 at 16:52) Reguel Werme... ♦♦ Reguel%20Wermelinger's gravatar image

I had a work around there and it will work, our team need version 6.3 because of the bussiness data persistence.

added this line:

su somenormaluser -c \\

before

"$SERVICED" startdaemon &

The draw back is now we can start it by ROOT but cannot start by "somenormaluser" because "somenormaluser" don't have permission to run "su" command.

link

answered 09.11.2016 at 08:34

vinh_'s gravatar image

vinh_
(suspended)
accept rate: 40%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×147
×44

Asked: 08.11.2016 at 05:32

Seen: 2,709 times

Last updated: 18.05.2018 at 10:31