cancel
Showing results for 
Search instead for 
Did you mean: 

Problem starting SAP NetWeaver CE - jstart won't run

Former Member
0 Kudos

Hi,

i installed the trial version SAP NetWeaver CE SP 1 successfully without any errors. then after i start CE1, everything runs except jstart. it won't run and it's stopped after view minutes. and if i look at developer trace it looks:

...

...

...

F ********************************************************************************

F ********************************************************************************

F Starting process: C:usrsapCE1SYSexeucNTI386jstart.EXE

F arg[ 1] = -nodeId=1000

F arg[ 2] = pf=C:usrsapCE1SYSprofileCE1_J01_e0127

F arg[ 3] = -hostvm

F arg[ 4] = -nodeName=flightrec

F arg[ 5] = -file=C:usrsapCE1SYSexeucNTI386startup.properties

F arg[ 6] = -jdkFile=C:usrsapCE1J01workjstart.jdk

F arg[ 7] = -traceFile=C:usrsapCE1J01workdev_flightrec

F arg[ 8] = -javaOutFile=C:usrsapCE1J01workjvm_flightrec.out

F arg[ 9] = -clusterId=bootstrap

F env : JStart/ReserveSize=0x60000000

F exePath : PATH=C:usrsapCE1SYSexejvmNTI386sapjvm_5.1.006sapjvm_5in;C:sapdbprogramsin;C:sapdbprogramspgm;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:ProgrammiATI TechnologiesATI Control Panel

F libPath : PATH=C:usrsapCE1SYSexejvmNTI386sapjvm_5.1.006sapjvm_5jreinserver;C:usrsapCE1SYSexejvmNTI386sapjvm_5.1.006sapjvm_5jrein;C:usrsapCE1SYSexejvmNTI386sapjvm_5.1.006sapjvm_5in;C:sapdbprogramsin;C:sapdbprogramspgm;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:ProgrammiATI TechnologiesATI Control Panel

F stdout : C:usrsapCE1J01workstd_flightrec.out

F stderr : C:usrsapCE1J01workstd_flightrec.out

F console : no

F debugger: no

F nice : yes

F ********************************************************************************

F Process flight_recorder started with pid 856

F ********************************************************************************

F [Thr 1992] *** LOG => Process flightrec started (pid 856).

F

F [Thr 1992] Mon Sep 10 13:21:42 2007

F [Thr 1992] *** LOG => Process flightrec stopping (pid 856).

F

F [Thr 144] Mon Sep 10 13:21:42 2007

F [Thr 144] *** LOG => Signal 13 SIGCHLD.

F [Thr 1992] *** LOG => Process flightrec stopped (pid 2044).

F [Thr 1992] *** LOG => Instance state is "Synchronizing binaries" (STOPPING @ 0, INACTIVE).

F [Thr 1992] *** LOG => Run level 2 completed.

F [Thr 1992] *** LOG => Instance state is "Some processes failed" (STOPPED @ 0, INACTIVE).

F [Thr 1992] *** LOG => goodbye... (exitcode 22002, retcode 1)

then i found in this following thread https://www.sdn.sap.com/irj/sdn/forums that the problem could be in Database. then i try start MAXDB :CE1 manually via windwos services, but i get a error message: access denied

when i start SAP NetWeaver CE via startSystem.cmd

i get this following error message:

========= starting database instace ...

System error 5 has occured.

Access is denied.

The MaxDB Database Starter,Version 7.6.02.09

copyright 2000-2007 by SAP AG

ERR

-24994,ERR_RTE: Runtime environment error

1,Access denied <OS error code 11000>

Error:Error while calling dbmcli

"C:/sapdb/programs/pgm/dbmcli" -d CE1 -u , db_online

========= Start database failed !

could someone help to solve this problem??

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hallo Stefan,

i found "sapdbwww" and i set its permission as instruction. But i can't find "SAP DBTech-<SID>". it's really weird

when i start "C:\usr\sap\CE1\J01\exe\startSystem.cmd" i get this following error:

 
===================================================
============== Starting System CE1 ================
===================================================


=============== Starting database instance ...

System error 5 has occurred.

Access is denied.

The MaxDB Database Starter, Version 7.6.02.09
Copyright 2000-2007 by SAP AG

ERR
-24994,ERR_RTE: Runtime environment error
1,Access denied (OS error code 11000)
Error: Error while calling dbmcli
"C:sapdbprogramspgmdbmcli"  -d CE1 -u *,* db_online



============== Start database failed !

Dru00FCcken Sie eine beliebige Taste . . .

thanks a lot for your support

regards,

David

stefan_seemann
Employee
Employee
0 Kudos

Hello,

as a first step I would suggest to try to start the Engine when the database is already in state Online.

For that please run these commands from a dos shell:

net start Xserver

\sapdb\<SID>\db\pgm\dbmstart.exe -d <SID>

For example c:\sapdb\CE1\db\pgm\dbmstart.exe -d CE1

When the user is administrator he has thje permission to start the database.

After that try to start the engine again via MMC.

To get the database started together with the engine please try these steps. You might have already implemented some of them.

It is from SAP Note 953763

A workaround is to start the engine using the shortcut under Start ->

Programs -> SAP Netweaver Composition Environment -> Application Server

-> Start Application Server.

To have the database started together with the engine from within the

SAPMMC, you need to extend the permissions of the Windows services

sapdbwww and "SAP DBTech-<SID>".

To do this, open a command prompt and perform the following steps:

1. Grant LocalService Access rights to sapdbwww Service

a) Get SDDL descriptor with command "sc sdshow sapdbwww"

b) Copy descriptor string and add (A;;CCLCSWRPWPDTLOCRRC;;;LS)

c) Set SDDL descriptor using command s"c sdset sapdbwww"

<current_descriptor>(A;;CCLCSWRPWPDTLOCRRC;;;LS)

2. Grant LocalService Access rights to #SAP DBTech: <SID>## Service

a) Get SDDL descriptor with command "sc sdshow #SAP DBTech-<SID>#"

b) Copy descriptor string and add (A;;CCLCSWRPWPDTLOCRRC;;;LS).

c) Set SDDL descriptor using "sc sdset #SAP DBTech-<SID>#

<current_descriptor>(A;;CCLCSWRPWPDTLOCRRC;;;LS)".

d) If not already existing, create local Group "SDBOperators".

e) Add user "Local Service" to group "SDBOperators".

f) Open a command prompt and run program "xinstinfo.exe".

g) Add group "SDBOperators" to the following directories:

- IndepData/wrk

- IndepPrograms

h) Add permission "Full Control" to the group "SDBOperators".

Hope that helps, Stefan

Former Member
0 Kudos

i mean during installation of SAP NW CE i had a problem with "LOKALER DIENST" than i found that thread and i could install NW CE without errors.

i get this problem when i start SAP NW CE. after a while jstart will stop. somehow the problem could be with MAXDB. because MAXDB won't start and it's said that "ACCESS DENIED", actually i've already changed the permission of those folder into "FULL ACCESS".

regards,

David

Vlado
Advisor
Advisor
0 Kudos

Hi David,

I forwarded your question to our MaxDB experts, hope they can help you better.

Cheers,

Vladimir

Former Member
0 Kudos

Hi Vladimir,

yes, i'm using Windows XP Pro German.

when i was installing SAP NW CE, i had problem with "LOKALER DIENST" and it's already fixed.

Vlado
Advisor
Advisor
0 Kudos

Are you using a non-English version of Windows? If so, please take a look at thread.

Hope it helps!

-- Vladimir

Former Member
0 Kudos

hi

this is the complete developer trace file from jstart:


---------------------------------------------------
trc file: "C:usrsapCE1J01workdev_jstart", trc level: 1, release: "710"
---------------------------------------------------
sysno      01
sid        CE1
systemid   560 (PC with Windows NT)
relno      7100
patchlevel 0
patchno    0
intno      20020600
make       multithreaded, Unicode, optimized
profile    C:usrsapCE1SYSprofileCE1_J01_e0127
pid        3732

*
*  ACTIVE TRACE LEVEL           1
*  ACTIVE TRACE COMPONENTS      All, gi
*

arguments :
  arg[ 0] : C:usrsapCE1SYSexeucNTI386jstart.EXE
  arg[ 1] : pf=C:usrsapCE1SYSprofileCE1_J01_e0127

F  
F Thu Sep 20 10:19:37 2007
F  ********************************************************************************
F  Java SDK properties (C:usrsapCE1J01workjstart.jdk)
F    root directory    : C:usrsapCE1SYSexe/jvm/NTI386/sapjvm_5.1.006/sapjvm_5
F    vendor            : SAP AG
F    version           : 1.5.0_11
F    cpu               : x86
F    java vm type      : server
F    jvm library name  : jvm.dll
F    library path      : C:usrsapCE1SYSexejvmNTI386sapjvm_5.1.006sapjvm_5jrebinserver;C:usrsapCE1SYSexejvmNTI386sapjvm_5.1.006sapjvm_5jrebin
F    executable path   : C:usrsapCE1SYSexejvmNTI386sapjvm_5.1.006sapjvm_5bin
F  ********************************************************************************
F    SAP extensions    : available
F  ********************************************************************************
I  
I [Thr 2500] Thu Sep 20 10:19:38 2007
I  [Thr 2500] MtxInit: 30002 0 2
F  [Thr 2500] *** LOG => connected to Message Server.
F  [Thr 2500] *** LOG => Starting run level 1.
F  ********************************************************************************
F  Java process [deployment] properties:
F    section name     : deployment
F    config file      : C:usrsapCE1SYSexeucNTI386startup.properties
F    node name        : Deploy_offline
F    home directory   : C:usrsapCE1J01j2eecluster
F    shutdown timeout : 122000 ms
F    exit timeout     : 7000 ms
F    sf support       : false
F    debuggable       : false
F    debugger active  : false
F  ********************************************************************************
F  [Thr 2500] *** LOG => Instance state is "Deploying offline components" (STARTING @ 0, INACTIVE).
F  [Thr 2500] *** LOG => Starting nodes: runlevel 1.
F  ********************************************************************************
F  Starting process: C:usrsapCE1SYSexeucNTI386jstart.EXE
F    arg[ 1] = -nodeId=0
F    arg[ 2] = pf=C:usrsapCE1SYSprofileCE1_J01_e0127
F    arg[ 3] = -hostvm
F    arg[ 4] = -nodeName=deployment
F    arg[ 5] = -file=C:usrsapCE1SYSexeucNTI386startup.properties
F    arg[ 6] = -jdkFile=C:usrsapCE1J01workjstart.jdk
F    arg[ 7] = -traceFile=C:usrsapCE1J01workdev_deployment
F    arg[ 8] = -javaOutFile=C:usrsapCE1J01workjvm_deployment.out
F    env   : JStart/ReserveSize=0x60000000
F  exePath : PATH=C:usrsapCE1SYSexejvmNTI386sapjvm_5.1.006sapjvm_5bin;C:sapdbprogramsbin;C:sapdbprogramspgm;C:WINXPsystem32;C:WINXP;C:WINXPSystem32Wbem;C:Program FilesNetinst;C:Program FilesScite;C:Program Filesj2sdk1.4.2bin;C:Program FilesPUTTY;C:Program FilesHummingbirdConnectivity7.11Accessories
F  libPath : PATH=C:usrsapCE1SYSexejvmNTI386sapjvm_5.1.006sapjvm_5jrebinserver;C:usrsapCE1SYSexejvmNTI386sapjvm_5.1.006sapjvm_5jrebin;C:usrsapCE1SYSexejvmNTI386sapjvm_5.1.006sapjvm_5bin;C:sapdbprogramsbin;C:sapdbprogramspgm;C:WINXPsystem32;C:WINXP;C:WINXPSystem32Wbem;C:Program FilesNetinst;C:Program FilesScite;C:Program Filesj2sdk1.4.2bin;C:Program FilesPUTTY;C:Program FilesHummingbirdConnectivity7.11Accessories
F  stdout  : C:usrsapCE1J01workstd_deployment.out
F  stderr  : C:usrsapCE1J01workstd_deployment.out
F  console : no
F  debugger: no
F  nice    : yes
F  ********************************************************************************
F  Process Deploy_offline started with pid 2580
F  ********************************************************************************
F  [Thr 2500] *** LOG => Process deployment started (pid 2580).
F  
F [Thr 2500] Thu Sep 20 10:19:43 2007
F  [Thr 2500] *** LOG => Process deployment running (pid 2580).
F  [Thr 2500] *** LOG => Instance state is "Deploying offline components" (RUNNING @ 0, INACTIVE).
F  
F [Thr 2500] Thu Sep 20 10:19:47 2007
F  [Thr 2500] *** LOG => Process deployment stopping (pid 2580).
F  
F [Thr 3304] Thu Sep 20 10:19:47 2007
F  [Thr 3304] *** LOG => Signal 13 SIGCHLD.
F  [Thr 2500] *** LOG => Process deployment stopped (pid 2580).
F  [Thr 2500] *** LOG => Instance state is "Deploying offline components" (STOPPING @ 0, INACTIVE).
F  [Thr 2500] *** LOG => Run level 1 completed.
F  [Thr 2500] *** LOG => Starting run level 2.
F  
F Thu Sep 20 10:19:48 2007
F  ********************************************************************************
F  Java process [bootstrap] properties:
F    section name     : bootstrap
F    config file      : C:usrsapCE1SYSexeucNTI386startup.properties
F    node name        : Instance_bootstrap
F    home directory   : C:usrsapCE1J01j2eecluster
F    shutdown timeout : 122000 ms
F    exit timeout     : 7000 ms
F    sf support       : false
F    debuggable       : false
F    debugger active  : false
F  ********************************************************************************
F  [Thr 2500] *** LOG => Instance state is "Synchronizing binaries" (STARTING @ 0, INACTIVE).
F  [Thr 2500] *** LOG => Starting nodes: runlevel 2.
F  ********************************************************************************
F  Starting process: C:usrsapCE1SYSexeucNTI386jstart.EXE
F    arg[ 1] = -nodeId=0
F    arg[ 2] = pf=C:usrsapCE1SYSprofileCE1_J01_e0127
F    arg[ 3] = -hostvm
F    arg[ 4] = -nodeName=bootstrap
F    arg[ 5] = -file=C:usrsapCE1SYSexeucNTI386startup.properties
F    arg[ 6] = -jdkFile=C:usrsapCE1J01workjstart.jdk
F    arg[ 7] = -traceFile=C:usrsapCE1J01workdev_bootstrap
F    arg[ 8] = -javaOutFile=C:usrsapCE1J01workjvm_bootstrap.out
F    env   : JStart/ReserveSize=0x60000000
F  exePath : PATH=C:usrsapCE1SYSexejvmNTI386sapjvm_5.1.006sapjvm_5bin;C:sapdbprogramsbin;C:sapdbprogramspgm;C:WINXPsystem32;C:WINXP;C:WINXPSystem32Wbem;C:Program FilesNetinst;C:Program FilesScite;C:Program Filesj2sdk1.4.2bin;C:Program FilesPUTTY;C:Program FilesHummingbirdConnectivity7.11Accessories
F  libPath : PATH=C:usrsapCE1SYSexejvmNTI386sapjvm_5.1.006sapjvm_5jrebinserver;C:usrsapCE1SYSexejvmNTI386sapjvm_5.1.006sapjvm_5jrebin;C:usrsapCE1SYSexejvmNTI386sapjvm_5.1.006sapjvm_5bin;C:sapdbprogramsbin;C:sapdbprogramspgm;C:WINXPsystem32;C:WINXP;C:WINXPSystem32Wbem;C:Program FilesNetinst;C:Program FilesScite;C:Program Filesj2sdk1.4.2bin;C:Program FilesPUTTY;C:Program FilesHummingbirdConnectivity7.11Accessories
F  stdout  : C:usrsapCE1J01workstd_bootstrap.out
F  stderr  : C:usrsapCE1J01workstd_bootstrap.out
F  console : no
F  debugger: no
F  nice    : yes
F  ********************************************************************************
F  Process Instance_bootstrap started with pid 2164
F  ********************************************************************************
F  [Thr 2500] *** LOG => Process bootstrap started (pid 2164).
F  
F [Thr 2500] Thu Sep 20 10:19:57 2007
F  [Thr 2500] *** LOG => Process bootstrap stopping (pid 2164).
F  
F [Thr 2184] Thu Sep 20 10:19:57 2007
F  [Thr 2184] *** LOG => Signal 13 SIGCHLD.
F  [Thr 2500] *** LOG => Process bootstrap stopped (pid 2164).
F  ********************************************************************************
F  Java process [flightrec] properties:
F    section name     : flightrec
F    config file      : C:usrsapCE1SYSexeucNTI386startup.properties
F    node name        : flight_recorder
F    home directory   : C:usrsapCE1J01/j2ee
F    shutdown timeout : 122000 ms
F    exit timeout     : 7000 ms
F    sf support       : false
F    debuggable       : false
F    debugger active  : false
F  ********************************************************************************
F  
F Thu Sep 20 10:19:58 2007
F  ********************************************************************************
F  Starting process: C:usrsapCE1SYSexeucNTI386jstart.EXE
F    arg[ 1] = -nodeId=1000
F    arg[ 2] = pf=C:usrsapCE1SYSprofileCE1_J01_e0127
F    arg[ 3] = -hostvm
F    arg[ 4] = -nodeName=flightrec
F    arg[ 5] = -file=C:usrsapCE1SYSexeucNTI386startup.properties
F    arg[ 6] = -jdkFile=C:usrsapCE1J01workjstart.jdk
F    arg[ 7] = -traceFile=C:usrsapCE1J01workdev_flightrec
F    arg[ 8] = -javaOutFile=C:usrsapCE1J01workjvm_flightrec.out
F    arg[ 9] = -clusterId=bootstrap
F    env   : JStart/ReserveSize=0x60000000
F  exePath : PATH=C:usrsapCE1SYSexejvmNTI386sapjvm_5.1.006sapjvm_5bin;C:sapdbprogramsbin;C:sapdbprogramspgm;C:WINXPsystem32;C:WINXP;C:WINXPSystem32Wbem;C:Program FilesNetinst;C:Program FilesScite;C:Program Filesj2sdk1.4.2bin;C:Program FilesPUTTY;C:Program FilesHummingbirdConnectivity7.11Accessories
F  libPath : PATH=C:usrsapCE1SYSexejvmNTI386sapjvm_5.1.006sapjvm_5jrebinserver;C:usrsapCE1SYSexejvmNTI386sapjvm_5.1.006sapjvm_5jrebin;C:usrsapCE1SYSexejvmNTI386sapjvm_5.1.006sapjvm_5bin;C:sapdbprogramsbin;C:sapdbprogramspgm;C:WINXPsystem32;C:WINXP;C:WINXPSystem32Wbem;C:Program FilesNetinst;C:Program FilesScite;C:Program Filesj2sdk1.4.2bin;C:Program FilesPUTTY;C:Program FilesHummingbirdConnectivity7.11Accessories
F  stdout  : C:usrsapCE1J01workstd_flightrec.out
F  stderr  : C:usrsapCE1J01workstd_flightrec.out
F  console : no
F  debugger: no
F  nice    : yes
F  ********************************************************************************
F  Process flight_recorder started with pid 3108
F  ********************************************************************************
F  [Thr 2500] *** LOG => Process flightrec started (pid 3108).
F  
F [Thr 2500] Thu Sep 20 10:20:07 2007
F  [Thr 2500] *** LOG => Process flightrec stopping (pid 3108).
F  
F [Thr 1388] Thu Sep 20 10:20:07 2007
F  [Thr 1388] *** LOG => Signal 13 SIGCHLD.
F  [Thr 2500] *** LOG => Process flightrec stopped (pid 3108).
F  [Thr 2500] *** LOG => Instance state is "Synchronizing binaries" (STOPPING @ 0, INACTIVE).
F  [Thr 2500] *** LOG => Run level 2 completed.
F  [Thr 2500] *** LOG => Instance state is "Some processes failed" (STOPPED @ 0, INACTIVE).
F  [Thr 2500] *** LOG => goodbye... (exitcode 22002, retcode 1)

i've changed already the permission of this folder "C:\usr\sap\CE1" and "C:\sapdb\CE1" into full access. but i still have this problem