on 11-10-2011 6:36 PM
hi
just today i update kernel patch to 137(not latest) but when i run saproot.sh it show below:
./saproot.sh DEV
The database environment must be set for your DB6 database.
Login as <sid>adm and do 'su root' before starting this script
or
specify the correct name of the installed system
if <SID> does not match the current saproot input parameter DEV
#
why it show this error i use correct name of system, it is DEV, i run this command from /sapmnt/DEV/exe using root user, pls help me
Hello,
From your previous thread I see that your are on DB6, so I think this message is quite normal.
Please read -
http://help.sap.com/saphelp_nw70/helpdata/en/43/3753c4b87b6025e10000000a422035/content.htm
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> so syntax is correct? ./saproot.sh DEV ? but i'm already use root user still this error
Hello,
Syntax or the command is the correct one but the concept is I think the 'way' you log on to 'root'.
Please verify it once again, do log on via some other user and then execute 'su root' to log on to 'root'. This is what help page says - do not execute 'su - root'
Thanks
Hi Shilpa ,
The concept is that saproot.sh needs to be run as root but have all the environment variables of sidadm. you are getting the error because the env variables is unknown to root user.
Try to run saproot.sh with sidadm user.
sidadm> sudo -E saproot.sh DEV .
The u2018-Eu2019 flag tells sudo to take the environment variables with it.
The error you are getting can be fixed by upgrading the sudo .Please ask unix team to fix that.
Regards,
Sandeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.