Hi,
ora_env file
ORACLE_BASE=/home/oracle/oracle/product; export ORACLE_BASE
ORACLE_HOME=//home/oracle/oracle/product/10.2.0/client_1; export ORACLE_HOME
LD_LIBRARY_PATH=$ORACLE_HOME/lib
export LD_LIBRARY_PATH
ORACLE_SID=acc; export ORACLE_SID
start Script (your Scriot :-) )
. /openca/ora_env
openca_start=/openca/ra-intern-oracle/OpenCA/etc/openca_start
openca_stop=/openca/ra-intern-oracle/OpenCA/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
################################
I have . /openca/ora_env also in Apache startup script.
but it still doesn't work
Which client version do you use ?
Tx
Gio
At 15:24 15.12.2005, you wrote:
Hi,
I have LD_LIBRARY_PATH in /etc/.profile
now is it available for all.
please *source* the Oracle environment *file* from your startup script.
Setting an environment variable is very likely not enough.
If it still does not work, try the same with the Apache startup script,
just to be sure.
(I don't think this is necessary because the CGI which is run in the
web server context only talks to the OpenCA daemon, not directly to the
DB.)
ciao
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_id=7637&alloc_id=16865&op=click
_______________________________________________
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_id=7637&alloc_id=16865&op=click
_______________________________________________
Openca-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-users