cancel
Showing results for 
Search instead for 
Did you mean: 

Kernel upgrade error

Former Member
0 Kudos

Dear All,

I had updated my ECC6 Solaris/Oracle kernel from 111 to 159. I also executed

  1. ./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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (2)

Answers (2)

former_member185954
Active Contributor
0 Kudos

can you post the script ?

nelis
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Dear All,

Thanks for your answers.

I simply changed rights to dev_coll and saposcol is running w/o problems.

regards, Sean.