on 07-03-2008 7:50 AM
Dear All,
I had updated my ECC6 Solaris/Oracle kernel from 111 to 159. I also executed
./saproot.sh <SID> as root user.
Still saposcol fails to come up. SAP is working fine. ABAP and Java stack is up n running. New kernel release is also shown as 159. The error is:
zonertd#[root]: cd /sapmnt/<SID>/exe/
zonertd#[root]: ./saproot.sh <SID>
./saproot.sh: whoami: not found
./saproot.sh: test: argument expected
I had copied back old saproot.sh from backup directory to new /sapmnt/<SID>/exe
Any ideas please?
regards, Sean
Hello Sean,
To solve the problem with saposcol you can change the rights on this file manualy.
chmod 4710 saposcol
For the saproot.sh you can try to run it in bash as root user.
su -
bash
./saproot.sh
Best regards,
Olivier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you post the script ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sean,
You can edit the script and add the following line:
export PATH=$PATH:{path to whoami} ...do a 'whereis whoami' to find path.
...which should fix it. Another option is to replace the command 'whoami' in the script by the full path to the program. Failing that you can do the permission changes the script does manually:
chown root:sapsys saposcol
chmod 4750 saposcol
Note: There are other files (icmbnd, Oracle specific) that the script checks too that I have left out since you only have issues with saposcol. Not having a Solaris system handy I can't determine what argument is required for 'test'.
Regards,
Nelis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.