cancel
Showing results for 
Search instead for 
Did you mean: 

TST_ERROR

0 Kudos
423

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 SID -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 (2)

Answers (2)

Former Member
0 Kudos

Hi Aldo,

This directory in the /tmp that is "/tmp/sapinst_instdir/NW731/INSTALL/NW73/DB6/STD/AS-ABAP/db6_update_db.sh" need to be given 777 permission as below:

chown -R <sidadm>:sapsys /sapmnt/<SID>

as root login:

chmod 777 /tmp/sapinst_instdir/NW731/INSTALL/NW73/DB6/STD/AS-ABAP/db6_update_db.sh


as db2inst1 login:


chmod 777 /tmp/sapinst_instdir/NW731/INSTALL/NW73/DB6/STD/AS-ABAP/db6_update_db.sh


Best Regards,

Ugur AKDUMAN

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