Solved

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

Posted on 2003-11-18
5
621 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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

773 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