![MACROMEDIA COLDFUSION 5 - INSTALING AND CONFIGURING SERVER Скачать руководство пользователя страница 142](http://html1.mh-extra.com/html/macromedia/coldfusion-5-instaling-and-configuring-server/coldfusion-5-instaling-and-configuring-server_manual_687486142.webp)
130
Chapter 6 Managing Data Sources
Installing and Configuring ColdFusion Server
The environment variables CFHOME and ORACLE_HOME are assumed to point to
the ColdFusion installation directory (usually /opt/coldfusion) and the Oracle Client
Software installation directory (for example, /opt/oracle8).
Use the genclntsh script provided by Oracle in the $ORACLE_HOME/rdbms/lib
directory and follow the Oracle instructions to build the libclntsh.so library in the
$ORACLE_HOME/lib directory.
Oracle troubleshooting
If ColdFusion cannot establish a connection to the Oracle 7.3.4 driver, try the
following workarounds:
•
Move the location of the ORACLE_HOME/lib to the end of the
LD_LIBRARY_PATH in the start script.
•
Make sure that the listener port number is the same one that you are pointing to
in the tnsnames.ora file.
•
Check in the $ORACLE_HOME/lib directory for the libclntsh.so file. If it does not
exist, you must reinstall the Oracle client software.
If the basic information that you entered in the Oracle Net8 Easy Config is correct,
but the connection test fails, then seek assistance from your Oracle 8 database
administrator (DBA). You should first check the basic connection information:
hostname, SID, username, and password. You can do this using the Net8 Easy Config
utility or by directly inspecting the tnsnames.ora file.
In addition, on UNIX, make sure that you defined the Oracle client library and
ORACLE_HOME in the coldfusion/bin/start script.
Connecting to Oracle 8.0.x through ODBC (UNIX)
Note
To use Oracle 8.0.4 and 8.0.5 x databases with ColdFusion on UNIX, you need to
build the libclntsh.so shared object file. For Oracle 8.0.6 through 8.1.x, no build is
necessary because the Oracle installation process places the libclntsh.so file in
$ORACLE_HOME/lib.
ColdFusion supports Oracle 8.0.4 and later.
To build a version of libclntsh.so for Oracle 8.0.4 and 8.0.5:
1
From the shell, set ORACLE_HOME, CFHOME, and LD_LIBRARY_PATH as set in
the start script:
•
Set ORACLE_HOME to the location of the Oracle client libraries.
•
Set CFHOME to the location of your ColdFusion application server.
•
Set LD_LIBRARY_PATH the same as in your start script.
For example:
CFHOME=/opt/coldfusion;export CFHOME
ORACLE_HOME=/opt/oracle8;export ORACLE_HOME
install.book Page 130 Thursday, May 10, 2001 12:59 PM
Содержание COLDFUSION 5 - INSTALING AND CONFIGURING SERVER
Страница 1: ...Macromedia Inc Installing and Configuring ColdFusion Server ColdFusion Server 5...
Страница 14: ...xiv Welcome to ColdFusion Server...
Страница 34: ...22 Chapter 1 Installing ColdFusion Server in Windows...
Страница 66: ...54 Chapter 3 Installing ColdFusion Server in Linux...
Страница 160: ...148 Appendix Preparing Your Server for ClusterCATS...