Created 01-06-2018 02:11 PM
Hello All,
As my first 'project' I try to follow the steps as described in:
But when I come at the point to do su solr, there is no such user.
Configuration of Solr as describes was successful. Any idea how to proceed?
Thanks...
Created 01-12-2018 06:25 PM
Heya! Looks like there's a bit of a mixup! You are SSH'd into the "wrong" sandbox.
The VM that you set up is actually a wrapper around the "real" sandbox. See how the hostname of the machine you are SSH'd into is "sandbox-host"? You are SSH'd into the VM, whereas you want to SSH into the sandbox within the VM. There are a few different ways of doing that, feel free to take your pick:
You'll know you are successfully SSH'd into the sandbox when the prompt you see is "[root@sandbox /]#" (notice there is no "-host").
Hope that helps! Let us know how it goes! 🙂
Created 01-06-2018 06:32 PM
Did you add the SOLR service? That should have created the solr user owns the /opt/lucidworks-hdpsearch
Please validate that part.
Created 01-06-2018 07:45 PM
Yes, I did add Solr Service (as described in documentation). It shows up as started in the dashboard.
Created 01-07-2018 09:50 PM
can you check the directory owner and group
$ ls -al /opt/lucidworks-hdpsearch
The solr user should also show up in
$ cat /etc/passwd
revert
Created 01-08-2018 07:48 AM
[root@sandbox-host ~]# ls -al /opt/lucidworks-hdpsearch ls: cannot access /opt/lucidworks-hdpsearch: No such file or directory
[root@sandbox-host ~]# cat /etc/passwd root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/sbin/nologin daemon:x:2:2:daemon:/sbin:/sbin/nologin adm:x:3:4:adm:/var/adm:/sbin/nologin lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin sync:x:5:0:sync:/sbin:/bin/sync shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown halt:x:7:0:halt:/sbin:/sbin/halt mail:x:8:12:mail:/var/spool/mail:/sbin/nologin operator:x:11:0:operator:/root:/sbin/nologin games:x:12:100:games:/usr/games:/sbin/nologin ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin nobody:x:99:99:Nobody:/:/sbin/nologin avahi-autoipd:x:170:170:Avahi IPv4LL Stack:/var/lib/avahi-autoipd:/sbin/nologin systemd-bus-proxy:x:999:997:systemd Bus Proxy:/:/sbin/nologin systemd-network:x:998:996:systemd Network Management:/:/sbin/nologin dbus:x:81:81:System message bus:/:/sbin/nologin polkitd:x:997:995:User for polkitd:/:/sbin/nologin tss:x:59:59:Account used by the trousers package to sandbox the tcsd daemon:/dev/null:/sbin/nologin postfix:x:89:89::/var/spool/postfix:/sbin/nologin chrony:x:996:994::/var/lib/chrony:/sbin/nologin sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin packer:x:1000:1000:packer:/home/packer:/bin/bash rpc:x:32:32:Rpcbind Daemon:/var/lib/rpcbind:/sbin/nologin rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
Created 01-12-2018 06:25 PM
Heya! Looks like there's a bit of a mixup! You are SSH'd into the "wrong" sandbox.
The VM that you set up is actually a wrapper around the "real" sandbox. See how the hostname of the machine you are SSH'd into is "sandbox-host"? You are SSH'd into the VM, whereas you want to SSH into the sandbox within the VM. There are a few different ways of doing that, feel free to take your pick:
You'll know you are successfully SSH'd into the sandbox when the prompt you see is "[root@sandbox /]#" (notice there is no "-host").
Hope that helps! Let us know how it goes! 🙂