cancel
Showing results for 
Search instead for 
Did you mean: 

Schema error in NW 7.3

Former Member
0 Kudos

Hi All,

I am installing SAP EHP1 for NW 7.3 on SQL server 2008 R2. When I am trying to install I am getting the attached error on the step "Create/Modify Schema". I thought its a user permission and tried many ways but I am not getting solution.

Please let me know what is the issue?

Regards

R.Prakash

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi All,

I tried to stop the SQL agent and ran. I have passed through the step but again I stuck with the "create Secure connection". Please let me know how to proceed.

I followed "http://scn.sap.com/thread/3430126" and try to update jvm but even though I am getting the same error.

Please let me know how to go ahead?

Regards

R.Prakash


former_member188883
Active Contributor
0 Kudos

Hi Prakash,

Are you working on Virtualized VM environment. If yes, please check with OS experts on the permissions issue.

Probably in windows event viewer or system logs you may get detailed information on the access issue and OS experts can help.

Hope this helps.

Regards,

Deepak Kori

Former Member
0 Kudos

Hi Deepak,

Is that the permission issue or some other?

Since I am getting SAP JVM could not be created.

Regards

R.Prakash

former_member188883
Active Contributor
0 Kudos

Hi Prakash,

Please share details of JVM error as earlier you mentioned you are getting error during db create.

Also check for relevant logs under windows event viewer.

Regards,

Deepak Kori

Former Member
0 Kudos

HI Deepak,

I am getting error as "An error occurred while processing option SAP Enhancement Package 1 for SAP NetWeaver 7.3 > MS SQL Server > SAP Systems > Application Server Java > Standard System > Standard System( Last error reported by the step: Cannot create the secure store. SOLUTION: See output of log file SecureStoreCreate.log: Could not create the Java virtual machine..) ".

Sorry I can't able to attach img.

When i check the "SecureStoreCreate.log" file it is telling "Could not create the Java virtual machine".

When I check the event log

": [7260] 09:58:12 ***ERROR (thread.cpp:5210): VMCOs::init failed"

": [7260] 09:58:12 ***ERROR (jvmEnv.cpp:132): VMCOs::init: Initialization of the control area failed"

": [7260] 09:58:12 ***ERROR (controls.cpp:275): Controls::init: Could not create control area. Maybe old VMs are still running."

": [7260] 09:58:12 ***ERROR (os_windows.cpp:4623): os::create_control_area: Could not create or open file mapping (filename=Local\sap_jvm_file_pid_6792_ 0) (size=45744) (error=5)"

Please le me know the solution?

Regards

R.Prakash

Former Member
0 Kudos

Hi Deepak,

Can you see this "http://scn.sap.com/thread/2092203". He is also facing the same issue.

But he was telling is the problem of JAVA_HOME. But I had already installed the dev server using the same files. Now trying for the QAA.

Let me know?

Regards

R.Prakash.

former_member188883
Active Contributor
0 Kudos

Hi Prakash,

[7260] 09:58:12 ***ERROR (controls.cpp:275): Controls::init: Could not create control area. Maybe old VMs are still running."

Could you kill earlier JRE processes running on the system.

un-install existing JVM setup (if any).

Take reboot and start the setup again.

Hope this helps.

Regards,

Deepak Kori

Former Member
0 Kudos

Hi Deepak,

Killed the JVM and try to install again. I am getting the old error  "Create/Modify Schema".. This time I dont want to stop the agent and proceed.

Let me know is this because of user permission which not able to create .mdf files?

Regards

R.Prakash

former_member188883
Active Contributor
0 Kudos

Hi Prakash,

Please attache sapinst_dev.log and other latest logs

Regards,

Deepak Kori

Former Member
0 Kudos

Hi Deepak,

Below is the few logs of "sapinst_dev.log".

Instantiating new NWUsageTypeBasic

TRACE      2014-03-18 10:47:41.831
NWUsageTypeBasic() done

TRACE      2014-03-18 10:47:41.839

  Call block: MssSchemaCreate_ind_ind_ind_ind
    function: MssSchemaCreate_ind_ind_ind_ind_PreStepPhase_CheckParameters_Preprocess
is validator: false

TRACE      2014-03-18 10:47:41.947 [sixxcstepexecute.cpp:824]
Execution of preprocess block of |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_MSS_DB|ind|ind|ind|ind|mss|0|MssSchemaCreate|ind|ind|ind|ind|mssSchemaCreate|0|CheckParameters returns TRUE.

TRACE      2014-03-18 10:47:41.965
Instantiating new NWUsageTypeBasic

TRACE      2014-03-18 10:47:41.965
NWUsageTypeBasic() done

TRACE      2014-03-18 10:47:41.967

  Call block: MssSchemaCreate_ind_ind_ind_ind
    function: MssSchemaCreate_ind_ind_ind_ind_PreStepPhase_CheckParameters
is validator: false

TRACE      2014-03-18 10:47:42.076
The step CheckParameters with key |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_MSS_DB|ind|ind|ind|ind|mss|0|MssSchemaCreate|ind|ind|ind|ind|mssSchemaCreate|0 has been executed successfully.

INFO       2014-03-18 10:47:42.77 [synxccuren.cpp:887]
           CSyCurrentProcessEnvironmentImpl::setWorkingDirectory(const CSyPath & C:/Program Files/sapinst_instdir/NW731/MSS/INSTALL/NW731/MSS/STD)
           lib=syslib module=syslib
Working directory changed to C:/Program Files/sapinst_instdir/NW731/MSS/INSTALL/NW731/MSS/STD.

TRACE      2014-03-18 10:47:42.84 [kdxxctaco.cpp:93]
           CKdbTableContainerImpl::syncToContainerFile lib=iakdblib
CKdbTableContainerImpl::syncToContainerFile start ...

TRACE      2014-03-18 10:47:42.155 [kdxxctaco.cpp:122]
           CKdbTableContainerImpl::syncToContainerFile lib=iakdblib
after creating out stream  for C:\Program Files\sapinst_instdir\NW731\MSS\INSTALL\NW731\MSS\STD\\keydb.xml

TRACE      2014-03-18 10:47:42.189 [kdxxctaco.cpp:156]
           CKdbTableContainerImpl::syncToContainerFile lib=iakdblib
CKdbTableContainerImpl::syncToContainerFile stop ...

TRACE      2014-03-18 10:47:42.190 [kdxxctaco.cpp:93]
           CKdbTableContainerImpl::syncToContainerFile lib=iakdblib
CKdbTableContainerImpl::syncToContainerFile start ...

TRACE      2014-03-18 10:47:42.532 [kdxxctaco.cpp:122]
           CKdbTableContainerImpl::syncToContainerFile lib=iakdblib
after creating out stream  for C:\Program Files\sapinst_instdir\NW731\MSS\INSTALL\NW731\MSS\STD\statistic.xml

TRACE      2014-03-18 10:47:42.784 [kdxxctaco.cpp:156]
           CKdbTableContainerImpl::syncToContainerFile lib=iakdblib
CKdbTableContainerImpl::syncToContainerFile stop ...

INFO       2014-03-18 10:47:42.788 [sixxcstepexecute.cpp:769]
Execute step CreateDirectories of component |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_MSS_DB|ind|ind|ind|ind|mss|0|MssSchemaCreate|ind|ind|ind|ind|mssSchemaCreate|0

TRACE      2014-03-18 10:47:42.838
Instantiating new NWUsageTypeBasic

TRACE      2014-03-18 10:47:42.839
NWUsageTypeBasic() done

TRACE      2014-03-18 10:47:42.846

  Call block: MssSchemaCreate_ind_ind_ind_ind
    function: MssSchemaCreate_ind_ind_ind_ind_PreStepPhase_CreateDirectories_Preprocess
is validator: false

TRACE      2014-03-18 10:47:42.979 [sixxcstepexecute.cpp:824]
Execution of preprocess block of |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_MSS_DB|ind|ind|ind|ind|mss|0|MssSchemaCreate|ind|ind|ind|ind|mssSchemaCreate|0|CreateDirectories returns TRUE.

TRACE      2014-03-18 10:47:43.019
Instantiating new NWUsageTypeBasic

TRACE      2014-03-18 10:47:43.020
NWUsageTypeBasic() done

TRACE      2014-03-18 10:47:43.027

  Call block: MssSchemaCreate_ind_ind_ind_ind
    function: MssSchemaCreate_ind_ind_ind_ind_PreStepPhase_CreateDirectories
is validator: false

TRACE      2014-03-18 10:47:43.595
The step CreateDirectories with key |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_MSS_DB|ind|ind|ind|ind|mss|0|MssSchemaCreate|ind|ind|ind|ind|mssSchemaCreate|0 has been executed successfully.

INFO       2014-03-18 10:47:43.596 [synxccuren.cpp:887]
           CSyCurrentProcessEnvironmentImpl::setWorkingDirectory(const CSyPath & C:/Program Files/sapinst_instdir/NW731/MSS/INSTALL/NW731/MSS/STD)
           lib=syslib module=syslib
Working directory changed to C:/Program Files/sapinst_instdir/NW731/MSS/INSTALL/NW731/MSS/STD.

TRACE      2014-03-18 10:47:43.600 [kdxxctaco.cpp:93]
           CKdbTableContainerImpl::syncToContainerFile lib=iakdblib
CKdbTableContainerImpl::syncToContainerFile start ...

TRACE      2014-03-18 10:47:43.646 [kdxxctaco.cpp:122]
           CKdbTableContainerImpl::syncToContainerFile lib=iakdblib
after creating out stream  for C:\Program Files\sapinst_instdir\NW731\MSS\INSTALL\NW731\MSS\STD\\keydb.xml

TRACE      2014-03-18 10:47:43.666 [kdxxctaco.cpp:156]
           CKdbTableContainerImpl::syncToContainerFile lib=iakdblib
CKdbTableContainerImpl::syncToContainerFile stop ...

TRACE      2014-03-18 10:47:43.667 [kdxxctaco.cpp:93]
           CKdbTableContainerImpl::syncToContainerFile lib=iakdblib
CKdbTableContainerImpl::syncToContainerFile start ...

TRACE      2014-03-18 10:47:43.863 [kdxxctaco.cpp:122]
           CKdbTableContainerImpl::syncToContainerFile lib=iakdblib
after creating out stream  for C:\Program Files\sapinst_instdir\NW731\MSS\INSTALL\NW731\MSS\STD\statistic.xml

TRACE      2014-03-18 10:47:43.973 [kdxxctaco.cpp:156]
           CKdbTableContainerImpl::syncToContainerFile lib=iakdblib
CKdbTableContainerImpl::syncToContainerFile stop ...

INFO       2014-03-18 10:47:43.975 [sixxcstepexecute.cpp:769]
Execute step CreateDatabase of component |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_MSS_DB|ind|ind|ind|ind|mss|0|MssSchemaCreate|ind|ind|ind|ind|mssSchemaCreate|0

TRACE      2014-03-18 10:47:44.001
Instantiating new NWUsageTypeBasic

TRACE      2014-03-18 10:47:44.001
NWUsageTypeBasic() done

TRACE      2014-03-18 10:47:44.006

  Call block: MssSchemaCreate_ind_ind_ind_ind
    function: MssSchemaCreate_ind_ind_ind_ind_PreStepPhase_CreateDatabase_Preprocess
is validator: false

TRACE      2014-03-18 10:47:44.94 [sixxcstepexecute.cpp:824]
Execution of preprocess block of |NW_Java_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_CreateDB|ind|ind|ind|ind|createdb|0|NW_MSS_DB|ind|ind|ind|ind|mss|0|MssSchemaCreate|ind|ind|ind|ind|mssSchemaCreate|0|CreateDatabase returns TRUE.

TRACE      2014-03-18 10:47:44.117
Instantiating new NWUsageTypeBasic

TRACE      2014-03-18 10:47:44.117
NWUsageTypeBasic() done

TRACE      2014-03-18 10:47:44.121

  Call block: MssSchemaCreate_ind_ind_ind_ind
    function: MssSchemaCreate_ind_ind_ind_ind_PreStepPhase_CreateDatabase
is validator: false

ERROR      2014-03-18 10:47:44.260 [iaxmcsql.cpp:116]
           iastring CIaMssSqlConnect::executeSQL(args_t const& _args)
MDB-05053  Errors when executing sql command: [Microsoft][ODBC SQL Server Driver][SQL Server]Directory lookup for the file "E:\QN1DATA1\QN1DATA1.mdf" failed with the operating system error 2(The system cannot find the file specified.).
[Microsoft][ODBC SQL Server Driver][SQL Server]CREATE DATABASE failed. Some file names listed could not be created. Check related errors.
[Microsoft][ODBC Driver Manager] Function sequence error
<p> SOLUTION: If this message is displayed as a warning, you can ignore it. If this is an error, contact SAP support. </p>

former_member188883
Active Contributor
0 Kudos

Hi Prakash,


MDB-05053  Errors when executing sql command: [Microsoft][ODBC SQL Server Driver][SQL Server]Directory lookup for the file "E:\QN1DATA1\QN1DATA1.mdf" failed with the operating system error 2(The system cannot find the file specified.).

[Microsoft][ODBC SQL Server Driver][SQL Server]CREATE DATABASE failed. Some file names listed could not be created. Check related errors.


Can you share E:\Drive and provide full permission to your use id.


Regards,

Deepak Kori

Former Member
0 Kudos

Hi Deepak,

I tried doing the share and gave full permission but not able to solve?

Regards

R.Prakash

former_member188883
Active Contributor
0 Kudos

Hi Prakash,

Make sure that the account that the MSSQLServer service is running on, as well as SQLServerAgent, have the following user rights permissions: # Act as part of the operating system.

# Increase quotas.

# replace process level token.

# Log on as a batch job.

You can do this by means of Windows "Administrative Tools", for example to add "increase quotas" right:

=> "Local Security Settings"

=> "Local Policies"

=> "User Rights Assignment"

=> double click on "Increase quotas"

=> add the Windows account, which is used to run the SQL Server service

Hope this helps.

Regards,

Deepak Kori

Former Member
0 Kudos

Hi Deepak,

I found only

# replace process level token.

# Log on as a batch job.

policies. My windows account is already present .

I guess the problem is in creating the mdf file. How to do it?

Regards

R.Prakash

Former Member
0 Kudos

Hi All,

Thanks for the reply.

Installed SQL again and gave some permissions like "db_owner" and it got installed.

I dont know what is the exact issue.

Regards

R.Prakash

former_member188883
Active Contributor
0 Kudos

Hi Prakash,

Good to know problem is resolved. please close this thread.

Regards,

Deepak Kori

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Create a folder manually and then proceed.

Regards,

Nick Loy

Former Member
0 Kudos

Hi All,

Created the Folder Manually. But it can't able to deploy the mdf file in that folder?

The user has Administrator rights. Let me know how to make a user permission for creating .mdf file?

Regards

R.Prakash

Former Member
0 Kudos

Hello Prakash,

Please check if you have permissions to the path also look at http://stackoverflow.com/questions/5870826/sql-server-2008-r2-cant-create-a-new-db

BR,

K.

Former Member
0 Kudos

Hi Kamil,

I tried to create a database in SQL. Its created. I don't know what level of permission required to create a folder or mdf files in E drive. Please let me know. My user has the admin rights.

I tried to create folder manually but even though it cant able to create the mdf file.

Please let me know the solution?

Regards

R.Prakash

former_member188883
Active Contributor
0 Kudos

Hi Prakash,

From your information


My user has the admin rights.

I tried to create folder manually but even though it cant able to create the mdf file.

You need to run the installation using Administrator user.

Regards,

Deepak Kori