Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
679 views
in Technique[技术] by (71.8m points)

bash - not able to start elastic's enterprise search, app search, as background process on Debian 10 OS

Elastic search and enterprise search are installed successfully on a Debian 10 and I could able to start the enterprise-search with command.

sudo /usr/share/enterprise-search/bin/enterprise-search

However when I tried to start the shell command as background process with

  sudo /usr/share/enterprise-search/bin/enterprise-search &

the starting process froze as shown in the logs below:

elastic@elastic1:~$ sudo /usr/share/enterprise-search/bin/enterprise-search 
sudo: unable to resolve host elastic1: Name or service not known
Found java executable in PATH
Java version detected: 11.0.9.1 (major version: 11)
Enterprise Search is starting...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.headius.backport9.modules.Modules (file:/usr/share/enterprise-search/lib/war/lib/jruby-core-9.2.9.0-complete.jar) to method sun.nio.ch.NativeThread.signal(long)
WARNING: Please consider reporting this to the maintainers of com.headius.backport9.modules.Modules
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release


Is there any other way to run this command to start it as a background process?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...