Re: Tivoli for Oracle: SBT error = 7011, errno = 2507

  • From: "MacGregor, Ian A." <ian@xxxxxxxxxxxxxxxxx>
  • To: "oracle-l@xxxxxxxxxxxxx" <oracle-l@xxxxxxxxxxxxx>
  • Date: Wed, 18 Nov 2015 21:40:41 +0000

The following works for us on RHEL, x86 Solaris and SPARC Solaris hosts

run
{
allocate channel c1 device type sbt format 'df_%t_%s_%p'
PARMS="SBT_LIBRARY=$ORACLE_HOME/lib/libobk.so,
ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt)”;
<backup commands>
release channel c1;
}

Ian MacGregor

On Nov 17, 2015, at 7:18 AM, Yong Huang
<dmarc-noreply@xxxxxxxxxxxxx<mailto:dmarc-noreply@xxxxxxxxxxxxx>> wrote:

We run Oracle 11.2.0.4 on 64-bit Red Hat Enterprise Linux 7.1. We just
installed Tivoli Data Protection (TDP) for Oracle version 7.1.3.0 (according to
`tdpoconf showenvironment'). We followed our tried-and-true procedure to
configure TDP in RMAN as we used to do on RHEL6 and 5. But on this RHEL7 box,
we keep getting this error

RMAN> show all;
...
CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' PARMS
'SBT_LIBRARY=/opt/tivoli/tsm/client/oracle/bin64/libobk.so
ENV=(TDPO_OPTFILE=/opt/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
...
RMAN> run { allocate channel c device type sbt_tape; }

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 c channel at 11/17/2015 08:41:29
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27000: skgfqsbi: failed to initialize storage subsystem (SBT) layer
Linux-x86_64 Error: 2507: Unknown system error
Additional information: 7011
ORA-19511: Error received from media manager layer, error text:
SBT error = 7011, errno = 2507, sbtopen: system error


All files under /opt/tivoli/tsm/client/oracle/bin64 are readable by oracle, and
libobk.so exists and ldd on it finds the libraries it needs. tdpoerror.log is
writable by oracle but nothing is written to it. strace indicates the RMAN
session does not attempt to connect to the configured Tivoli server.

Database alert.log does not record anything. But a trace file is generated on
behalf of the rman session:

*** MODULE NAME:(rman@ddrrlcora11b.<domain here> (TNS V1-V3)) 2015-11-17
08:41:29.144
*** ACTION NAME:(0000001 STARTED1) 2015-11-17 08:41:29.144

SKGFQ OSD: Error in function sbtinit on line 2739
SKGFQ OSD: Look for SBT Trace messages in file
/u01/app/oracle/diag/rdbms/oracs11/oracs112/trace/sbtio.log
SBT Initialize failed for libobk.so

Unfortunately sbtio.log is empty.

We can't find anything related to system error 2507. It's not an error from any
component of Oracle. It doesn't appear to be an error from Linux, which
normally would be documented in /usr/include/asm-generic/errno.h. Is it from
Tivoli? The storage team can't find it in Tivoli documentation but they're
still working with IBM.

Has anybody installed TDP for Oracle on Linux 7? Ever seen error 2507? Thanks.

Yong Huang
--
//www.freelists.org/webpage/oracle-l



Other related posts: