James,

On our system the library is libobk.so

Here is the output from the find / -name libobk.a -exec ls -l {} \; command

lrwxrwxrwx   1 root     other         43 Feb  1 09:28 /usr/lib/libobk.so -> 
/opt/tivoli/tsm/client/oracle/bin/libobk.so
-rwxr-xr-x   1 root     other     135260 Apr 18  2000 
/opt/tivoli/tsm/client/oracle/bin/libobk.so
lrwxrwxrwx   1 oracle   dba           18 Feb  8 11:55 
/u01/app/oracle/product/8.1.6/lib/libobk.so -> /usr/lib/libobk.so
cannot open /proc/4552/fd/6: No such file or directory
cannot open /proc/4552/fd: No such file or directory

The links correct. What are the last two lines though?

There was nothing returned from the find / -name libobk.a -exec what {} \; command

Thanks Again
Don Bricker


>>> James Thompson <[EMAIL PROTECTED]> 02/08/01 09:49PM >>>
I always like the command

find / -name libobk.a -exec ls -l {} \;
and
find / -name libobk.a -exec what {} \;

The first searches for all occurences of libobk.a and lists them in long
format so
that you can see if your links are correct.  You should rename Oracle's
libobk.a disk
library file.

The second makes sure that the libobk.a is the right version.

All you need is a soft link in the Oracle directory to /usr/lib/libobk.a
which should in
turn point to the tsm directory where the TDP for Oracle library file
resides.


James Thompson
----- Original Message -----
From: "Donald Bricker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 08, 2001 4:09 PM
Subject: Linking RMAN to ADSM


I am trying to set up RMAN 8.1.6 to communicate with ADSM/TDP. At one point
I was able to do an RMAN tablespace backup to tape and then was also able to
do a restore. Now when I try to get a tape backup it goes to disk.  In the
RMAN output it tells me it is using the Oracle Test Disk API. There are
other errors, but I suspect that this is the problem. I have tried shutting
down the databases and removing the soft link and relinking (soft).
One thing I noticed when I do :
ldd oracle|grep libobk.so
I get nothing back. Shouldn't I be seeing something here?
Also can anyone explain what the BACKUP_DIR environment variable?

Thank You

Don Bricker
Information Systems Analyst
Illinois Environmental Protection Agency
1021 North Grand Avenue East
Mail Code #32
Springfield, IL 62794-9276
[EMAIL PROTECTED]
(217) 558-2290
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3105.105" name=GENERATOR></HEAD>
<BODY style="FONT: 8pt MS Sans Serif; MARGIN-LEFT: 2px; MARGIN-TOP: 2px"><FONT
size=1>
<DIV><FONT size=1>James,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=1>On our system the library is
libobk.<STRONG>so</STRONG></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>Here is the output from the find / -name libobk.a -exec ls -l {} \;
command<BR></DIV>
<DIV><FONT size=1>lrwxrwxrwx&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp;
other&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 43 Feb&nbsp; 1 09:28
/usr/lib/libobk.so -&gt;
/opt/tivoli/tsm/client/oracle/bin/libobk.so<BR>-rwxr-xr-x&nbsp;&nbsp; 1
root&nbsp;&nbsp;&nbsp;&nbsp; other&nbsp;&nbsp;&nbsp;&nbsp; 135260 Apr 18&nbsp;
2000 /opt/tivoli/tsm/client/oracle/bin/libobk.so<BR>lrwxrwxrwx&nbsp;&nbsp; 1
oracle&nbsp;&nbsp;
dba&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 18 Feb&nbsp; 8
11:55 /u01/app/oracle/product/8.1.6/lib/libobk.so -&gt;
/usr/lib/libobk.so<BR>cannot open /proc/4552/fd/6: No such file or
directory<BR>cannot open /proc/4552/fd: No such file or directory</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=1>The links correct. What are the last two lines
though?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>There was nothing returned from the find / -name libobk.a -exec what {} \;
command</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks Again<BR>Don Bricker<BR></FONT><BR><BR>&gt;&gt;&gt; James Thompson
&lt;[EMAIL PROTECTED]&gt; 02/08/01 09:49PM &gt;&gt;&gt;<BR>I always like the
command<BR><BR>find / -name libobk.a -exec ls -l {} \;<BR>and<BR>find / -name
libobk.a -exec what {} \;<BR><BR>The first searches for all occurences of
libobk.a and lists them in long<BR>format so<BR>that you can see if your links
are correct.&nbsp; You should rename Oracle's<BR>libobk.a disk<BR>library
file.<BR><BR>The second makes sure that the libobk.a is the right
version.<BR><BR>All you need is a soft link in the Oracle directory to
/usr/lib/libobk.a<BR>which should in<BR>turn point to the tsm directory where
the TDP for Oracle library file<BR>resides.<BR><BR><BR>James Thompson<BR>-----
Original Message -----<BR>From: "Donald Bricker"
&lt;[EMAIL PROTECTED]&gt;<BR>To:
&lt;[EMAIL PROTECTED]&gt;<BR>Sent: Thursday, February 08, 2001 4:09
PM<BR>Subject: Linking RMAN to ADSM<BR><BR><BR>I am trying to set up RMAN 8.1.6
to communicate with ADSM/TDP. At one point<BR>I was able to do an RMAN
tablespace backup to tape and then was also able to<BR>do a restore. Now when I
try to get a tape backup it goes to disk.&nbsp; In the<BR>RMAN output it tells
me it is using the Oracle Test Disk API. There are<BR>other errors, but I
suspect that this is the problem. I have tried shutting<BR>down the databases
and removing the soft link and relinking (soft).<BR>One thing I noticed when I
do :<BR>ldd oracle|grep libobk.so<BR>I get nothing back. Shouldn't I be seeing
something here?<BR>Also can anyone explain what the BACKUP_DIR environment
variable?<BR><BR>Thank You<BR><BR>Don Bricker<BR>Information Systems
Analyst<BR>Illinois Environmental Protection Agency<BR>1021 North Grand Avenue
East<BR>Mail Code #32<BR>Springfield, IL
62794-9276<BR>[EMAIL PROTECTED]<BR>(217)
558-2290<BR></DIV></BODY></HTML>

Reply via email to