cancel
Showing results for 
Search instead for 
Did you mean: 

SAPINST Error in db2 script

0 Kudos

Hi everybody, I'm installing a Netweaver 7.3 EHP1 system in Linux with DB2, but when sapinst reaches phase 36 (enable role concept) I get a message like this

Last error reported by the step: Execution of the command "/tmp/sapinst_instdir/NW731/INSTALL/NW73/DB6/STD/AS-ABAP/db6_update_db.sh -d BWS -enable_roles" finished with status TST_ERROR

I tried to execute the command with root user but I got a message "you should run this with DB owner", I change my user to DB2<SID> and the script ran perfectly

But, how can I solve this problem if root is running sapinst and DB2<SID> have no permissions tu run sapinst?

thanks in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member188883
Active Contributor
0 Kudos

Hi Aldo,

Please stop the sapinst. 

Go to the installation directory . Edit keydb.xml file , change ERROR to OK.

This would skip this step as you have run the script without issues.

Restart sapinst as user root with option SAPINST_SKIP_ERRORSTEP=true.

Regards,

Deepak Kori

Former Member
0 Kudos

Stop your SAPINST.

Go to "/tmp/sapinst_instdir/NW731/INSTALL/NW73/DB6/STD/AS-ABAP/ directory

Copy keydb.xml to ORG_keydb.xml.back

Edit the keydb.xml using vi editor and lock for ERROR and replace the ERROR with OK.

Now restart the sapinst and continue with the installation.

Regards,

Dipam