This post is more than 5 years old

46 Posts

1472

April 25th, 2007 00:00

problem with oracle module 4.2

Hello,

I have installed the oracle module on 2 Solaris servers. I have used the following document "Networker Module for Oracle Release 4.2 - Multiplatform version Installation Guide".
One server is running properly. Running backups on the other server we always have the following error

RMAN-03002: failure of backup command at 04/24/2007 15:37:57
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27211: Failed to load Media Management Library
Additional information: 25

I already search the forums for a solution, without success.
The problem is the same after restarting the databases.
Backups to disk are running properly.
Can someone help me looking for the cause of this problem. Here some additional info:

OS=Solaris 9
LEgato Networker 7.1.3
Package: LGTOnmo VERSION: 4.2 [LNMs_2004.Build.273]
Oracle: Entreprise 9.2.0.6 32 bit
ORACLE_HOME=/afs1/ora920
oracle@edgerppdb /afs1/ora920/lib $ ls -l | grep bk
lrwxrwxrwx 1 oracle dba 16 Apr 5 16:15 libobk.so -> /lib/libnwora.so
oracle@edgerppdb /afs1/ora920/lib $ ls -l /lib/libnwora.so
-rw-r--r-- 1 root bin 1465056 Apr 15 2005 /lib/libnwora.so

Thanks in advance,

Carlo

4 Operator

 • 

14.3K Posts

April 25th, 2007 07:00

Can you check if you have /afs1/ora920/lib32 directory. With 32 bith versions lib belongs to 64 bit versions while lib32 to 32bit. Also are you sure you use 32bit version as I see many 64 bot versions there according to ldd output. Unfortunatelly I use 64bit so I can't check how it is set in 32bit world right now.

4 Operator

 • 

14.3K Posts

April 25th, 2007 03:00

I thought library was in /usr/lib and not /lib as you show it... can you check it out?

4 Operator

 • 

14.3K Posts

April 25th, 2007 03:00

Oops, I didn't realize that. What is the crle output you got on those boxes?

46 Posts

April 25th, 2007 03:00

/lib is a link to /usr/lib for solaris 9

46 Posts

April 25th, 2007 04:00

crle output on working server (solaris 10)
(/lib and /usr/lib are separated directories on Sol10)

Default configuration file (/var/ld/ld.config) not found
Default Library Path (ELF): /lib:/usr/lib (system default)
Trusted Directories (ELF): /lib/secure:/usr/lib/secure (system default)

crle output on failing server (solaris 9)
( /lib is a link to /usr/lib)

Default configuration file (/var/ld/ld.config) not found
Default Library Path (ELF): /usr/lib (system default)
Trusted Directories (ELF): /usr/lib/secure (system default)

46 Posts

April 25th, 2007 06:00

We are using the 32bit version of Oracle.
What do you mean with "32bit will need relink from lib32 in that case"

I link to the default libnwora.so. I know there is a 64bit version of this library, but I am using the 32bit.

46 Posts

April 25th, 2007 06:00

I relink Oracle library to /usr/lib, but the problem is still the same :-(

4 Operator

 • 

14.3K Posts

April 25th, 2007 06:00

Are you running 32-bit or 64bit Oracle? 32bit will need relink from lib32 in that case.

4 Operator

 • 

14.3K Posts

April 25th, 2007 06:00

Since lib is link to /usr/lib change your symbolic link not to point to /lib, but rather /usr/lib (I'm referring to symlink for Oracle library).

76 Posts

April 25th, 2007 07:00

Hi Carlo,

if you run ldd /usr/lib/libnwora.so all libraries was found ? in nsrnmo script did you set LD_LIBRARY_PATH with all libraries directories ?

46 Posts

April 25th, 2007 07:00

# ldd /usr/lib/libnwora.so
libsocket.so.1 => /usr/lib/64/libsocket.so.1
libnsl.so.1 => /usr/lib/64/libnsl.so.1
libdl.so.1 => /usr/lib/64/libdl.so.1
libgen.so.1 => /usr/lib/64/libgen.so.1
libkvm.so.1 => /usr/lib/64/libkvm.so.1
libelf.so.1 => /usr/lib/64/libelf.so.1
libadm.so.1 => /usr/lib/64/libadm.so.1
libpthread.so.1 => /usr/lib/64/libpthread.so.1
librt.so.1 => /usr/lib/64/librt.so.1
libc.so.1 => /usr/lib/64/libc.so.1
libmp.so.2 => /usr/lib/64/libmp.so.2
libaio.so.1 => /usr/lib/64/libaio.so.1
libmd5.so.1 => /usr/lib/64/libmd5.so.1
libthread.so.1 => /usr/lib/64/libthread.so.1
/usr/platform/SUNW,Sun-Fire/lib/sparcv9/libc_psr.so.1
/usr/platform/SUNW,Sun-Fire/lib/sparcv9/libmd5_psr.so.1

I also have set
LD_LIBRARY_PATH=/lib:/usr/lib:/afs1/ora920/lib:$LD_LIBRARY_PATH
in the nsrnmo file, but still the same problem

4 Operator

 • 

14.3K Posts

April 25th, 2007 08:00

the nmo arch it should be the same of the database.

Correct.

76 Posts

April 25th, 2007 08:00

Carlo,

try to install nmo for solaris 32 if I remember the nmo arch it should be the same of the database.

46 Posts

April 26th, 2007 00:00

After I saw the output of the ldd command I was not sure I am using the 32bit version
I downloaded the 32bit package and I reinstall the module.
At the moment de backups are running fine.

Thanks for the help en input.

Carlo

46 Posts

April 26th, 2007 00:00

Like a mentioned above, I did a reinstall and the backups are running fine.

Thanks for the reaction.
No Events found!

Top