on 02-07-2008 9:02 AM
I need to give access to execute dpmon from user account who sont have <sid>adm user authorization...
I am not sure to set the env variables.....or there is any give this permission .
You need to
- add the PATH of dpmon to the PATH of the user
- add the LD_LIBRARY_PATH to the users environment
- set SAPSYSTEMNAME
The easiest way would be to copy the appropriate .sapenv_<hostname>.csh or .sapenv_<hostname>.sh to the users directory.
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thnks for the response Markus,
I have added the below commands in user's .profile file and copied the .env_hostname.sh file in to the user
home directory.
PATH =/sapmnt/<SID>/exe
export PATH
LD_LIBRARY_PATH =/sapmnt/<SID>/exe
Export LD_LIBRARY_PATH
SAPSYSTEMNAME = <SID>
export SYSTEMNAME
But its not working and got error after login to the screen
.profile[6]: PATH: not found.
.profile[9]: LD_LIBRARY_PATH: not found.
.profile[10]: Export: not found.
.profile[12]: SAPSYSTEMNAME: not found.
[YOU HAVE NEW MAIL]
I tried to run dpmon from user account but its giving the below error:
DpMonInit failed - possibly no dispatcher running
DpMon: External/Internal dplib version: 109/232
If there is any way to set the add the above variables other thatn adding in .profile file / any other changes need to do for <sid>adm env ?.
Thanks,
Nag.
Markus,
I tried this,below is the script contains in adm>.profile and is written in Cshell.
.......................................................
SAP environment
if [ -f $HOME/.sapenv_`hostname`.sh ]; then
. $HOME/.sapenv_`hostname`.sh
elif [ -f $HOME/.sapenv.sh ]; then
. $HOME/.sapenv.sh
fi
.................................................
But user env is in kshell.Any way I have coverted the same if condition into into kshell and not triggered any error after login.But it's not accessing the adm env . at user account.send me the above loop in kshell so that I will correct if any thing wrong from side.I feel if there is any problem with prmissions.After copying the script in to user home it is showing user as the owner of the script.Its not allowing to change owner as sidadm.
Thanks,
Nag.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.