on 02-06-2013 1:06 PM
hi all
OS: Solaris 10 DB: Oracle 9i
I reconnected tape changer to new server and configure backups
backups performing through rsh. Logon through rsh from other servers (sidadm) without password working fine.
tape changer using mtx to load/unload tapes this working fine
when i started backup i have error:
BR0278E, BR0279E cannot open SCSI device '/dev/scsi/changer/c4t0d0' - Permission denied
ls -la /dev/scsi/changer/c4t0d0
lrwxrwxrwx 1 root root 56 Feb 5 15:55 /dev/scsi/changer/c4t0d0 -> ../../../devices/pci@1c,600000/scsi@2,1/sgen@0,0:changer
earlier devices have displayed:
ls -la /dev/rmt/
2 2c 2cn 2hbn 2lb 2m 2mn 2ub 3 3c 3cn 3hbn 3lb 3m 3mn 3ub
2b 2cb 2h 2hn 2lbn 2mb 2n 2ubn 3b 3cb 3h 3hn 3lbn 3mb 3n 3ubn
2bn 2cbn 2hb 2l 2ln 2mbn 2u 2un 3bn 3cbn 3hb 3l 3ln 3mbn 3u 3un
in backup profile i use
tape_address = /dev/rmt/2mn
tape_address_rew = /dev/rmt/2m
after reconnecting tape changer to new server
# ls -la /dev/rmt/
0 0c 0cn 0hbn 0lb 0m 0mn 0ub 1 1c 1cn 1hbn 1lb 1m 1mn 1ub
0b 0cb 0h 0hn 0lbn 0mb 0n 0ubn 1b 1cb 1h 1hn 1lbn 1mb 1n 1ubn
0bn 0cbn 0hb 0l 0ln 0mbn 0u 0un 1bn 1cbn 1hb 1l 1ln 1mbn 1u 1un
in backup profile i use
tape_address = /dev/rmt/0mn
tape_address_rew = /dev/rmt/0m
on both servers tape_address_ctl = /dev/scsi/changer/c4t0d0
what could be the problem in your?
Hi,
Execute the command at the root user, below;
chown ora<sid>:dba /dev/scsi/changer/c4t0d0
Please note that the rights will be lost after the restart.
Best regards,
Orkun Gedik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
when i set chown root:sys to mount and dismount bash scripts i have errro without cannot open SCSI device
error:
BR0278E Command output of 'LANG=C rsh srv06r3 -l trdadm /bin/sh -c "'mount_tape.sh TRD-B /dev/scsi/changer/c4t0d0 LPS268L3 > /dev/null | echo ERR_RC: \$? 1>&2'"': |
permission denied
BR0279E Return code from 'LANG=C rsh srv06r3 -l trdadm /bin/sh -c "'mount_tape.sh TRD-B /dev/scsi/changer/c4t0d0 LPS268L3 > /dev/null | echo ERR_RC: \$? 1>&2'"': 1 |
BR0390I Mounting volume LPS268L3 in device /dev/scsi/changer/c4t0d0 failed
Hi,
Please check whether the following link helps .
http://scn.sap.com/thread/1738643
Thanks and Regards,
Vimal
I solve problem with server connected directly to the tape library and do backup without errors but the other servers connect to rsh have a error
BR0278E Command output of 'LANG=C rsh srv03 -l sidadm /bin/sh -c "'mount_tape.sh TRP-B /dev/scsi/changer/c4t0d0 LPS266L3 > /dev/null echo ERR_RC: \$? 1>&2'"':
permission denied
I can connect sidadm without password to server who connected directly to the tape library
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.