on 07-19-2015 5:12 AM
Hi,
I have just finished a system copy using latest SWPM on HP_UX with Oracle 10.2.0.4
I logged as orasid and and trying to execute brtools or any other R3 commands it displaying command not found.
[15] % pwd
/usr/sap/IP1/ASCS01/exe
[16] % whoami
oraip1
[17] % brtools
brtools: Command not found.
[18] % R3trans -version
R3trans: Command not found.
[19] % disp+work -version
disp+work: Command not found.
[20] % tp -v
tp: Command not found.
[21] % echo $shell
/usr/bin/csh
[22] %
Same time, I am able to access all those commands using SIDADM user. There is no issue with SAP system which is up and running without any issue.
I run DB13 operations which is completing successfully as well.
.
Also checked /etc/group
sapinst::105:ip1adm,oraip1
sapsys::106:ip1adm
dba::107:ip1adm,oraip1
oper::108:ip1adm,oraip1
I have check another system which I have done the same activity where I can run these commands as ORASID as well.
I do not understand what went wrong in this new system copy.
Please help.
Thank you very much in advance.
Regards,
Raghu
Hi Raghu,
Try to check the dbenv.sh & sapenv.sh files in your user home which will be /home/oraip1 or /oracle/IP1 folders.
This will be hiddent files so you need to use below command to find it.
ls -altr.
also do verify your all EXE paths and oracle home paths in same.
Also can you please paste the env for the oraip1 user.
Thanks.
Regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ram,
I ahve pasting my env here. Please update me if anything wrong in it,
HOME=/oracle/IP1
PATH=/oracle/IP1/102_64/bin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/perl/bin:/opt/gvsd/bin:/opt/ipf/bin:/opt/nettladm/bin:/opt/fcms/bin:/opt/wbem/bin:/opt/wbem/sbin:/opt/sas/bin:/opt/wli/bin:/opt/graphics/common/bin:/opt/hpvm/bin:/opt/atok/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/sec_mgmt/bastille/bin:/opt/caliper/bin:/opt/drd/bin:/opt/dsau/bin:/opt/dsau/sbin:/opt/resmon/bin:/opt/firefox:/usr/contrib/kwdb/bin:/opt/perl_32/bin:/opt/perl_64/bin:/opt/prm/bin:/opt/propplus/bin:/opt/sfm/bin:/opt/swm/bin:/opt/sec_mgmt/spc/bin:/opt/ssh/bin:/opt/swa/bin:/opt/hpsmh/bin:/opt/thunderbird:/opt/sentinel/bin:/opt/langtools/bin:/opt/gwlm/bin
LOGNAME=oraip1
SHELL=/bin/csh
TERM=xterm
COLUMNS=84
LINES=34
MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man:/opt/VRTS/vxfs5.0/man:/opt/ipf/man:/opt/ldapux/share/man/%L:/opt/ldapux/share/man:/opt/ldapux/ypldapd/man:/opt/cifsclient/share/man:/opt/openssl/man:/opt/openssl/prngd/man:/opt/wbem/share/man/%L:/opt/wbem/share/man:/opt/wli/man:/opt/graphics/common/man:/opt/hpvm/share/man/%L:/opt/amgr/man/%L:/opt/amgr/man:/opt/sec_mgmt/share/man:/opt/samba/man:/opt/samba/WTEC_Support_Tools/man:/opt/caliper/man/%L:/opt/caliper/man:/opt/drd/share/man/%L:/opt/drd/share/man:/opt/dsau/man:/opt/resmon/share/man/%L:/opt/resmon/share/man:/usr/contrib/kwdb/share/man:/opt/perl_32/man:/opt/perl_64/man:/opt/prm/man/%L:/opt/prm/man:/opt/propplus/share/man:/opt/psb/healthtest/share/man:/opt/sfm/share/man:/opt/swm/share/man/%L:/opt/swm/share/man:/opt/swa/share/man/%L:/opt/swa/share/man:/opt/ssh/share/man:/opt/sentinel/man/%L:/opt/sentinel/man:/opt/langtools/share/man/%L:/opt/langtools/share/man:/opt/openssl/fips/0.9.7/man:/opt/openssl/fips/0.9.8/man:/opt/gwlm/man/%L:/opt/gwlm/man:/opt/icod/man/%L:/opt/icod/man:/opt/ignite/share/man/%L:/opt/ignite/share/man
TZ=IST-5:30
SAPEXE=/usr/sap/IP1/SYS/exe/run
THREAD=NOPS
DB_SID=IP1
dbms_type=ORA
dbs_ora_tnsname=IP1
dbs_ora_schema=SAPP11
ORACLE_SID=IP1
ORACLE_HOME=/oracle/IP1/102_64
NLS_LANG=AMERICAN_AMERICA.UTF8
SAPDATA_HOME=/oracle/IP1
DIR_LIBRARY=/usr/sap/IP1/SYS/exe/run
ORACLE_BASE=/oracle
SHLIB_PATH=/oracle/IP1/102_64/lib:/usr/sap/IP1/SYS/exe/run
Thank you,
Raghu
just a small doubt as well,
in all other HP_UX system when i login as any user it is prompting like,
TEST00005:oraip1 1> echo $shell
/usr/bin/csh
that is my HOSTNAME:USER>
But only this new system when I login as ORASID it promp as
[1] % pwd
/oracle/IP1
[2] %
But SIDADM login promting corectly .
Do I need to change any setting anywhere to prompt it as normal where you can see system name and user.
Thanks,
Raghu
Hi ram,
please it would be much helpful if you can guide me.
Please find the .profile file in orasid home.
[3] % more .profile
# reset the -u option for HP
case `uname` in
HP*)
if [ -o "nounset" ]; then
set +u
fi
;;
esac
# RDBMS environment
# @(#) $Id: //bas/721_REL/src/krn/tpls/ind/DBSRC.SH#1 $ SAP
if [ -f $HOME/.dbenv_`hostname`.sh ]; then
. $HOME/.dbenv_`hostname`.sh
elif [ -f $HOME/.dbenv.sh ]; then
. $HOME/.dbenv.sh
fi
[4] % whoami
oraip1
[5] %
Regards,
Raghu
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.