Operating System - HP-UX
1834571 Members
2908 Online
110069 Solutions
New Discussion

Linux to HP-UX remsh tar backup

 
Ronald Angel
Occasional Advisor

Linux to HP-UX remsh tar backup

I'm attempting to back up a Linux machine to one of our HP-UX 11.0 machines using tar & remsh. I get "remshd: Couldn't look up address for your host". nslookup returns the correct name & IP on both systems for both systems. Any ideas?
6 REPLIES 6
John Dvorchak
Honored Contributor

Re: Linux to HP-UX remsh tar backup

Does the target have a .rhosts file and are you able to remsh other commands from the Linux system to the HPUX box.

To verify I would telnet to the HPUX box from Linux and do a who -m -R and see what the HP box thinks your machine name/IP address is. Then confirm that it is in the root's .rhosts exactly the same.
If it has wheels or a skirt, you can't afford it.
Helen French
Honored Contributor

Re: Linux to HP-UX remsh tar backup

What command did you use? I would just try a simple command (ls /) first with remsh and if it works, then will try the tar command. Also, to make sure the hosts are configured to accept "r" commands, I would check and see if any other 'r' commands works. eg: rlogin

Also try FQDN or IP address instead of alias host names.
Life is a promise, fulfill it!
Chris Vail
Honored Contributor

Re: Linux to HP-UX remsh tar backup

This respondant has never assigned points to any of the 31 times he's asked questions here. I was about to offer a suggestion or two, but changed my mind when I saw his track record.


Chris
Ronald Angel
Occasional Advisor

Re: Linux to HP-UX remsh tar backup

I can use ls on the HP from the Linux machine, but tar gives the error message. I also get a password prompt from the HP when using rlogin. I added FQDN to the /.rhosts file on the HP.
Umapathy S
Honored Contributor

Re: Linux to HP-UX remsh tar backup

Ron,
Are you able to rlogin from HP to Linux machine. Just try whatever the other way you have said previously. Try doing a ls on Linux box from the hpux through remsh.

Check /var/log/messages for any indications.

HTH,
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
Clay Jordan
Advisor

Re: Linux to HP-UX remsh tar backup

There are of course a lot of problems that can happen with name resolution and the r-commands and this may or may not be useful but I had a similar hostname issue occur with Omniback a while back when I had the following entry in nsswitch.conf:

hosts: file dns

It worked when I reversed the order or changed the line to read:

hosts: files [SUCCESS=return NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns

This is mentioned in the nsswitch.conf man page in reference to the default actions of executables compiled with various libraries. Not being a C programmer, I can't answer for how nslookup is compiled.