Solved

RDIST Warns that, "Version Numbers Don't Match."

Posted on 2003-11-18
5
624 Views
Last Modified: 2013-12-27
Background: The systems are SunBlade1000s running OS5.8 and Solaris 8. rdist is installed on all hosts and will perform the basic function of notifying what changes need to be made by using the "-n" switch. However, if I remove the "-n" switch to allow the update to be made, the operating system issues the following error message:

rdist: connection failed: version numbers don't match

Question: Is this error message telling the me truth, or is it one of those I-really-don't-know-so-I'll-give-you-any-ole-answer kind of error messages? It seems to me that if there really were a mismatch in version numbers (and admittedly, I have no idea how to check them), even the command with the "-n" switch would fail.

Any ideas on how to fix this?

Cheers!
0
Comment
Question by:pdouglas
5 Comments
 
LVL 38

Expert Comment

by:yuzh
ID: 9775574
Have your setup the .rshosts file, and the boxes know each other?

type in :

rsh remoteBox echo test

to see if "test" echo back on your screen. if it doesn't work, your "r*"
command is not setup properly. (or "r" service has been disable)

man rsh
man rdist

You can also run rdisk in debugging mode, use "-D" option, to see what the
problem is.

BTW, rdist, rsh is not secure, consider to use secure shell to do the job, you can
download openssh from: (Free):

http://sunfreeware.com/

Do a search at EE, you can find out a lot of infor about how to install and set it up (including
setup ssh without password)




0
 

Author Comment

by:pdouglas
ID: 9779959
I'm beginning to suspect that you're right about the r* service not being set up correctly. But it doesn't quite make sense. I can rlogin to the remote boxes. However, rcp doesn't work and when I issue the test command "rsh remoteBox echo test", the OS comes back with, "stty: : invalid argument."

I have put the entries for all appropriate host names into the .rosts and hosts.equiv files. What else should I be doing to have r* correctly configured?
0
 
LVL 48

Expert Comment

by:Tintin
ID: 9783743
Suggest you use rsync instead of rdist.  It's a lot more secure and a hell of a lot more bandwidth efficient.

See http://rsync.samba.org/
0
 
LVL 38

Expert Comment

by:yuzh
ID: 9784635
If you want to allow root to use rdisk to send files from boxA to boxB,
you need to create a .rhosts file under root's home dir (have a look at /etc/passwd
file to see where the root's home is) in boxB

vi .rhosts

boxA.somewhere.com  root

save it, then:
chmod 700 .rhosts

#Please get rid of the .rhosts file when you are not using rdist. boxB need to know boxA
(you can definde  it in //etc/hosts file, put it in both machine)
0
 
LVL 2

Accepted Solution

by:
zdes earned 125 total points
ID: 9947483
Most likely you have a different version of rdist  picking up server responsibility. For example, you have a version of rdist built from the sources on the machine initiating the connection, and OS-provided version on the other end. Better use -p option of rdist and specify the path to rdistd explicitly:

Here is what I have:
%: alias rdistcmd
rdist -onochkmode -p /home/tools/sys/solaris/bin/rdistd -c

And do take a look at rsync, as it was already suggested - a very nice tool.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AIX 5.3 group password policy changes 7 30
Shell script errors 10 141
Linux :how to provide sudo access to the user 13 106
UNIX Script. Send email if failure 8 33
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question