- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: I do a rcp on HPUX and receive error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2009 05:05 AM
тАО02-05-2009 05:05 AM
I do a rcp on HPUX and receive error
I do a rcp file servername:/dest.
Just to receive the following answer:
remshd: Couldn't look up address for your host
the /etc/hosts does include the host
the /etc/services does include shell 514/tcp cmd # remote command, no passwd used
can you help me?
thanks Barbara
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2009 05:11 AM
тАО02-05-2009 05:11 AM
Re: I do a rcp on HPUX and receive error
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2009 05:20 AM
тАО02-05-2009 05:20 AM
Re: I do a rcp on HPUX and receive error
Is is world readable? (should be 644 -rw-r--r--).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2009 05:22 AM
тАО02-05-2009 05:22 AM
Re: I do a rcp on HPUX and receive error
thanks for your help.
On both system - both are of same typ, same OS - HPUX 11.11, the /etc/hosts is readable for the whole world and the entries are the same ....
any other idea ?
thanks Barbara
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2009 05:24 AM
тАО02-05-2009 05:24 AM
Re: I do a rcp on HPUX and receive error
do a forward and reverse nslookup.
and see if it is consistent.
- you may have multiple names attached to
single ip, which causes round robin or
other sympt like that.
and check your /etc/resolv.conf
(for correct domain search list)
and /etc/nsswitch.conf
(to look at /etc/host first)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2009 05:58 AM
тАО02-05-2009 05:58 AM
Re: I do a rcp on HPUX and receive error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2009 05:58 AM
тАО02-05-2009 05:58 AM
Re: I do a rcp on HPUX and receive error
Try to rlogin to the hosts
Execute the following command
# who -ru
You could find the server from which you were logged.
Add the same server name in /.rhosts file
# cat /.rhosts
Then check in /etc/nsswitch.conf file
hosts: files dns nis
If above files doesn't exist, then copy
cp /etc/nsswitch.files /etc/nsswitch.conf
Then try to do rcp
PS: Please assign point if you find your answers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2009 06:03 AM
тАО02-05-2009 06:03 AM
Re: I do a rcp on HPUX and receive error
again thanks for responding so fast
well,
I do a nslookup servername
it comes back right of way
I do a nslookup serverip
it comes back right of way
I check the /etc/hosts
host and domain are there
I check the /etc/resolv.conf - it shows the right domain
I check the /etc/nsswitch.conf, it holds the following:
hosts: dns [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] files [N
OTFOUND=return UNAVAIL=continue TRYAGAIN=return]
which is okay to me
any other ideas ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2009 06:13 AM
тАО02-05-2009 06:13 AM
Re: I do a rcp on HPUX and receive error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2009 06:49 AM
тАО02-05-2009 06:49 AM
Re: I do a rcp on HPUX and receive error
can u post the output commands (both server):-
#more /etc/hosts
#more .rhosts
#more /etc/hosts.equiv
#more /etc/passwd
#id
#hostname
#ping response
and through which user you want to do rcp.
User name should be same in source and remote server.