0% found this document useful (0 votes)
27 views

Note 2974528 - SP2-0310 -- unable to open file during SWPM creating database - NetWeaver

The SAP Knowledge Base Article 2974528 addresses the SP2-0310 error encountered during database creation in NetWeaver on Oracle. The issue arises because SQL statement files are owned by root and not accessible to the necessary users, leading to SQLPLUS command failures. The resolution involves adding the relevant users to the sapinst group temporarily during the SWPM job and then removing them afterward.

Uploaded by

Mitchel Neyra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views

Note 2974528 - SP2-0310 -- unable to open file during SWPM creating database - NetWeaver

The SAP Knowledge Base Article 2974528 addresses the SP2-0310 error encountered during database creation in NetWeaver on Oracle. The issue arises because SQL statement files are owned by root and not accessible to the necessary users, leading to SQLPLUS command failures. The resolution involves adding the relevant users to the sapinst group temporarily during the SWPM job and then removing them afterward.

Uploaded by

Mitchel Neyra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

SAP Knowledge Base Article

2974528 - SP2-0310: unable to open file during SWPM creating database - NetWeaver
Component: BC-DB-ORA (Basis Components > Database Interface, Database Platforms > Oracle), Version: 1,
Released On: 29.09.2020

Symptom
Last error reported by the step: SQL statement or script failed.
SP2-0310: unable to open file "setSpfileParameter.sql"
SP2-0310: unable to open file "ora_query3_tmporacrs0_1.sql"

Environment
NetWeaver on Oracle database

Cause
SQL statement files are owned by root and given read permission to group sapinst. SQLPLUS command should be called by
user <sid>adm or ora<sid>. But the user <sid>adm and ora<sid> are not belong to sapinst group. It causes the SQLPLUS
command is unable to open file "setSpfileParameter.sql".
-rw-r----- 1 root sapinst 297 Sep 20 12:08 ora_query3_tmporacrs0_1.sql
-rw-r----- 1 root sapinst 183 Sep 20 12:09 setSpfileParameter.sql

Resolution
Please add user <sid>adm and ora<sid> to group sapinst. And then complete the SWPM job. After finishing the installation,
please remove the user <sid>adm and ora<sid> from group sapinst.

Keywords
SP2-0310,setSpfileParameter.sql,ora_query3_tmporacrs0_1.sql

Products
Products

SAP NetWeaver 2004

SAP NetWeaver 7.0

SAP NetWeaver 7.1

SAP NetWeaver 7.2

SAP NetWeaver 7.3

SAP NetWeaver 7.4

SAP NetWeaver 7.5

SAP enhancement package 1 for SAP NetWeaver 7.0

SAP enhancement package 1 for SAP NetWeaver 7.3

SAP enhancement package 2 for SAP NetWeaver 7.0

SAP enhancement package 3 for SAP NetWeaver 7.0

You might also like