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_ |
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:
before
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. answered 09.11.2016 at 08:34 vinh_ |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 08.11.2016 at 05:32
Seen: 2,709 times
Last updated: 18.05.2018 at 10:31
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.