- 論壇徽章:
- 0
|
我寫(xiě)好腳本以后在oracle 服務(wù)器上執(zhí)行rman 命令報(bào)如下錯(cuò)誤:
[oracle@aspbackup /]$ rman cmdfile=/nsr/oracle_script/orcldbfull
Recovery Manager: Release 10.2.0.1.0 - Production on 星期二 3月 18 10:19:45 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN> connect target *
2> run {
3> allocate channel t1 type 'SBT_TAPE'
4> send 'ENV=(NSR_SERVER=backupserver,NSR_CLIENT=aspbackup,NSR_DATA_VOLUME_POOL=dbbackup)';
5> allocate channel t2 type 'SBT_TAPE'
6> send 'ENV=(NSR_SERVER=backupserver,NSR_CLIENT=aspbackup,NSR_DATA_VOLUME_POOL=dbbackup)';
7> allocate channel t3 type 'SBT_TAPE'
8> send 'ENV=(NSR_SERVER=backupserver,NSR_CLIENT=aspbackup,NSR_DATA_VOLUME_POOL=dbbackup)';
9> allocate channel t4 type 'SBT_TAPE'
10> send 'ENV=(NSR_SERVER=backupserver,NSR_CLIENT=aspbackup,NSR_DATA_VOLUME_POOL=dbbackup)';
11> backup full filesperset 4
12> database format 'LGTO_FULL%p%u%s%t'
13> (database include current controlfile);
14> release channel t1;
15> release channel t2;
16> release channel t3;
17> release channel t4;
18> }
19>
connected to target database: ORCL (DBID=1177298327)
using target database control file instead of recovery catalog
allocated channel: t1
channel t1: sid=141 devtype=SBT_TAPE
channel t1: NMO v4.2.0.0
allocated channel: t2
channel t2: sid=138 devtype=SBT_TAPE
channel t2: NMO v4.2.0.0
allocated channel: t3
channel t3: sid=148 devtype=SBT_TAPE
channel t3: NMO v4.2.0.0
allocated channel: t4
channel t4: sid=142 devtype=SBT_TAPE
channel t4: NMO v4.2.0.0
Starting backup at 18-3月 -08
channel t1: starting full datafile backupset
channel t1: specifying datafile(s) in backupset
input datafile fno=00001 name=/opt/app/oracle/oradata/orcl/system01.dbf
channel t1: starting piece 1 at 18-3月 -08
channel t2: starting full datafile backupset
channel t2: specifying datafile(s) in backupset
input datafile fno=00001 name=/opt/app/oracle/oradata/orcl/system01.dbf
channel t2: starting piece 1 at 18-3月 -08
channel t3: starting full datafile backupset
channel t3: specifying datafile(s) in backupset
input datafile fno=00003 name=/opt/app/oracle/oradata/orcl/sysaux01.dbf
input datafile fno=00004 name=/opt/app/oracle/oradata/orcl/users01.dbf
channel t3: starting piece 1 at 18-3月 -08
channel t4: starting full datafile backupset
channel t4: specifying datafile(s) in backupset
input datafile fno=00003 name=/opt/app/oracle/oradata/orcl/sysaux01.dbf
input datafile fno=00004 name=/opt/app/oracle/oradata/orcl/users01.dbf
channel t4: starting piece 1 at 18-3月 -08
RMAN-03009: failure of backup command on t1 channel at 03/18/2008 10:19:58
ORA-19506: failed to create sequential file, name="LGTO_FULL11pjbijud57649678797", parms=""
ORA-27028: skgfqcre: sbtbackup returned error
ORA-19511: Error received from media manager layer, error text:
The call to nsr_start() failed with the message:
The feature "NetWorker Module for Oracle, UNIX Client/1" is not properly enabl
ed. for client aspbackup. (0:5:0)
channel t1 disabled, job failed on it will be run on another channel
RMAN-03009: failure of backup command on t2 channel at 03/18/2008 10:19:58
ORA-19506: failed to create sequential file, name="1qjbijud_1_1", parms=""
ORA-27028: skgfqcre: sbtbackup returned error
ORA-19511: Error received from media manager layer, error text:
The call to nsr_start() failed with the message:
The feature "NetWorker Module for Oracle, UNIX Client/1" is not properly enabl
ed. for client aspbackup. (0:5:0)
channel t2 disabled, job failed on it will be run on another channel
RMAN-03009: failure of backup command on t3 channel at 03/18/2008 10:19:59
ORA-19506: failed to create sequential file, name="LGTO_FULL11rjbijud59649678797", parms=""
ORA-27028: skgfqcre: sbtbackup returned error
ORA-19511: Error received from media manager layer, error text:
The call to nsr_start() failed with the message:
The feature "NetWorker Module for Oracle, UNIX Client/1" is not properly enabl
ed. for client aspbackup. (0:5:0)
channel t3 disabled, job failed on it will be run on another channel
RMAN-03009: failure of backup command on t4 channel at 03/18/2008 10:19:59
ORA-19506: failed to create sequential file, name="1sjbijud_1_1", parms=""
ORA-27028: skgfqcre: sbtbackup returned error
ORA-19511: Error received from media manager layer, error text:
The call to nsr_start() failed with the message:
The feature "NetWorker Module for Oracle, UNIX Client/1" is not properly enabl
ed. for client aspbackup. (0:5:0)
channel t4 disabled, job failed on it will be run on another channel
released channel: t1
released channel: t2
released channel: t3
released channel: t4
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on t2 channel at 03/18/2008 10:19:58
ORA-19506: failed to create sequential file, name="1qjbijud_1_1", parms=""
ORA-27028: skgfqcre: sbtbackup returned error
ORA-19511: Error received from media manager layer, error text:
The call to nsr_start() failed with the message:
The feature "NetWorker Module for Oracle, UNIX Client/1" is not properly enabl
ed. for client aspbackup. (0:5:0)
RMAN-03009: failure of backup command on t4 channel at 03/18/2008 10:19:59
ORA-19506: failed to create sequential file, name="1sjbijud_1_1", parms=""
ORA-27028: skgfqcre: sbtbackup returned error
ORA-19511: Error received from media manager layer, error text:
The call to nsr_start() failed with the message:
The feature "NetWorker Module for Oracle, UNIX Client/1" is not properly enabl
ed. for client aspbackup. (0:5:0)
RMAN-03009: failure of backup command on t1 channel at 03/18/2008 10:19:58
ORA-19506: failed to create sequential file, name="LGTO_FULL11pjbijud57649678797", parms=""
ORA-27028: skgfqcre: sbtbackup returned error
ORA-19511: Error received from media manager layer, error text:
The call to nsr_start() failed with the message:
The feature "NetWorker Module for Oracle, UNIX Client/1" is not properly enabl
ed. for client aspbackup. (0:5:0)
RMAN-03009: failure of backup command on t3 channel at 03/18/2008 10:19:59
ORA-19506: failed to create sequential file, name="LGTO_FULL11rjbijud59649678797", parms=""
ORA-27028: skgfqcre: sbtbackup returned error
ORA-19511: Error received from media manager layer, error text:
The call to nsr_start() failed with the message:
The feature "NetWorker Module for Oracle, UNIX Client/1" is not properly enabl
ed. for client aspbackup. (0:5:0)
Recovery Manager complete.
[oracle@aspbackup /]$ cd /
[oracle@aspbackup /]$ exit
logout
[root@aspbackup /]#
[root@aspbackup /]#
[root@aspbackup /]# vi /nsr/oracle_script/orcldbfull
connect target /;
run {
allocate channel t1 type 'SBT_TAPE'
send 'ENV=(NSR_SERVER=backupserver,NSR_CLIENT=aspbackup,NSR_DATA_VOLUME_POOL=dbbackup)';
allocate channel t2 type 'SBT_TAPE'
send 'ENV=(NSR_SERVER=backupserver,NSR_CLIENT=aspbackup,NSR_DATA_VOLUME_POOL=dbbackup)';
allocate channel t3 type 'SBT_TAPE'
send 'ENV=(NSR_SERVER=backupserver,NSR_CLIENT=aspbackup,NSR_DATA_VOLUME_POOL=dbbackup)';
allocate channel t4 type 'SBT_TAPE'
send 'ENV=(NSR_SERVER=backupserver,NSR_CLIENT=aspbackup,NSR_DATA_VOLUME_POOL=dbbackup)';
backup full filesperset 4
database format 'LGTO_FULL%p%u%s%t'
(database include current controlfile);
release channel t1;
release channel t2;
release channel t3;
release channel t4;
}
請(qǐng)大俠指點(diǎn)! |
|