cancel
Showing results for 
Search instead for 
Did you mean: 

The SAP Instance JC00 fails to start

Former Member
0 Kudos

Hi,

I am installing SAP Netweaver on AIX box.

The instalaltion process fails at the phase 33 of 34

the SAP Instance JC00 fails to start

if i chek the error fiel

Trace of system startup/check of SAP System DON on Tue Dec 26 16:00:51 CST 2006

Called command: /usr/sap/DON/SYS/exe/run/startsap

Starting SAP Instance JC00

-


SAP-R/3-Startup Program Rel 640 V1.8 (2003/04/24)

-


Starting at 2006/12/26 16:00:51

Startup Profile: "/usr/sap/DON/SYS/profile/START_JC00_pun-lpar-idm03"

(655470) SETENV LD_LIBRARY_PATH=/usr/sap/DON/JC00/j2ee/os_libs:

Setup Environment Variables

-


(655470) SETENV SHLIB_PATH=/usr/sap/DON/JC00/j2ee/os_libs:

(655470) SETENV LIBPATH=/usr/sap/DON/JC00/j2ee/os_libs:/usr/lib:/lib:/usr/sap/DON/SYS/exe/run:/oracle///instantclient

Execute Pre-Startup Commands

-


(655470) Local: rm -f jc.sapDON_JC00

(655470) Local: ln -s -f /usr/sap/DON/JC00/j2ee/os_libs/jcontrol jc.sapDON_JC00

Starting Programs

-


(651450) Starting: local jc.sapDON_JC00 pf=/usr/sap/DON/SYS/profile/DON_JC00_pun-lpar-idm03

(655470) Waiting for Child Processes to terminate.

(655470) **** 2006/12/26 16:00:56 Child 651450 terminated with Status 255 . ****

(655470) **** No more Child Processes to wait for.

(655470) Parent Shutdown at 2006/12/26 16:00:56

Execute Post-Shutdown Commands

-


(655470) Exiting with Return-Code 3. (No more child processes)

Startup of Instance failed

What can be the problem here

Regards

Manoj

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi manoj,

This is one of the common problem encountered due to memory settings.

When you log on to the config tool, under Instance

the MAX heap size must be 512MB and xms 512 or < than 512.

Xms stand for Intial heap size of the Java instannce during the tenure phase. SO the initial heap size must be less than max heap size.

The same has to be maintained for both dispatcher and the server0.

for dispatcher the Ideal heap size : 545Mb - 170 MB

for server0 : 512MB - 1024 MB

there is no specific value for the heap size.It is all based on trial and error method.

Since you have faced this problem during the installation phase, You first try to manually restart the instance and then press continue in the error step.

I hope this will solve the problem.

Reward points if satisfied

cheers

Naveen.H

Answers (11)

Answers (11)

Former Member
0 Kudos

Hi,

Could you please check instance is running or not?

use :

jcmon pf=/sapmnt/PD1/profile/<Instance Name>_JC<Instance Naumber>_<hsot>

============================================================

JControl Monitor Program - Main Menue

============================================================

0 : exit

-


10 : Cluster Administration Menue

-


20 : Local Administration Menue

-


command =>20

and select option 12 to display Ports list

Ex display :

command => 12

Idx

Name

Cluster

Debug

HTTP

HTTPS

P4

Telnet

SDM

Id

Port

Port

Port

Port

Port

Port

---









0

dispatcher

101345500

50000

51000

0

51004

51008

0

1

server0

101345550

51021

0

0

0

0

0

2

SDM

0

50002

51019

0

0

0

51018

-


Regards

Ben

Former Member
0 Kudos

Hi Ben,

Thanks for all the help.

I could logged in now and deploy the Bean.

The problem i guess was that first i should log in to the visual admin and then into the deploy manager.

The user name is same

Administrator/password.

Now i am going to install the Portal on top of this J2EE server.

I hope no problem come this time

REgards

Manoj

Former Member
0 Kudos

Hi,

I am sorry about my previous message.

You have log on to SDM using user ID : SDM

Regards

Ben

Former Member
0 Kudos

Hi Ben

I want to login inot the DEployManager

which is in

/usr/sap/VAN/JC00/j2ee/deploying directory

I could login inot the Admin tool using the

Administrator/password

But i am fialing to login into deploy manager with same info

Regards

Manoj

Former Member
0 Kudos

Hi,

Us have to user = SDM.

Regards

Ben

Former Member
0 Kudos

Hi,

SDM will run in different port:

Ex: if instance number is 10, SDM port will be 51018.

Regards

Ben

Former Member
0 Kudos

Hi,

log on to AIX <instance>adm user and set parameter use following command.

export LDR_CNTRL=USERREGS

Regards

Ben

Former Member
0 Kudos

Thats great

I exported the variable

setenv LDR_CNTRL USERREGS

and started the servers

The J2EE server started

But now again the saga continues

My SID name is :VAN

my password for all account is password

When it try to connect through the deploy manager with user name

name :j2ee_admin

password:password

Host :localhost

Port:50004

I get the following error

ERROR: Cannot connect to Host: [localhost] with user name: [j2ee_admin]

Check your login info.

Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: User not authorized.]

What is the problem here

Former Member
0 Kudos

Please note i am installing on AIX m/c

Former Member
0 Kudos

What type of installtion is this:

(1) ABAP+JAVA -->use j2ee_admin

(2) Java only --> use administrator

Make sure your password is correct though in terms of what you assigned during installtion.

If you have a ABAP+JAVA install then resetthe j2ee_adminn passwd using the CUA as the account should exist in on the ABAP DB as well.

rgds,

Hamish

Former Member
0 Kudos

Hi,

Could you please check the following note?

Note 525006 - Startup problems during the upgrade on AIX

One more thing please set the following mem parameters .

Open the config tool:

Select instance :

Select server general tab set -Xms512 and -Xmx512M

Select server:

Set -Xms2048M and -Xmx2048M

Regards

Ben

Former Member
0 Kudos

Hi,

Could please try do

cleanipc <instance number> remove

Regards

Ben

Former Member
0 Kudos

Hi ,

One morething which i observed in the bootstrap log is

JVMCI200 - ERROR: User register saving is not enabled, Garbage

Collection could be incorrect.

JVMCI200 - ERROR: because of this the JVM library is explicitly aborting the process

JVMCI200 - ERROR: You must either rebuild the executable using "-bM:UR"

JVMCI200 - ERROR: or run with "export LDR_CNTRL=USERREGS"

what is this LDR_CNTRL and how to set it

Regards

Manoj

kondala_muppana
Explorer
0 Kudos

Hi Manoj,

You need to decrease the Max heap Size (in MB) using Config tool and restart the instance. I have the same issue and it resolved when i reduce the size(1024 to 512).

Config Tool --> Cluster-data --> Instance_xxxx --> server_xxx --> Max Heap Size (in MB)

Best Regards

Kondala Rao

Former Member
0 Kudos

Hi Manoj

I will suggest a workaround.

Restart the j2ee engine

Then press retry button

See if intsallation continues....................It should continue

Later on you can do your memory settings.

Former Member
0 Kudos

Hi

I increased the memory settings as suggested.

But i got the following error:

[Thr 772] JLaunchIStartFunc: Thread 772 started as Java VM thread.

**********************************************************************

JHVM_LoadJavaVM: VM Arguments of node [bootstrap]

-> stack : 1048576 Bytes

-> arg[ 0]: exit

-> arg[ 1]: abort

-> arg[ 2]: -Djco.jarm=1

-> arg[ 3]: -Djco.jarm=1

-> arg[ 4]: -Dsys.global.dir=/sapmnt/VAN/global

-> arg[ 5]: -Dapplication.home=/usr/sap/VAN/JC00/j2ee/os_libs

-> arg[ 6]: -Djava.class.path=/usr/sap/VAN/JC00/j2ee/os_libs/jstartup.jar:./bootstrap/launcher.jar

-> arg[ 7]: -Djava.library.path=/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:/usr/sap/VAN/JC00/j2ee

/os_libs:/usr/sap/VAN/SYS/exe/run:/usr/sap/VAN/SYS/exe/run:/usr/sap/VAN/SYS/exe/run:/tmp/sapinst_exe.987146.1167338717:/usr/lib:/usr

/sap/VAN/JC00/j2ee/os_libs:/usr/sap/VAN/JC00/j2ee/os_libs:/usr/sap/VAN/SYS/exe/run:/usr/sap/VAN/SYS/exe/run:/usr/sap/VAN/SYS/exe/run

:/tmp/sapinst_exe.987146.1167338717

-> arg[ 8]: -Dmemory.manager=128M

-> arg[ 9]: -Xmx128M

-> arg[ 10]: -DLoadBalanceRestricted=no

-> arg[ 11]: -Djstartup.mode=BOOTSTRAP

-> arg[ 12]: -Djstartup.ownProcessId=1007746

-> arg[ 13]: -Djstartup.ownHardwareId=Q0856201375

-> arg[ 14]: -Djstartup.whoami=bootstrap

-> arg[ 15]: -Djstartup.debuggable=yes

-> arg[ 16]: -DSAPINFO=VAN_00_bootstrap

-> arg[ 17]: -DSAPSTARTUP=1

-> arg[ 18]: -DSAPSYSTEM=00

-> arg[ 19]: -DSAPSYSTEMNAME=VAN

-> arg[ 20]: -DSAPMYNAME=ctsaix02_VAN_00

-> arg[ 21]: -DSAPDBHOST=

-> arg[ 22]: -Dj2ee.dbhost=ctsaix02

***************************************************

-


Signal 6 encountered.

=> 64 bit R/3 Kernel

=> 64 bit AIX Kernel

=> Heap limit = unlimited

=> Stack limit = unlimited

=> Core limit = unlimited

=> File size limit = unlimited

=> Heap address = 0x0x111179f20

=> Stack address = 0x111151b00

=> Stack low = 0x11114f200

=> Stack high = 0xffffffffffff340

-


=> Stack Trace:

pthread_kill() at 0x90000000055a214

praise() at 0x900000000559c4c

raise() at 0x90000000004fc68

abort() at 0x900000000079c00

GetPropertiesMD() at 0x9000000058fb774

ciCreateJVM() at 0x900000005993824

JNI_CreateJavaVM() at 0x90000000592729c

JHVM_LoadJavaVM() at 0x1000918d4

JLaunchIStartFunc() at 0x10008bb14

pthreadbody() at 0x9000000005462d8

!!! Invalid stack address encountered: 0x0

!!! Stack corrupted.

-


=> CPU Registers:

msr = 0xa00000000000d032 iar = 0x090000000055a214

ctr = 0xffffffff00565300 lr = 0xffffffffffffffff

xer = 0x00000000ffffffff cr = 0x0000000000000000

r00 = 0xffffffffffffffff r01 = 0x0000000111151b00

r02 = 0xffffffffffffffff r03 = 0x0000000000000000

r04 = 0xffffffffffffffff r05 = 0xffffffffffffffff

r06 = 0xffffffffffffffff r07 = 0xffffffffffffffff

r08 = 0xffffffffffffffff r09 = 0xffffffffffffffff

r10 = 0xffffffffffffffff r11 = 0xffffffffffffffff

r22 = 0x0000000000000000 r23 = 0x0000000000000000

r24 = 0x0000000000000000 r25 = 0x0000000000000000

r26 = 0x0000000000000000 r27 = 0x09001000a0ba6a40

r28 = 0x0000000111153994 r29 = 0x0000000000000006

r30 = 0x0000000000000304 r31 = 0x0000000000000006

-


[Thr 772] ***LOG Q0E=> SigIGenAction, signal ( 6) [sigux_mt.c 836]

Former Member
0 Kudos

Hi,

i think this not problem with ENV. settings

check memory settings may be we can have some clue

Samrat

Former Member
0 Kudos

Hi,

Thanks for the ersponse.

Can you please stress on the Memory settings

Do u mean by the Java heap size.

The AIX m/c memory is 1024 MB

uname -a

oslevel is 5300-04

Regards

Manoj

Former Member
0 Kudos

Hi,

i think u have not set the <b>environment variables</b>.

Set the environment variables

kiran kumar.v

Former Member
0 Kudos

Hi

what en variables not to be set.

The log shows

**********************************************************************

JHVM_LoadJavaVM: VM Arguments of node [bootstrap]

-> stack : 1048576 Bytes

-> arg[ 0]: exit

-> arg[ 1]: abort

-> arg[ 2]: -Djco.jarm=1

-> arg[ 3]: -Djco.jarm=1

-> arg[ 4]: -Dsys.global.dir=/sapmnt/DON/global

-> arg[ 5]: -Dapplication.home=/usr/sap/DON/JC00/j2ee/os_libs

-> arg[ 6]: -Djava.class.path=/usr/sap/DON/JC00/j2ee/os_libs/jstartup.jar:./bootstrap/launcher.jar

-> arg[ 7]: -Djava.library.path=/usr/java14_64/jre/bin:/usr/java14_64/jre/bin/classic:/usr/java14_64/jre/bin:/usr/sap/DON/JC00/j2ee

/os_libs:/usr/sap/DON/SYS/exe/run:/usr/sap/DON/SYS/exe/run:/usr/sap/DON/SYS/exe/run:/tmp/sapinst_exe.360486.1167110312:/usr/lib:/usr

/sap/DON/JC00/j2ee/os_libs:/usr/sap/DON/JC00/j2ee/os_libs:/usr/lib:/lib:/usr/sap/DON/SYS/exe/run:/oracle///instantclient

-> arg[ 8]: -Dmemory.manager=128M

-> arg[ 9]: -Xmx128M

-> arg[ 10]: -DLoadBalanceRestricted=no

-> arg[ 11]: -Djstartup.mode=BOOTSTRAP

-> arg[ 12]: -Djstartup.ownProcessId=647396

-> arg[ 13]: -Djstartup.ownHardwareId=F0052428966

-> arg[ 14]: -Djstartup.whoami=bootstrap

-> arg[ 15]: -Djstartup.debuggable=yes

-> arg[ 16]: -DSAPINFO=DON_00_bootstrap

-> arg[ 17]: -DSAPSTARTUP=1

-> arg[ 18]: -DSAPSYSTEM=00

-> arg[ 19]: -DSAPSYSTEMNAME=DON

-> arg[ 20]: -DSAPMYNAME=pun-lpar-idm03_DON_00

-> arg[ 21]: -DSAPDBHOST=

-> arg[ 22]: -Dj2ee.dbhost=pun-lpar-idm03

**********************************************************************

-


Signal 6 encountered.

=> 64 bit R/3 Kernel

=> 64 bit AIX Kernel

=> Heap limit = unlimited

=> Stack limit = unlimited

=> Core limit = unlimited

=> File size limit = unlimited

=> Heap address = 0x0x111179f20

=> Stack address = 0x111151b00

=> Stack low = 0x11114f200

=> Stack high = 0xffffffffffff480

-


=> Stack Trace:

pthread_kill() at 0x90000000040d2b4

praise() at 0x90000000040ccec

raise() at 0x900000000049c50

abort() at 0x900000000073eb0

GetPropertiesMD() at 0x900000004267774

ciCreateJVM() at 0x9000000042ff824

JNI_CreateJavaVM() at 0x90000000429329c

JHVM_LoadJavaVM() at 0x1000918d4

JLaunchIStartFunc() at 0x10008bb14

pthreadbody() at 0x9000000003f92d8

!!! Invalid stack address encountered: 0x0

!!! Stack corrupted.

-


=> CPU Registers:

msr = 0xa00000000000d032 iar = 0x090000000040d2b4

ctr = 0xffffffff00418400 lr = 0xffffffffffffffff

xer = 0x00000000ffffffff cr = 0x0000000000000000

r00 = 0xffffffffffffffff r01 = 0x0000000111151b00

r02 = 0xffffffffffffffff r03 = 0x0000000000000000

r04 = 0xffffffffffffffff r05 = 0xffffffffffffffff

r06 = 0xffffffffffffffff r07 = 0xffffffffffffffff

r08 = 0xffffffffffffffff r09 = 0xffffffffffffffff

r10 = 0xffffffffffffffff r11 = 0xffffffffffffffff

r12 = 0xffffffffffffffff r13 = 0x0000000111153994

r14 = 0x0000000000000000 r15 = 0x0000000000000000

r16 = 0x0000000000000000 r17 = 0x0000000000000000

r18 = 0x0000000000000000 r19 = 0x0000000000000000

r20 = 0x0000000000000000 r21 = 0x0000000000000000

r22 = 0x0000000000000000 r23 = 0x0000000000000000

r24 = 0x0000000000000000 r25 = 0x0000000000000000

r26 = 0x0000000000000000 r27 = 0x09001000a1c9ea40

r28 = 0x0000000111153994 r29 = 0x0000000000000006

r30 = 0x0000000000000304 r31 = 0x0000000000000006

-


[Thr 772] ***LOG Q0E=> SigIGenAction, signal ( 6) [sigux_mt.c 836]

the env variables are as follows:

pun-lpar-idm03:donadm 20> env

TERM=vt100

AUTHSTATE=compat

SHELL=/bin/csh

HOME=/home/donadm

USER=donadm

PATH=/oracle/DON/102_64/bin:/usr/java14_64/bin:/home/donadm:/usr/sap/DON/SYS/exe/run:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/donadm/bin:/usr/bin/X11:/sbin:.

TZ=CST6CDT

LANG=en_US

LOCPATH=/usr/lib/nls/loc

LC__FASTMSG=true

ODMDIR=/etc/objrepos

LOGNAME=donadm

LOGIN=donadm

SAPSYSTEMNAME=DON

DIR_LIBRARY=/usr/sap/DON/SYS/exe/run

JAVA_HOME=/usr/java14_64

IBM_JAVA_OPTIONS=-Xmx256M

THREAD=NOPS

dbms_type=ORA

dbs_ora_tnsname=DON

ORACLE_SID=DON

DB_SID=DON

ORACLE_BASE=/oracle

TNS_ADMIN=/sapmnt/DON/profile/oracle

ORACLE_HOME=/oracle/DON/102_64

NLS_LANG=AMERICAN_AMERICA.UTF8

MAIL=/var/spool/mail/donadm

MAILMSG=[YOU HAVE NEW MAIL]

HOSTTYPE=rs6000

VENDOR=ibm

OSTYPE=aix

MACHTYPE=rs6000

SHLVL=1

PWD=/usr/sap/DON/JC00/work

GROUP=sapsys

HOST=pun-lpar-idm03

REMOTEHOST=mcaisuca-pun-01.bmc.com

LIBPATH=/usr/lib:/lib:/usr/sap/DON/SYS/exe/run:/oracle///instantclient

NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat