spacebass5000
Programmer
i am trying to perform a simple distribution to a number of servers... my dist file is as such:
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:
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...
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:
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...