Installation guide
Page 46 of 59
Configuring OracleAS Environment Variables
Before attempting any OracleAS administration, the default environment variables for the
Oracle OS user need to be setup. Edit the /home/oracle/.bash_profile file. The final
result should appear as follows (leaving previous settings in place).
export ORACLE_HOME=/opt/oracle/product/10.1.2/db_1
PATH=$PATH:$ORACLE_HOME/bin:$ORACLE_HOME/dcm/bin:$ORACLE_
HOME/opmn/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH
export PATH
export TMP=/tmp
export TMPDIR=/tmp
if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
if
if
Note that the ORACLE_HOME environment variable can only be set to point to the
software home for one OracleAS product. If you have multiple homes (such as Forms
and Portal), you may have to manually override the default variable when managing the
other products. Also note that the DISPLAY environment variable is not set by default.
For Oracle Application Server 10g, only a few tools such as oidadman require that
DISPLAY be set. The DISPLAY variable can be set manually, if needed.
Checking OracleAS Ports
Before you can administer OracleAS, you will need to know the port numbers for each
component. You should also cross-check the /etc/services file to make sure that there are
no conflicts with reserved ports. Port information is located in the file
$ORACLE_HOME/install/portlist.ini. Note that there will be a different portlist.ini file
for each unique ORACLE_HOME.
The following is an example of a portlist.ini file:
;OracleAS Components reserve the following ports at install time.
;As a post installation step, you can reconfigure a component to use a different port.
;Those changes will not be visible in this file.
[System]
Host Name = host1.mycompany.com
[Ports]
Oracle HTTP Server port = 7777
Oracle HTTP Server Listen port = 7778