Unsolved

This post is more than 5 years old

9196

July 17th, 2013 06:00

NetWorker Module for Databases and Applications .RMAN Backup Issue

@(#) Module Name:  NetWorker Module for Databases and Applications v@(#) Module Vers:  1.2.0.1

Wed Jul 17 15:57:42 2013

cmd_args = send 'NSR_ENV=(NSR_CLIENT=sjeditb15210.corp.sva.com,NSR_GROUP=vmtest,NSR_PARENT_JOBID=270159,NSR_SERVER=sjeditb30102,NSR_SAVESET_NAME=RMAN:\DTSAVNW1_FULL,NSR_DATA_VOLUME_POOL=Weekly Pool)'

rman_script = /nsr/apps/tmp/tmp_rman.7439

saveset_name = RMAN:\DTSAVNW1_FULL

Launching backup process

Recovery Manager: Release 11.2.0.3.0 - Production on Wed Jul 17 15:57:43 2013

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

RMAN> connect ********

2>

3> RUN {

4> ALLOCATE CHANNEL CH1 TYPE 'SBT_TAPE';

5> BACKUP

6>  FULL

7>  FORMAT '%d_%U'

8>  DATABASE

9>  INCLUDE CURRENT CONTROLFILE

10>  PLUS ARCHIVELOG

11> ;

12> RELEASE CHANNEL CH1;

13> }

14>

connected to target database: DTSAVNW1 (DBID=2936451870)

using target database control file instead of recovery catalog

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-03009: failure of allocate command on CH1 channel at 07/17/2013 15:57:45

ORA-19554: error allocating device, device type: SBT_TAPE, device name:

ORA-27211: Failed to load Media Management Library

Additional information: 2

Recovery Manager complete.

The backup process failed:

RMAN exited with return code '1'.

Exiting with error:

RMAN exited with return code '1'.

SJEDITB15210:     RMAN exited with return code '1'.

2.4K Posts

July 17th, 2013 06:00

I am still not an NW/Oracle expert but googling a bit points to the fact that a specific library cannot be found.

From another thread i found 3 links which night help you:

https://community.emc.com/thread/119162

https://community.emc.com/thread/129585

https://community.emc.com/thread/78426

You will also find some general advice at the end of the Admin Guide (Oracle-specific troubleshooting tips and error messages).

Please also be so kind and provide some more and not just the problem.

It would make it easier if we would know details about

  - NW version?

  - Is this a fresh install/config?

  - Has it already worked?

  - Are standard file system backups possible at all?

Solely posting the error code is not really helpful.

4 Operator

 • 

14.3K Posts

July 17th, 2013 07:00

Your error indicates libobk was not linked.

2 Posts

June 13th, 2017 17:00

I have the same issue with:

NW Server: RHEL7 Networker 9.1

Client RHEL7: Networker 9.1 + NMDA 9.1.1:

File system backup works fine.

DB Backup sometimes it works and most of the times not. libobk linked:

lrwxrwxrwx 1 oracle oinstall 21 Jun 13 23:57 /u01/app/oracle/product/11.2.0/dbhome_1/lib/libobk.so -> /usr/lib/libnsrora.so

I get the error below:

Recovery Manager: Release 11.2.0.4.0 - Production on Wed Jun 14 00:01:27 2017

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

RMAN> connect target *

2>

3> RUN {

4> ALLOCATE CHANNEL CH1 TYPE 'SBT_TAPE';

5> ALLOCATE CHANNEL CH2 TYPE 'SBT_TAPE';

6> ALLOCATE CHANNEL CH3 TYPE 'SBT_TAPE';

7> ALLOCATE CHANNEL CH4 TYPE 'SBT_TAPE';

8> BACKUP ARCHIVELOG ALL;

9> DELETE

10> ARCHIVELOG UNTIL TIME "SYSDATE-4"

11> BACKED UP 1 TIMES TO DEVICE TYPE

12> sbt;

13> RELEASE CHANNEL CH1;

14> RELEASE CHANNEL CH2;

15> RELEASE CHANNEL CH3;

16> RELEASE CHANNEL CH4;

17> }

18>

connected to target database: FGB1 (DBID=1489590091)

using target database control file instead of recovery catalog

allocated channel: CH1

channel CH1: SID=326 instance=FGB1_2 device type=SBT_TAPE

channel CH1: NMDA Oracle v9.1.1.0

released channel: CH1

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

ORA-19559: error sending device command: NSR_CONFIG_FILE=/nsr/apps/tmp/oracle_send_1497398487_27278.cfg

ORA-19557: device error, device type: SBT_TAPE, device name:

ORA-27194: skgfdvcmd: sbtcommand returned error

ORA-19511: Error received from media manager layer, error text:

   sbtcommand: Failed to open file '/nsr/apps/tmp/oracle_send_1497398487_27278.cfg'. (100:111:2)

Recovery Manager complete.

4 Operator

 • 

14.3K Posts

June 20th, 2017 03:00

It is not the same issue so you should open a separate thread.  From what I can see, this setup was made by wizard so it tries to read this from tmp location, but it can't (most likely permissions).  You can easily bypass by creating client side cfg file or most likely by correcting permissions on folder so that oracle user can read cfg file.

1 Message

September 21st, 2017 06:00

Fawzi, have you resolved this problem? We have the same issue, sometime the backup work, other fail

2 Posts

October 9th, 2017 15:00

Hello,

Sorry for the delay; Yes I was able to fix this issue.

it end up being permission issue on /nsr/apps/tmp/. I changed the owner of this folder to oracle:oinstall. everything works fine after that.

ls -ldtr /nsr/apps/tmp/

drwxrwxrwt 2 oracle oinstall 6 Oct  9 22:08 /nsr/apps/tmp/

Top