on 01-25-2008 8:40 AM
Hi,
I am trying to take SAP Backup using brbackup pipe option..
What all things i did to achieve that mentioned below..
1) Created .rhosts file in the home directory of both ora<sid> and <sid>adm user
contents of .rhosts file
dicisap2 oradcp
dicisap2 dcpadm
machine name of the remote host and user name of remote machine
also created .netrc file in the / directory with chmod 600 permission with the username and password
but i am getting the follwoing error when tried to execute a backuip
BR0280I BRBACKUP time stamp: 2008-01-25 13.18.49
BR0226I Rewinding tape volume in device /dev/rmt0 ...
BR0278W Command output of 'LANG=C rsh dicisap2 -l oradcp /bin/sh -c "'LANG=C tct
l -f /dev/rmt0 rewind || echo ERR_RC: \$? 1>&2'"':
rshd: 0826-813 Permission is denied.
BR0280I BRBACKUP time stamp: 2008-01-25 13.18.49
BR0279W Return code from 'LANG=C rsh dicisap2 -l oradcp /bin/sh -c "'LANG=C tctl
-f /dev/rmt0 rewind || echo ERR_RC: \$? 1>&2'"': 1
BR0213W Winding tape volume in device /dev/rmt0.1 failed
Thanks
Praveen
Ok; I still think that first you should verify whether rsh permissions are set up properly.
What happens when you try this at your local machine (as user <sid>adm or ora<sid>):
rsh dicisap2 -l oradcp date
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This shows that rsh permissions are not set up properly. Please double check contents and file permissions of .rhosts file of user oradcp on the remote machine. (I suppose dicisap2 is your remote machine?)
A common mistake is with file permissions. The rsh manual pages say that .rhosts must not be writable by anybody else but the owner and root, and this also applies to all the directories in the path of .rhosts.
Issue was resolved ,the problem was with the machine name -Ip address in hosts file,In my case the local machine was the failover node of remote server..So the machine name was changed to cluster name and uname was set to alias name in the hosts file.....so it was a problem with the alias name of the remote host and local hosts..
Hi,
I suppose that it is problem with the tape you are using...
With regards
Sudha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It seems you set up rsh permissions in the wrong direction.
You have to create a .rhosts file at the remote machine (where your tape drives are) and enter machine name and username of your local machine (where brbackup is running).
hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.