sanjayroongta
18th April 2005, 02:00
Hi

I try to copy files of particular folder of A server to specific folder of B server over LAN through rcp, system giving permission denied error.

OS : solaris 8

# rcp -pr * B:/usr10 (command fired on A server)
or
# tar cf - .|rsh B'(cd /usr10; tar xvf -)'

I very well defined server A in /etc/hosts of server B and also /etc/dfs/dfstab entry and executed /etc/init.d/nfs.server start.

I checked .rhosts file of B and server A entry showing there.

Pls help me ...

rgds
Sanjay

manojsharma
19th April 2005, 07:48
Hi Sanjay,

How are you ?

I think you must restart your servers.

sanjayroongta
19th April 2005, 07:53
Manoj

Thanks for responce.

But I already did this many of times but no results. Must be missing some thing.

Have you did earlier this or let me know any other procedure to copy all files & folders from A to B Server with same owner, permission and time stamping.

Sanjay

tjbyfield
19th April 2005, 08:19
I am not familar with solaris but on AIX you would need to authorise the server in the rhosts file

Nandan
19th April 2005, 08:32
Please check if this can be helpful

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=642480

http://supportforum.sun.com/sunos/index.php?t=msg&th=997&start=0&rid=0

sanjayroongta
27th April 2005, 13:01
Thnks to all.

My problem resolved. There is some error in nfs.server.

Now everythink coping perfectly.

rgds
Sanjay