RE: Library Path Issue

From: Scott Canaan <srcdco_at_rit.edu>
Date: Thu, 1 Jul 2021 16:04:08 +0000
Message-ID: <5fc9bf1fb808402092ebfc3c671c35dc_at_ex04test91a.ad.rit.edu>



I believe I figured it out. I thought I had copied the $ORACLE_HOME/hs/admin/extproc.ora from the other server, but apparently I hadn’t. That file needed to have SET EXTPROC_DLLS=ANY added to it.

Scott Canaan ‘88
Sr Database Administrator
Information & Technology Services
Finance & Administration
Rochester Institute of Technology
o: (585) 475-7886 | f: (585) 475-7520
srcdco_at_rit.edu<mailto:srcdco_at_rit.edu> | c: (585) 339-8659

CONFIDENTIALITY NOTE: The information transmitted, including attachments, is intended only for the person(s) or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and destroy any copies of this information.

From: oracle-l-bounce_at_freelists.org <oracle-l-bounce_at_freelists.org> On Behalf Of Sayan Malakshinov Sent: Thursday, July 1, 2021 12:01 PM
To: Scott Canaan <srcdco_at_rit.edu>
Cc: oracle-l_at_freelists.org
Subject: Re: Library Path Issue

Hi Scott,

LD_LIBRARY_PATH=/oracle/data/scripts/lib:$LD_LIBRARY_PATH

Have you checked $LD_LIBRARY_PATH in your listener env variables? and you haven't shown ls -l /oracle/data/scripts/lib has oracle permissions to it?

On Thu, Jul 1, 2021 at 6:12 PM Scott Canaan <srcdco_at_rit.edu<mailto:srcdco_at_rit.edu>> wrote: I have a c program that sends audit data to the OS syslog. I just moved the database from a Red Hat 7 server to a Red Hat 8 server. I had this same problem last year after applying the April PSU.

The listener.ora contains:

    (SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle/app/product/19.0.0.0<http://19.0.0.0>)
(PROGRAM = extproc)

#      (ENVS = "EXTPROC_DLLS=ANY:/oracle/data/scripts/lib/syslog.so")

(ENVS = "EXTPROC_DLLS=ANY,LD_LIBRARY_PATH=/oracle/data/scripts/lib:$LD_LIBRARY_PATH")
    )

The library is here:

/oracle/data/scripts/lib
oracle_at_dbmon06:DBMONITR>ls

syslog.bak3  syslog.o      syslog.so         syslog.so.bak  test.o
syslog.c     syslog.o.bak  syslog.so.051120  test.c         test.so



--
Best regards,
Sayan Malakshinov
Oracle performance tuning engineer
Oracle ACE Associate
http://orasql.org

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Jul 01 2021 - 18:04:08 CEST

Original text of this message