- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- rcp problem
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
Forums
Discussions
Discussions
Discussions
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
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
11-14-2002 05:25 AM
11-14-2002 05:25 AM
I can't use rcp between both server but i can use rlogin. I have test with root and user login.
I have updated etc/hosts, hosts.equiv and .rhosts files.
I don't understand
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 05:33 AM
11-14-2002 05:33 AM
Re: rcp problem
The correct test should be remsh, not rlogin. What is your login shell ? Problems are documented with output from .cshrc if you use csh. What is the error message ?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 05:36 AM
11-14-2002 05:36 AM
Re: rcp problem
Make sure that your 'etc/inetd.conf' contains this line:
shell stream tcp nowait root /usr/lbin/remshd remshd
If not, add it and restart the 'inetd' daemon:
# /usr/sbin/inetd -c
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 05:40 AM
11-14-2002 05:40 AM
Re: rcp problem
/var/adm/inetd.sec
man inetd.sec
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 06:11 AM
11-14-2002 06:11 AM
Re: rcp problem
The inetd.conf is good.
I have added a line in inetd.sec like
shell allow ip addres
and i no longer have an error message but it doesnt work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 06:59 AM
11-14-2002 06:59 AM
Re: rcp problem
In order to debug, follow the steps below:
from serverA, remsh to serverB as user
On serverB, give the command "who -u"
you'll get output like -
Look at the last field - is it serverA, serverA.domain.com, or simply an IP address?
(this is how serverB sees connection coming from serverA)
On serverB:~
Do the same thing for serverA if you want same functionaily other way as well. If any of the above steps fail, first try to correct that.
HTH
...Manjeet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 11:40 PM
11-14-2002 11:40 PM
Re: rcp problem
who -u on both server:
root pts/0 Nov 15 08:07 . 25697 cogicom16.dccm.marine.def
root pts/1 Nov 15 08:34 . 28471 ciccogad.dccm.marine.def
Bad server name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2002 07:03 AM
11-15-2002 07:03 AM
Re: rcp problem
Rgds
...Manjeet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 06:28 AM
11-20-2002 06:28 AM
Re: rcp problem
I haven't got error msg but rcp don't work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 06:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 06:58 AM
11-20-2002 06:58 AM
Re: rcp problem
If your /etc/hosts is correct and you still have bad hostnames using who -u, then you surely don't use it. Have a look at your /etc/nsswitch.conf file. Perhaps your DNS is not good. Try :
>nslookup
policy
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 07:10 AM
11-20-2002 07:10 AM
Re: rcp problem
Rgds
...Manjeet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 07:25 AM
11-20-2002 07:25 AM
Re: rcp problem
Does you rlogin return wiht a password propmt , or does it let you enter the system w/o asking the passwd . If it returns wiht password prompt then the rcp wont work . To ensure that the rcp work you ahve to first set the rlogin work w/o asking the passwd between the users . Set it like this
1. Server A
in $home of the user make a .rhosts file wiht the entry
server B user name < where server b is defined properly eiterh in /etc/hosts or dns > whiceever the anme is resolved or for simple test do enter
IP adressod B User Name
2. Server B
same as server A
. Now check for rlogin to take place w/o asking any passwd .
Please do get back .
Manoj Srivastava