top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Why we can not run elastic search with root on Linux?

+1 vote
381 views

Getting Error while trying to install with root

posted Aug 3, 2017 by Amit Kumar Pandey

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer
  1. Open script file: vi bin/elasticsearch
  2. Add property for allow root:
    ES_JAVA_OPTS="-Des.insecure.allow.root=true"
  3. Save and close.

Hope this will help...

answer Aug 3, 2017 by Salil Agrawal
Similar Questions
+1 vote

I have some legacy binary code. Is there a way to run it on a current 64bit ubuntu system?

~$ file y
y: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.0.0, not stripped
~$ ./y
-bash: ./y: No such file or directory
+1 vote

I am new to MongoDB and try to install MongoDB 3.2.9 on Ubuntu 14.01 LTS. I found there are different ways to install it as below:
1. The MongoDB official guidance use the apt-get install.
2. Download the package and create folders like bin, data, log, conf etc. and then manually and copy the corresponding modules to the bin when needed.

I am wondering which method should I use. Seems the second one is more flexible as its hard to make sense what the first one has done to the OS.

Could you advise any other impact and differences about the two methods for installation? Thanks in advance!

0 votes

I have an existing system which contains a LAN connected disk drive. I have added a new computer on which I installed Ubuntu (this is my first linux experience). From the Ubuntu computer I can read the files on the samba connected drive but I can not write to those files. I have tried to change the permissions but can not locate where the drive is mounted. So my question ishow do I change the permissions?

...