Operating System - HP-UX
1753893 Members
7586 Online
108809 Solutions
New Discussion юеВ

Re: unable to start and stop SAP in HP-UX 11.31

 
Dennis Handly
Acclaimed Contributor

Re: unable to start and stop SAP in HP-UX 11.31

>as V said set path $ORACLE_HOME/bin can be deleted right

No, just moved down:
# SAP environment
...
setenv ORACLE_HOME /oracle/EC6/102_64
...
set path = ($ORACLE_HOME/bin $path)
V. Nyga
Honored Contributor

Re: unable to start and stop SAP in HP-UX 11.31

Hi again,

alternatively create a script to set variables and call startsap after that.
So any user can start this without you have to change his .login file first.

See attachment.

HTH
V.
*** Say 'Thanks' with Kudos ***
k.l.deepak
New Member

Re: unable to start and stop SAP in HP-UX 11.31

Hi V,

Thanks a lot for your replys

as you said i adjusted env variabl like this in .login file

# SAP environment

setenv JAVA_HOME /opt/java1.4
setenv SAPSYSTEMNAME EC6
setenv ORACLE_BASE /oracle
setenv ORACLE_SID EC6
setenv ORACLE_HOME /oracle/EC6/102_64
setenv SAPDATA_HOME /oracle/EC6
setenv LIBRARY_PATH /oracle/EC6/102_64/lib
setenv SHLIB_PATH /oracle/EC6/102_64/lib:$SHLIB_PATH
set path = ($path $ORACLE_HOME/bin)

even though i am getting the same error
ORACLE_HOME is undefined while i am loging with ORA

and one more thing where i want to place the attached file which was sent by you.

Thank you in adavane
Keesara laxmideepak
V. Nyga
Honored Contributor

Re: unable to start and stop SAP in HP-UX 11.31

Hi again,

I can't reproduce this - please double check spelling and user .login place.

For testing you also can insert
echo start
before your
# SAP environment

and

echo stop

behind the block of 'setenv'.

Is the error message before of after an echo output?

Can you post output of 'env'?

>where i want to place the attached file which was sent by you.

First you can place it in the home directory of the user.
Then start it with './'

V.
P.S.
Maybe you should ask an UX-admin in your company?
*** Say 'Thanks' with Kudos ***