Hi. All.
I try to install OPEnACS4.5 with PostGREsql 7.1.3 on RedHat7.2.
I followed the installation instruction for 4.5.
First I installed PostGresql, and got it work. I
changed .bash_profile of the postgre user folder, which is as follows:
# .bash_profile
# Get the aliases and functions
#if [ -f ~/.bashrc ]; then
# . ~/.bashrc
#fi
# User specific environment and startup programs
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pgsql/lib
PATH=$PATH:/usr/local/pgsql/bin
export PATH LD_LIBRARY_PATH
#PATH=$PATH:$HOME/bin
#export PATH
#unset USERNAME
It worked well for the first time. When I echo $PATH, it showed
me /usr/local/pgsql/bin as the part of PATH. But after I installed
aolserver and openacs (there were some problems, so I reinstalled
aolserer several times), I can't get any /usr/local/pgsql/bin from
echo $PATH.
And that's the same thing for echo $PATH for nsadmin user. And I
can't get any result from "echo $LD_LIBRARY_PATH". In this case, I
can't open database with "psql databasename" for both postgres and
nsadmin users.
Any thoughts?
TIA,
Jay