cancel
Showing results for 
Search instead for 
Did you mean: 

How to maintain PATH env variable in sun solaris OS for SAP

Former Member
0 Kudos

Hi,

We need to edit PATH variable in  env of orasid user.

By looking into sidadm and orasid users env the PATH environment variable is differnt.

Please tell us where and how to set correct value of PATH environment varaible.

Please find the attachments.

Regards,

Avadhesh,

+91 8095226536.

Accepted Solutions (0)

Answers (2)

Answers (2)

Reagan
Advisor
Advisor
0 Kudos

Hello

Switch to orasid user execute the command like I shown below. This will list all the files that has PATH in it. You need to modify those files with the variables you want to set.

su - orapip

grep PATH .*

I believe there will be .dbenv (ending with sh and csh) and you will need to modify these files

By the way why are you modifying them ? is there some issue due to the present setting ?

Regards

RB

Former Member
0 Kudos

Hi,

Due to incorrect value of parameter PATH in orasid ..backup is failing.

Please find the snapshot for command which brbackup in by both orasid and sidadm  users respectively.

Thanks,

Avadhesh Sharma

+91 8095226536

Reagan
Advisor
Advisor
0 Kudos

Hello

Thanks for the reply.

So modify the appropriate .sh and .csh file present in the home directory and restart the SAP instance.

Regards

RB

Former Member
0 Kudos

Hi,

As mentioned earlier these are the 4 file that always control the sap env set for user.

check for .sapenv_Hostname.csh and .sapenv_hostname.sh and .dbenv_databasename.csh .dbenv_databasename.sh

As your shell is set to csh you need to change csh files.

Login in the sid for which you want to change.

then give command

ls -la | grep <name of the variable that you are searching>

This command will tell where it is and in which files.

Change the value. STop oracle and sap. logoff and relogin. now check.

Thanks

Rishi Abrol

Former Member
0 Kudos

Hi,

If you want to change the orasid sap set profile .Login in orasid .check for .sapenv_Hostname.csh and .sapenv_hostname.sh and .dbenv_databasename.csh

Change the value. STop oracle and sap. logoff and relogin. now check.

thanks

Rishi Abrol