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?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…