Hi all,
I need to restart a service on a few elasticsearch nodes. I'm trying to do
it with pssh.
I'm getting this error when I try to do that:
pssh -h es_list "/bin/sudo -S /bin/systemctl restart elasticsearch"
[1] 17:01:50 [FAILURE] bluethundr(a)es2.example.com Exited with error code 1
[2] 17:01:51 [FAILURE] bluethundr(a)es3.example.com Exited with error code 1
[3] 17:01:51 [FAILURE] bluethundr(a)es1.example.com Exited with error code 1
I have to sudo up from my user account as root logins are disallowed.
However a simple 'echo hello' command that doesn't require sudo works fine:
#pssh -h es_list "/bin/echo hello"
[1] 17:00:40 [SUCCESS] bluethundr(a)es1.example.com
[2] 17:00:41 [SUCCESS] bluethundr(a)es3.example.com
[3] 17:00:41 [SUCCESS] bluethundr(a)es2.example.com
What am I doing wrong?
Thanks,
Tim
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
Why does "arp -a" show IP address 169.254.192.123
on my 192.168.2.0 home network?
I recall seeing this IP address somewhere,
but don't remember where.
--
Timothy Murphy
gayleard /at/ eircom.net
School of Mathematics, Trinity College, Dublin
Hi folks,
I've found ecryptfs module into kernel-plus, but ecryptfs-utils is missing:
[root@centos7 ecryptfs-utils-108]# uname -r
3.10.0-229.14.1.el7.centos.plus.x86_64
[root@centos7 ecryptfs-utils-108]# lsmod | grep ecryptfs
ecryptfs 85424 0
[root@centos7 ecryptfs-utils-108]# yum -q repolist
id del repositorio nombre del
repositorio estado
Webmin Webmin Distribution
Neutral 229
base/7/x86_64 CentOS-7 -
Base 8.652
centosplus/7/x86_64 CentOS-7 -
Plus 63
epel/x86_64 Extra Packages for Enterprise
Linux 7 - x86_64 8.654
extras/7/x86_64 CentOS-7 -
Extras 236
updates/7/x86_64 CentOS-7 -
Updates 1.540
zfs/x86_64 ZFS on Linux for
EL7 145
[root@centos7 ecryptfs-utils-108]# LANG=C yum -q search ecryptfs-utils
Warning: No matches found for: ecryptfs-utils
Just I wonder why these package is not included in any CentOS repo (I guess
because is not included in upstream), do you know why?
Thanks in advance!
--
--
Sergio Belkin
LPIC-2 Certified - http://www.lpi.org