Originally posted by: chandru0078
Hi Experts
I having problem to set up enviroment for aix 5.3 server. whenever i execute do env or printenv no output return .I know something missing which causing this but after googling still cannot manage to solve it.I alos compared with other servers and founded evertyhing looks alike but some how its not working .can anyone help me fix this issue.Do i need to use "set" command to set enviroment?
AIX 5300-05
04:10PM up 111 days,
-rwxrw---- 1 root security 1051 Nov 14 16:08 .profile
-
ls -l environment
-rw-rw-r-- 1 root system 1919 Jul 30 2007 environment
.profile(root)
if # This is at Shell startup. In normal
then echo "$MAILMSG" # operation, the Shell checks
fi # periodically.
umask 0022
SHELL=/usr/bin/ksh
AIXTHREAD_SCOPE=S
export AIXTHREAD_SCOPE
ORACLE_BASE=/u01/app/oracle
export ORACLE_BASE
ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
export ORACLE_HOME
ORACLE_SID=sprdtcsh
export ORACLE_SID
#PATH=/usr/bin:/usr/IBM/WebSphere/AppServer/java/bin:/usr/IBM/WebSphere/AppServe r/java:/etc:/usr/sbin:/usr/java14/jre/bin:/usr/java14/bin/usr/bin:/usr/ucb:$HOME /bin:/usr/bin/X11:/sbin:$ORACLE_HOME/bin:/usr/lpp/Acrobat5/bin:$PATH
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/usr/local/bin:/usr /local/sbin:/usr/ccs/bin:/sbin:/usr/bin:/usr/IBM/WebSphere/AppServer/java/bin:/s bin:$ORACLE_HOME/bin:/usr/lpp/Acrobat5/bin:.
export PATH
LIBPATH=$ORACLE_HOME/lib
export LIBPATH
LIBPATHS=/opt/compuware/VantageAnalyzer/agent/aix564
JAVA_HOME=/usr/IBM/WebSphere/AppServer/java/bin
export JAVA_HOME
#
cat /etc/enviroment
-
If /usr/ucb is at the beginning of the PATH the BSD version of commands will
-
be found.
#
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin
TZ=WAUST-8
LANG=en_US
LOCPATH=/usr/lib/nls/loc
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
LC__FASTMSG=true
-
ODM routines use ODMDIR to determine which objects to operate on
-
the default is /etc/objrepos - this is where the device objects
-
reside, which are required for hardware configuration
ODMDIR=/etc/objrepos
#