LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-10-2002, 04:42 PM   #1
WeNdeL
Member
 
Registered: Oct 2002
Location: At my desk...
Distribution: RedHat, Fedora, Ubuntu
Posts: 344

Rep: Reputation: 30
RDIST problems...


i am trying to perform a simple distribution to a number of servers... my dist file is as such:
Code:
HOSTS=( backup@appserver backup@develop backup@lanserver backup@mcveserver backup@opserver backup@penguin2 backup@prodserver backup@backup1 backup@saleserver backup@web1 backup@web5 )

FILE=( /home/backup/scripts/usage-info.sh )

${FILE} -> ${HOSTS}
        install /home/backup/scripts/usage-info.sh ;
        special "/bin/bash /home/backup/scripts/usage-info.sh" ;
        notify wendels@mydomain.com ;
I am basically experimenting with gathering info from my servers by distributing a script that emails me info and then having rdist run it on the remote server...

the problem is this... it only works on two of those servers... i have spent a lot of time trying to solve this mystery and was hoping you all could help...

the output:
Code:
backup@appserver: updating host appserver
backup@develop: updating host develop
backup@lanserver: updating host lanserver
backup@mcveserver: updating host mcveserver
backup@appserver: LOCAL ERROR: Unexpected input from server: "Permission denied.".
backup@appserver: updating of backup@appserver finished
backup@lanserver: /home/backup/scripts/usage-info.sh: installing
backup@opserver: updating host opserver
backup@develop: LOCAL ERROR: Unexpected input from server: "Permission denied.".
backup@develop: updating of backup@develop finished
backup@lanserver: special "/bin/bash /home/backup/scripts/usage-info.sh"
backup@penguin2: updating host penguin2
backup@opserver: LOCAL ERROR: Unexpected input from server: "Permission denied.".
backup@opserver: updating of backup@opserver finished
backup@penguin2: LOCAL ERROR: Unexpected input from server: "Permission denied.".
backup@penguin2: updating of backup@penguin2 finished
backup@prodserver: updating host prodserver
backup@backup1: updating host backup1
backup@lanserver: notify @backup@lanserver ( wendels@mydomain.com )
backup@backup1: /home/backup/scripts/usage-info.sh: installing
backup@backup1: special "/bin/bash /home/backup/scripts/usage-info.sh"
backup@prodserver: LOCAL ERROR: Unexpected input from server: "Permission denied.".
backup@prodserver: updating of backup@prodserver finished
backup@backup1: notify @backup@backup1 ( wendels@mydomain.com )
backup@saleserver: updating host saleserver
backup@saleserver: LOCAL ERROR: Unexpected input from server: "Permission denied.".
backup@saleserver: updating of backup@saleserver finished
backup@lanserver: updating of backup@lanserver finished
backup@web1: updating host web1
backup@web5: updating host web5
backup@backup1: updating of backup@backup1 finished
backup@mcveserver: LOCAL ERROR: Unexpected input from server: "mcveserver: Connection refused".
backup@mcveserver: updating of backup@mcveserver finished
backup@web1: LOCAL ERROR: Unexpected input from server: "web1: Connection refused".
backup@web1: updating of backup@web1 finished
backup@web5: LOCAL ERROR: Unexpected input from server: "web5: Connection refused".
backup@web5: updating of backup@web5 finished
backups uid and gid is the same across all of these servers...

i have looked at the hosts.equiv file as well and having entries in that doesn't seem to help...

could pam have something to do with this? plz help...
 
Old 12-11-2002, 09:16 AM   #2
WeNdeL
Member
 
Registered: Oct 2002
Location: At my desk...
Distribution: RedHat, Fedora, Ubuntu
Posts: 344

Original Poster
Rep: Reputation: 30
bump...
 
Old 05-09-2014, 03:56 PM   #3
art_yomov
LQ Newbie
 
Registered: May 2014
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by WeNdeL View Post
i am trying to perform a simple distribution to a number of servers... my dist file is as such:
Code:
HOSTS=( backup@appserver backup@develop backup@lanserver backup@mcveserver backup@opserver backup@penguin2 backup@prodserver backup@backup1 backup@saleserver backup@web1 backup@web5 )

FILE=( /home/backup/scripts/usage-info.sh )

${FILE} -> ${HOSTS}
        install /home/backup/scripts/usage-info.sh ;
        special "/bin/bash /home/backup/scripts/usage-info.sh" ;
        notify wendels@mydomain.com ;
I am basically experimenting with gathering info from my servers by distributing a script that emails me info and then having rdist run it on the remote server...

the problem is this... it only works on two of those servers... i have spent a lot of time trying to solve this mystery and was hoping you all could help...

the output:
Code:
backup@appserver: updating host appserver
backup@develop: updating host develop
backup@lanserver: updating host lanserver
backup@mcveserver: updating host mcveserver
backup@appserver: LOCAL ERROR: Unexpected input from server: "Permission denied.".
backup@appserver: updating of backup@appserver finished
backup@lanserver: /home/backup/scripts/usage-info.sh: installing
backup@opserver: updating host opserver
backup@develop: LOCAL ERROR: Unexpected input from server: "Permission denied.".
backup@develop: updating of backup@develop finished
backup@lanserver: special "/bin/bash /home/backup/scripts/usage-info.sh"
backup@penguin2: updating host penguin2
backup@opserver: LOCAL ERROR: Unexpected input from server: "Permission denied.".
backup@opserver: updating of backup@opserver finished
backup@penguin2: LOCAL ERROR: Unexpected input from server: "Permission denied.".
backup@penguin2: updating of backup@penguin2 finished
backup@prodserver: updating host prodserver
backup@backup1: updating host backup1
backup@lanserver: notify @backup@lanserver ( wendels@mydomain.com )
backup@backup1: /home/backup/scripts/usage-info.sh: installing
backup@backup1: special "/bin/bash /home/backup/scripts/usage-info.sh"
backup@prodserver: LOCAL ERROR: Unexpected input from server: "Permission denied.".
backup@prodserver: updating of backup@prodserver finished
backup@backup1: notify @backup@backup1 ( wendels@mydomain.com )
backup@saleserver: updating host saleserver
backup@saleserver: LOCAL ERROR: Unexpected input from server: "Permission denied.".
backup@saleserver: updating of backup@saleserver finished
backup@lanserver: updating of backup@lanserver finished
backup@web1: updating host web1
backup@web5: updating host web5
backup@backup1: updating of backup@backup1 finished
backup@mcveserver: LOCAL ERROR: Unexpected input from server: "mcveserver: Connection refused".
backup@mcveserver: updating of backup@mcveserver finished
backup@web1: LOCAL ERROR: Unexpected input from server: "web1: Connection refused".
backup@web1: updating of backup@web1 finished
backup@web5: LOCAL ERROR: Unexpected input from server: "web5: Connection refused".
backup@web5: updating of backup@web5 finished
backups uid and gid is the same across all of these servers...

i have looked at the hosts.equiv file as well and having entries in that doesn't seem to help...

could pam have something to do with this? plz help...

Hello. I have same problem on my CentOS server. Please, could you say, did you solve the problem?
There is my distfile.
Code:
FILES = ( /tmp/test/1 /tmp/test/2 )
HOSTS = ( root@wks1 )
${FILES} -> ${HOSTS}
install;
I tried this on just installed servers too (on the virtual machine). I don't understand, why it doesn't work.
Apologize for my poor English.
 
Old 05-14-2014, 02:42 AM   #4
art_yomov
LQ Newbie
 
Registered: May 2014
Posts: 2

Rep: Reputation: Disabled
Solved it.
i had to crate link /usr/bin/rdistd -> /sbin/rdistd.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rdist mailnickykav Red Hat 1 03-04-2005 05:55 AM
solaris rdist/slackware rdist version problem jerry950 Slackware 0 02-07-2004 03:27 PM
Problems, problems, problems. Lets start with the ES 1868 AudioDrive Kre8ive Linux - Newbie 1 08-06-2003 08:04 PM
non r-command replacement for rdist? WeNdeL Linux - Software 2 08-04-2003 04:03 PM
using rdist with PAM... WeNdeL Linux - Networking 0 11-27-2002 02:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration