SAPROOT.SH & ORAROOT.SH
saproot.sh and oraroot.sh are necessary to setup the ICMBND/BRTOOLS ownership and permission at OS level and script needs to be executed as root user.
Aftter kernel upgrade we need to execute these scripts before starting SAP.
Where to get These scripts:
These files comes when we extract below files downlaoded from Sap Service Marketplace:
SAPEXE.SAR >>It contains Database Independent executables files >> Contains saproot.sh script
SAPEXEDB.SAR >>It contains Database Dependent executables files >> Contains oraroot.sh script
Please follow as below:
1. Login as sidadm user
2. cd to /sapmnt/SID/exe
3. su (change as root user)
4. ./saproot.sh SID
5. ./oraroot.sh SID
Please refer below execution of ./saproot.sh command ,you’ll similar screen after execution.
<HostName>://sapmnt/<SID>/exe> ./saproot.sh SID
Preparing /usr/sap/<SID>/SYS/exe/run/brbackup …
Preparing /usr/sap/<SID>/SYS/exe/run/brarchive …
Preparing /usr/sap/<SID>/SYS/exe/run/brconnect …
Preparing icmbnd …
Set user ID bit on /usr/sap/<SID>/exe/sapuxuserchk
Please refer below execution of ./oraroot.sh command ,you’ll similar screen after execution.
Please read complete Kernel Upgrade Guide Step by Step with Commands.