Hi Martin,
I have copied
/home/oracle/oracle/product/10.2.0/client_1/lib
in /etc/ld.so.conf.
then the system should know where the Library are.
correct?
Giovanna




At 09:53 15.12.2005, you wrote:
Hi,

2005/12/13-15:43:40 OpenCA::Server (type Net::Server::Fork)
starting! pid(13105)
Binding to UNIX socket file /openca/ra-intern-oracle/OpenCA/var/tmp/ openca_socket using SOCK_STREAM
Setting gid to "8 8"
Setting uid to "30"
install_driver(Oracle) failed: Can't load '/usr/lib/perl5/site_perl/ 5.8.5/i586-linux-thread-multi/auto/DBD/Oracle/Oracle.so' for module
DBD::Oracle: libclntsh.so.10.1: Kann die Shared-Object-Datei nicht
öffnen: Datei oder Verzeichnis nichtgefunden at /usr/lib/ perl5/5.8.5/i586-linux-thread-multi/DynaLoader.pm line 230.
 at (eval 245) line 3
Compilation failed in require at (eval 245) line 3.
Perhaps a required shared library or dll isn't installed where
expected
 at /usr/lib/perl5/site_perl/5.8.5/OpenCA/DBI.pm line 760
Compilation failed in require at ./openca_start line 62.

make sure that you source the Oracle environment file for your Oracle
instance
in the OpenCA startup file. This environment file sets
LD_LIBRARY_PATH so that
the DB Driver can find the shared lib.

Suggestion for /etc/init.d/openca to give you an idea how this could
work:

#!/bin/sh

### BEGIN INIT INFO
# Provides: openca
# Required-Start: $local_fs $remote_fs $network oracle httpd
# Required-Stop: $local_fs $remote_fs $network
# Default-Start: 3 4 5
# Default-Stop: 0 1 2 6
# Description: Start the openca daemon
### END INIT INFO

INSTANCE=DCA01

if [ -r ~oracle/$INSTANCE/ora_env ] ; then
        . ~oracle/$INSTANCE/ora_env
fi

openca_start=/usr/local/openca-0.9.2/etc/openca_start
openca_stop=/usr/local/openca-0.9.2/etc/openca_stop

case "$1" in
    start)
        echo -n "Starting OpenCA ... "
        if $openca_start; then
            echo OK;
        else
            echo FAILED;
        fi
    ;;
    stop)
        echo "Shutting down OpenCA ... "
        $openca_stop
    ;;
    restart)
        $0 stop
        $0 start
    ;;
    *)
    echo "Usage: $0 {start|stop|restart}"
    exit 1
esac


cheers

Martin






-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&opick
_______________________________________________
Openca-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-users




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Openca-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to