Hi, I'm trying to rcp to another server, but I keep getting "rshd: 0826-826 The host name for your address is not known".
I've put the hosts in the .rhosts etc, but is this something to do with DNS?
Thanks,
Emma
Host address resolution problem does exist in your case.
Did you check /etc/netsvc.conf file?
see the entry :
hosts=local,bind(default)
You have to change this sequence accordingly...primarily..
Then we think about other entities
I think ...u know about the significance of thi file..if not let me know...I will explain in later post
Are you using /etc/hosts or DNS or NIS for hosts vs ip address database
sushveer
IBM certified specialist-p-series AIX5L System Administration
AIX/SOLARIS/WEBSPHERE-MQ/TIVOLI Administrator
Hi Sushveer,
I have a netsvc.conf file on the source system and it has:
"hosts=local" only in it.
The target server does not have a netsvc.conf file - should it have one?
We are not using DNS - we use the /etc/host file for IP address resolution...
I've tried doing an NS lookup but it just hangs because we have no nameserver specified in the adapter setup....
Do you know if rcp is possible if you are not using DNS?
Finally the problem can be solved. This server shhp8101 is using 2 lancards both in the same subnet 155.124.11.0. Both lancards are lan1 (155.124.11.18) and lan0 (155.124.11.22). From netstat -i I got output that most of the packets is using lan1. And alot of packets still queue there. So I just put entry "155.124.11.22 shhp8101" into /etc/hosts on etsp0001, so rcp will be using lan0. It's working well now.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.