search for: pssh

Displaying 13 results from an estimated 13 matches for "pssh".

Did you mean: posh
2015 Oct 31
4
use pssh to restart a service
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 at es2.example.com Exited with error code 1 [2] 17:01:51 [FAILURE] bluethundr at es3.example.com Exited with error code 1 [3] 17:01...
2015 Oct 31
3
use pssh to restart a service
...t logs:~] #cat /etc/sudoers.d/bluethundr Defaults:myuser !requiretty, visiblepw Got the same exact message! Anything else I can try? Thanks On Sat, Oct 31, 2015 at 5:34 PM, Gordon Messmer <gordon.messmer at gmail.com> wrote: > On 10/31/2015 02:04 PM, Tim Dunphy wrote: > >> pssh -h es_list "/bin/sudo -S /bin/systemctl restart elasticsearch" >> > > The default configuration prohibits use if input echo can't be disabled. > That means no "-S". > > I modify that for users where necessary: > > /etc/sudoers.d/myuser: >...
2015 Nov 02
2
use pssh to restart a service
Hey Gordon, Sorry, man my bad! Disabling the tty requirement for my sudo user does indeed work. I had a type-o in the sudoers file, and when I corrected it, my sudo command via pssh started working! #pssh -i -h es_list "/bin/sudo /bin/systemctl restart elasticsearch; sleep 10" [1] 20:31:32 [SUCCESS] bluethundr at es3.jokefire.com Stderr: sudo: sorry, you must have a tty to run sudo [2] 20:31:32 [SUCCESS] bluethundr at es2.jokefire.com [3] 20:31:32 [SUCCESS] bluethu...
2015 Oct 31
1
use pssh to restart a service
...09 PM, Tony Schreiner <anthony.schreiner at bc.edu> wrote: > On Sat, Oct 31, 2015 at 5:04 PM, Tim Dunphy <bluethundr at gmail.com> wrote: > > > 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 at es2.example.com Exited with error > code 1 > > [2] 17:01:51 [FAILURE] b...
2015 Oct 31
0
use pssh to restart a service
On Sat, Oct 31, 2015 at 5:04 PM, Tim Dunphy <bluethundr at gmail.com> wrote: > 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 at es2.example.com Exited with error code 1 > [2] 17:01:51 [FAILURE] bluethundr at es3.example.com Exited...
2015 Nov 02
0
use pssh to restart a service
On 10/31/2015 04:16 PM, Tim Dunphy wrote: > Got the same exact message! > > Anything else I can try? I think you need to double-check your sudoers file. Use the '-i' argument to pssh to get more information. # cat /etc/sudoers.d/gordon gordon ALL=(ALL) NOPASSWD: ALL $ pssh -h t -i sudo echo true [1] 16:02:12 [FAILURE] MYHOST Exited with error code 1 Stderr: sudo: sorry, you must have a tty to run sudo # cat /etc/sudoers.d/gordon Defaults:gordon !requiretty, vi...
2015 Oct 31
0
use pssh to restart a service
On 10/31/2015 02:04 PM, Tim Dunphy wrote: > pssh -h es_list "/bin/sudo -S /bin/systemctl restart elasticsearch" The default configuration prohibits use if input echo can't be disabled. That means no "-S". I modify that for users where necessary: /etc/sudoers.d/myuser: Defaults:myuser !requiretty, visiblepw
2015 Nov 02
0
use pssh to restart a service
On 02/11/15 12:35, Tim Dunphy wrote: > Hey Gordon, > > Sorry, man my bad! Disabling the tty requirement for my sudo user does > indeed work. I had a type-o in the sudoers file, and when I corrected it, > my sudo command via pssh started working! > This is why it is paramount to use visudo command as opposed editing the /etc/sudoers file directly! The visudo command will check the edited temporary sudoers file syntax before committing to /etc! ak.
2011 Mar 13
1
How to install source rpm on centos
Hi to all. I'm having a problem with the rpm command on centos 5.5; I am used to recompile a source rpm with the following command: root at test ~: rpmbuild --rebuild pssh-1.2.2-1.rf.src.rpm Installing pssh-1.2.2-1.rf.src.rpm error: cannot create %sourcedir /home/test/rpm/SOURCES error: pssh-1.2.2-1.rf.src.rpm cannot be installed Does anybody know something about that ? Thanks in advance.... -------------- next part -------------- An HTML attachment was scrubbed......
2012 Oct 31
5
how to trigger puppet run on agents remotely
Hello Everybody, I am looking for a way to trigger puppet rum remotely. so that i don''t need to login into individual nodes and perform the puppet agent --test from there. Is there any alternative to puppet kick in puppet 3.0, since its being deprecated in telly. Also , can anybody tell how to configure foreman 1 to trigger puppet run from the gui in puppet
2012 Mar 02
5
[Bug 1988] New: ControlPersist causes stderr to be left open until the master connection times out
...err until it terminates: https://bugzilla.mindrot.org/show_bug.cgi?id=1330#c1 https://lwn.net/Articles/401651/ This means that any script that uses stderr from an ssh script will hang until the master connection eventually times out. I'm opening this bug because a user noticed that this makes pssh hang: http://code.google.com/p/parallel-ssh/issues/detail?id=67 If the background ssh process were to close stderr, then pssh would not hang. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assi...
2006 Aug 08
1
GSM back door to shell with Centos and Palm handhelds
Hi folks, Don't know if it could be interesting or not, even useful, but past days i was spending my time trying to use an old gsm motorola v150 mobile phone to get access to my host from my palm device with pssh (http://www.sealiesoftware.com/pssh/), these are the steps i did to accomplish it, feel free to suggest or improve it, anyway i found it usefull. First, this motorolla has an usb interface to the host, it's quite simple to attach the phone to the host running CentOs, i dont like very much usb...
2012 Feb 09
4
[Bug 396] sshd orphans processes when no pty allocated
...What |Removed |Added ---------------------------------------------------------------------------- CC| |amcnabb at mcnabbs.org --- Comment #16 from Andrew McNabb <amcnabb at mcnabbs.org> 2012-02-10 05:21:40 EST --- I maintain pssh, a parallel SSH tool that runs openssh, and I've had several users complain about orphaned processes due to this bug. Adding a "-t" option is the only workaround I know of, but it has other effects, too. Having a RemoteCommandCleanup option seems very reasonable, and I notice that the...