This content has been marked as final. Show 4 replies
Some additional info about env vars settings in my system:
- I have set values for these Env Vars in .bash_profile files
ORACLE_HOME=/opt/oracle/oraclehome export ORACLE_HOME
LD_LIBRARY_PATH=/opt/oracle/oraclehome/lib export LD_LIBRARY_PATH
these lines have been added to files
- I have also set values in .bashrc files
in the following files
- in /etc/profile file, I had the following lines added
- in /opt/pmx/apache-2.2.8/bin/envvars :
NLS_LANG = AMERICAN_AMERICA.UTF8
- and finally in /etc/httpd/conf/httpd.conf :
SetEnv ORACLE_HOME /opt/oracle/oraclehome
SetEnv LD_LIBRARY_PATH /opt/oracle/oraclehome/lib
LoadModule php5_module /usr/lib64/httpd/modules/libphp5.so
Also, I have changed permissions in lib folder:
#chmod o+x /opt/oracle/oraclehome/lib
#chmod o+x /opt/oracle/oraclehome
#chmod o+x /opt/oracle
#chmod o+x /opt
I have read about a 'changePerm.sh' script that could get the whole permissions issue done, but there is no such file in my server.
Edited by: 940069 on Jun 12, 2012 4:06 AM
Edited by: 940069 on Jun 12, 2012 4:08 AM
I had to uninstall Oracle Instant Client, which created a conflict with Oracle Client.
my solution was:
add user that startup apache (daemon) in group dba and oinstall.
Solution to what? Adding those groups to apache is a big security issue because any user who can compromise your apache stack can overwrite your Oracle installation.