Skip to Content
avatar image
Former Member

SAP Instance failed

Dear All,

Follwing message appear while starting the SAP instance :Please reply me How to correct the same ,So SAP Instance is UP.

Regards,

Santosh

  1. cat startsap_DVEBMGS00.log | more

Trace of system startup/check of SAP System T02 on Mon Sep 12 16:13:55 IST 2011

Called command: /usr/sap/T02/SYS/exe/run/startsap DVEBMGS00

Starting SAP Instance DVEBMGS00

-


Instance Service on host ERPDEV started

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

-


Starting at 2011/09/12 16:13:56

Startup Profile: "/usr/sap/T02/SYS/profile/START_DVEBMGS00_ERPDEV"

Setup Environment Variables

-


(2461) SETENV LD_LIBRARY_PATH=/usr/sap/T02/DVEBMGS00/exe:

(2461) SETENV SHLIB_PATH=/usr/sap/T02/DVEBMGS00/exe:/usr/sap/T02/DVEBMGS00/exe:

usr/sap/T02/SYS/exe/run:/oracle/client/10x_64/instantclient

(2461) SETENV LIBPATH=/usr/sap/T02/DVEBMGS00/exe:

Update local Kernel Files

-


(2461) Local: /usr/sap/T02/SYS/exe/run/sapcpe name=T02

(2461) system(/usr/sap/T02/SYS/exe/run/sapcpe name=T02) returns 1

(2461) Return-Code 1 in Local-Kernel-Update. See sapcpe.log.

Execute Pre-Startup Commands

-


EBMGS00_ERPDEV

02_DVEBMGS00_ERPDEV","r"): No such file or directory

EBMGS00_ERPDEV) returns 2

2_DVEBMGS00_ERPDEV -n

le/T02_DVEBMGS00_ERPDEV","r"): No such file or directory

/usr/sap/T02/DVEBMGS00/exe/sapmscsa=>No Profile used.

nor in Commandline

sapcscsa: SCSA defined. sapscsaId == 10 == 0000000a

sapcscsa: SCSA attached at address c00000000006f000

sapcscsa: SCSA initialized.

/usr/sap//D00/log/SLOG00: No such file or directory

rslgwr1(20): rstrbopen cannot open pre-existing SysLog file.

/usr/sap//D00/log/SLOG00: No such file or directory

rslgwr1(11): rstrbopen cannot open SysLog file.

SysLog:iE1020110912161356000247300000sa no TTY t02adm

: sapmscsa 0000

:SCSA 4096

/usr/sap/T02/DVEBMGS00/exe/sapmscsa: finished.

(2461) Local: rm -f ms.sapT02_DVEBMGS00

(2461) Local: rm -f dw.sapT02_DVEBMGS00

(2461) Local: ln -s -f /usr/sap/T02/DVEBMGS00/exe/disp+work dw.sapT02_DVEBMGS00

(2461) Local: rm -f co.sapT02_DVEBMGS00

(2461) Local: ln -s -f /usr/sap/T02/DVEBMGS00/exe/rslgcoll co.sapT02_DVEBMGS00

(2461) Local: rm -f se.sapT02_DVEBMGS00

(2461) Local: ln -s -f /usr/sap/T02/DVEBMGS00/exe/rslgsend se.sapT02_DVEBMGS00

(2461) Local: rm -f ig.sapT02_DVEBMGS00

(2461) Local: ln -s -f /usr/sap/T02/DVEBMGS00/exe/igswd_mt ig.sapT02_DVEBMGS00

Starting Programs

-


GS00_ERPDEV

GS00_ERPDEV

GS00_ERPDEV -F

GS00_ERPDEV -F

file/T02_DVEBMGS00_ERPDEV

(2461) Waiting for Child Processes to terminate.

(2461) **** 2011/09/12 16:13:57 Child 2504 terminated with Status 255 . ****

(2461) **** 2011/09/12 16:13:58 Child 2507 terminated with Status 2 . ****

(2461) **** 2011/09/12 16:13:58 Child 2506 terminated with Status 2 . ****

(2461) **** 2011/09/12 16:13:58 Child 2508 terminated with Status 1 . ****

(2461) **** 2011/09/12 16:14:02 Child 2505 terminated with Status 1 . ****

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

(2461) Parent Shutdown at 2011/09/12 16:14:02

Execute Post-Shutdown Commands

-


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

Startup of Instance failed

#

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

16 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 13, 2011 at 09:08 AM
    SETENV SHLIB_PATH=/usr/sap/T02/DVEBMGS00/exe:/usr/sap/T02/DVEBMGS00/exe: /usr/sap/T02/SYS/exe/run:/oracle/client/10x_64/instantclient (23817) SETENV LIBPATH=/usr/sap/T02/DVEBMGS00/exe: (23817) SETENV PATH=/usr/sap/T02/DVEBMGS00/exe:/oracle/T02/102_64/bin:/opt/java1 .4/bin:.:/home/t02adm:/usr/sap/T02/SYS/exe/run:/usr/bin:/usr/ccs/bin:/usr/contri b/bin:/opt/ipf/bin:/opt/mx/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/b in:/opt/fcms/bin:/opt/resmon/bin:/opt/pd/bin:/opt/ignite/bin:/usr/bin/X11:/usr/c ontrib/bin/X11:/opt/graphics/common/bin:/opt/scr/bin:/opt/netscape:/var/opt/nets cape/servers/shared/bin:/var/opt/netscape/servers/bin/slapd/server:/var/opt/nets cape/servers/bin://opt/perl/bin:/usr/sbin/diag/contrib

    Check and correct the environment variables and the permissions of instance file system (You can have a look at other system as refference).

    Regards,

    Nick Loy

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 13, 2011 at 07:30 AM

    Dear Vincent,

    After applying the sap note 1104735, same message is appear,

    ERPDEV:t02adm 22> startsap

    awk: Cannot find or open file /usr/sap/T02/SYS/profile/T02_DVEBMGS00_ERPDEV.

    The source line number is 1.

    awk: Cannot find or open file /usr/sap/T02/SYS/profile/T02_DVEBMGS00_ERPDEV.

    The source line number is 1.

    awk: Cannot find or open file /usr/sap/T02/SYS/profile/T02_DVEBMGS00_ERPDEV.

    The source line number is 1.

    awk: Cannot find or open file /usr/sap/T02/SYS/profile/T02_DVEBMGS00_ERPDEV.

    The source line number is 1.

    Checking T02 Database

    -


    ABAP Database is not available via R3trans

    Starting SAP-Collector Daemon

    -


    12:44:31 13.09.2011 LOG: Effective User Id is root

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

    • This is Saposcol Version COLL 20.90 700 - v2.05 for HP-UX - 28.7.2006

    • Usage: saposcol -l: Start OS Collector

    • saposcol -k: Stop OS Collector

    • saposcol -d: OS Collector Dialog Mode

    • saposcol -s: OS Collector Status

    • The OS Collector (PID 2332) is already running .....

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

    saposcol already running

    Running /usr/sap/T02/SYS/exe/run/startdb

    Trying to start T02 database ...

    Log file: /home/t02adm/startdb.log

    T02 database started

    /usr/sap/T02/SYS/exe/run/startdb completed successfully

    Starting SAP Instance DVEBMGS00

    -


    Startup-Log is written to /home/t02adm/startsap_DVEBMGS00.log

    Instance Service on host ERPDEV started

    Startup of Instance failed

    See /home/t02adm/startsap_DVEBMGS00.log for details

    -


    following is the starsap_DVEBMGS00.log

    ERPDEV:t02adm 25> cat startsap_DVEBMGS00.log

    Trace of system startup/check of SAP System T02 on Tue Sep 13 12:44:53 IST 2011

    Called command: /usr/sap/T02/SYS/exe/run/startsap DVEBMGS00

    Starting SAP Instance DVEBMGS00

    -


    Instance Service on host ERPDEV started

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

    -


    Starting at 2011/09/13 12:44:53

    Startup Profile: "/usr/sap/T02/SYS/profile/START_DVEBMGS00_ERPDEV"

    Setup Environment Variables

    -


    (23817) SETENV DIR_LIBRARY=/usr/sap/T02/DVEBMGS00/exe

    (23817) SETENV LD_LIBRARY_PATH=/usr/sap/T02/DVEBMGS00/exe:

    (23817) SETENV SHLIB_PATH=/usr/sap/T02/DVEBMGS00/exe:/usr/sap/T02/DVEBMGS00/exe:

    /usr/sap/T02/SYS/exe/run:/oracle/client/10x_64/instantclient

    (23817) SETENV LIBPATH=/usr/sap/T02/DVEBMGS00/exe:

    (23817) SETENV PATH=/usr/sap/T02/DVEBMGS00/exe:/oracle/T02/102_64/bin:/opt/java1

    .4/bin:.:/home/t02adm:/usr/sap/T02/SYS/exe/run:/usr/bin:/usr/ccs/bin:/usr/contri

    b/bin:/opt/ipf/bin:/opt/mx/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/b

    in:/opt/fcms/bin:/opt/resmon/bin:/opt/pd/bin:/opt/ignite/bin:/usr/bin/X11:/usr/c

    ontrib/bin/X11:/opt/graphics/common/bin:/opt/scr/bin:/opt/netscape:/var/opt/nets

    cape/servers/shared/bin:/var/opt/netscape/servers/bin/slapd/server:/var/opt/nets

    cape/servers/bin://opt/perl/bin:/usr/sbin/diag/contrib

    Update local Kernel Files

    -


    (23817) Local: /usr/sap/T02/SYS/exe/run/sapcpe name=T02

    (23817) system(/usr/sap/T02/SYS/exe/run/sapcpe name=T02) returns 1

    (23817) Return-Code 1 in Local-Kernel-Update. See sapcpe.log.

    Execute Pre-Startup Commands

    -


    (23817) Local: /usr/sap/T02/SYS/exe/run/sapcpe pf=/usr/sap/T02/SYS/profile/T02_D

    VEBMGS00_ERPDEV

    /usr/sap/T02/SYS/exe/run/sapcpe=>sapparam(2): fopenU("/usr/sap/T02/SYS/profile/T

    02_DVEBMGS00_ERPDEV","r"): No such file or directory

    (23817) system(/usr/sap/T02/SYS/exe/run/sapcpe pf=/usr/sap/T02/SYS/profile/T02_D

    VEBMGS00_ERPDEV) returns 2

    (23817) Local: /usr/sap/T02/DVEBMGS00/exe/sapmscsa pf=/usr/sap/T02/SYS/profile/T

    02_DVEBMGS00_ERPDEV -n

    /usr/sap/T02/DVEBMGS00/exe/sapmscsa=>sapparam(2): fopenU("/usr/sap/T02/SYS/profi

    le/T02_DVEBMGS00_ERPDEV","r"): No such file or directory

    /usr/sap/T02/DVEBMGS00/exe/sapmscsa=>No Profile used.

    /usr/sap/T02/DVEBMGS00/exe/sapmscsa=>sapparam: SAPSYSTEMNAME neither in Profile

    nor in Commandline

    /usr/sap/T02/DVEBMGS00/exe/sapmscsa: SCSA is attached and useable.

    /usr/sap//D00/log/SLOG00: No such file or directory

    rslgwr1(11): rstrbopen cannot open SysLog file.

    SysLog:iE1520110913124453002382900000sa no TTY t02adm

    : sapmscsa 0000

    :SCSA 4096

    /usr/sap/T02/DVEBMGS00/exe/sapmscsa: finished.

    (23817) Local: rm -f ms.sapT02_DVEBMGS00

    (23817) Local: ln -s -f /usr/sap/T02/DVEBMGS00/exe/msg_server ms.sapT02_DVEBMGS0

    0

    (23817) Local: rm -f dw.sapT02_DVEBMGS00

    (23817) Local: ln -s -f /usr/sap/T02/DVEBMGS00/exe/disp+work dw.sapT02_DVEBMGS00

    (23817) Local: rm -f co.sapT02_DVEBMGS00

    (23817) Local: ln -s -f /usr/sap/T02/DVEBMGS00/exe/rslgcoll co.sapT02_DVEBMGS00

    (23817) Local: rm -f se.sapT02_DVEBMGS00

    (23817) Local: ln -s -f /usr/sap/T02/DVEBMGS00/exe/rslgsend se.sapT02_DVEBMGS00

    (23817) Local: rm -f ig.sapT02_DVEBMGS00

    (23817) Local: ln -s -f /usr/sap/T02/DVEBMGS00/exe/igswd_mt ig.sapT02_DVEBMGS00

    Starting Programs

    -


    (23860) Starting: local ms.sapT02_DVEBMGS00 pf=/usr/sap/T02/SYS/profile/T02_DVEB

    MGS00_ERPDEV

    (23861) Starting: local dw.sapT02_DVEBMGS00 pf=/usr/sap/T02/SYS/profile/T02_DVEB

    MGS00_ERPDEV

    (23862) Starting: local co.sapT02_DVEBMGS00 pf=/usr/sap/T02/SYS/profile/T02_DVEB

    MGS00_ERPDEV -F

    (23863) Starting: local se.sapT02_DVEBMGS00 pf=/usr/sap/T02/SYS/profile/T02_DVEB

    MGS00_ERPDEV -F

    (23864) Starting: local ig.sapT02_DVEBMGS00 -mode=profile pf=/usr/sap/T02/SYS/pr

    ofile/T02_DVEBMGS00_ERPDEV

    (23817) Waiting for Child Processes to terminate.

    (23817) **** 2011/09/13 12:44:54 Child 23864 terminated with Status 1 . ****

    (23817) **** 2011/09/13 12:44:54 Child 23863 terminated with Status 2 . ****

    (23817) **** 2011/09/13 12:44:54 Child 23862 terminated with Status 2 . ****

    (23817) **** 2011/09/13 12:44:54 Child 23860 terminated with Status 255 . ****

    (23817) **** 2011/09/13 12:44:54 Child 23861 terminated with Status 1 . ****

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

    (23817) Parent Shutdown at 2011/09/13 12:44:54

    Execute Post-Shutdown Commands

    -


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

    Startup of Instance failed

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Santosh,

      The error is obvious.

      you should just fix according to the error show, and check for it's existence as it couldn't locate the instance profile: /usr/sap/T02/SYS/profile/T02_DVEBMGS00_ERPDEV

      Regards,

      Vincent

  • avatar image
    Former Member
    Sep 12, 2011 at 12:49 PM

    Have a look at trace file dev_w0 in work directory!

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 12, 2011 at 12:54 PM

    with which user do you start SAP? what are the environment variables for this user?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 12, 2011 at 01:15 PM

    1) To start the SAP I use SIDadm userid i.e. t02adm

    2) following is the Environmrnt Variable :

    ERPDEV:t02adm 22> env

    HOME=/home/t02adm

    PATH=/oracle/T02/102_64/bin:/opt/java1.4/bin:.:/home/t02adm:/usr/sap/T02/SYS/exe

    /run:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/ipf/bin:/opt/mx/bin:/opt/hparra

    y/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/fcms/bin:/opt/resmon/bin:/opt/pd/b

    in:/opt/ignite/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/graphics/common/bin:/o

    pt/scr/bin:/opt/netscape:/var/opt/netscape/servers/shared/bin:/var/opt/netscape/

    servers/bin/slapd/server:/var/opt/netscape/servers/bin://opt/perl/bin:/usr/sbin/

    diag/contrib

    LOGNAME=t02adm

    SHELL=/bin/csh

    TERM=vt100

    COLUMNS=80

    LINES=43

    MANPATH=/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/u

    sr/local/man/%L:/usr/local/man:/opt/ipf/man:/opt/mx/share/man:/opt/upgrade/share

    /man/%L:/opt/upgrade/share/man:/opt/resmon/share/man:/opt/hatmmon/share/man:/opt

    /pd/share/man/%L:/opt/pd/share/man:/opt/pd/share/man/%L:/opt/pd/share/man:/opt/p

    d/share/man/%L:/opt/pd/share/man:/opt/ignite/share/man/%L:/opt/ignite/share/man:

    /opt/hparray/share/man/%L:/opt/hparray/share/man:/opt/graphics/common/man:/opt/s

    cr/share/man:/usr/dt/share/man:/opt/samba/man://opt/perl/man

    TZ=IST-5:30

    SAPSYSTEMNAME=T02

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

    SHLIB_PATH=/usr/sap/T02/SYS/exe/run:/oracle/client/10x_64/instantclient

    JAVA_HOME=/opt/java1.4

    THREAD=NOPS

    dbms_type=ORA

    dbs_ora_tnsname=T02

    dbs_ora_schema=SAPSR3

    ORACLE_SID=T02

    DB_SID=T02

    ORACLE_BASE=/oracle

    TNS_ADMIN=/usr/sap/T02/SYS/profile/oracle

    ORACLE_HOME=/oracle/T02/102_64

    NLS_LANG=AMERICAN_AMERICA.WE8DEC

    SAPDATA_HOME=/oracle/T02

    Regards,

    santosh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 12, 2011 at 01:21 PM

    Following is the detail of dev_wo

    M Fri Sep 9 17:56:08 2011

    M ***LOG TZ1=> System time zone found in TTZCU is not valid.

    [sign.c 1220]

    M

    M Mon Sep 12 12:46:59 2011

    M ***LOG TZ1=> System time zone found in TTZCU is not valid.

    [sign.c 1220]

    M

    M Mon Sep 12 14:12:39 2011

    M ***LOG TZ1=> System time zone found in TTZCU is not valid.

    [sign.c 1220]

    M

    M Mon Sep 12 14:49:49 2011

    M in_ThErrHandle: 1

    M ThIErrHandle: new stat of W0 is WP_SHUTDOWN

    M ThIErrHandle: I'm during shutdown

    M PfStatDisconnect: disconnect statistics

    M Entering ThSetStatError

    M ThIErrHandle: don't try rollback again

    M ThShutDownServer: shutdown server

    M PfStatIndInit: Initializing Index-Record

    M PfWriteIntoFile: copied shared buf (86664 bytes) to local buf

    M PfWriteIntoFile: write 86664 bytes into stat-file

    M PfWriteIntoFile: writing Index

    M min. start :1315818003/897585

    M min. end :1315818003/909170

    M max. end :1315819135/701548

    M wpid 🤯

    M tasktypes :49370

    M max. resp :1035643

    M max. cpu :950000

    M max.db 🤯

    M no. of recs :479

    M no. of bytes :86664

    M PfFileIndUpd: hyperindex needs to be resorted

    M PfWriteIntoFile: updated fileindex for file stat with endtime 1315819135 (12:

    9:2011 9:18:55)

    M PfWriteIntoFile: updated fileindex

    M PfStatIndInit: Initializing Index-Record

    M PfWriteIntoFile: wrote buffer to file

    M ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)

    M Entering ThReadDetachMode

    M call ThrShutDown (1)...

    B Disconnecting from ALL connections:

    B Wp Hdl ConName ConId ConState TX PRM RCT TIM MAX OPT Date

    Time DBHost

    B 000 000 R/3 000000000 INACTIVE NO YES NO 000 255 255 20110

    909 154707 ERPDEV

    C Disconnecting from connection 0 ...

    C Closing user session (con_hdl=0,svchp=80000001028c2e98,usrhp=80000001028bfdd8

    )

    C Detaching from DB Server (con_hdl=0,svchp=80000001028c2e98,srvhp=80000001028c

    51d8)

    C

    C Mon Sep 12 14:49:50 2011

    C Now I'm disconnected from ORACLE

    B Disconnected from connection 0

    B statistics db_con_commit (com_total=17518, com_tx=2125)

    B statistics db_con_rollback (roll_total=15, roll_tx=4)

    M ***LOG Q02=> wp_halt, WPStop (Workproc 0 16676) [dpuxtool.c 259]

    Regards,

    Santosh

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 12, 2011 at 02:03 PM

    /usr/sap//D00/log/SLOG00: No such file or directory

    whats the value of DIR_TRANS on your profiles?.... this doesn't sound right.

    Regards

    Juan

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 12, 2011 at 05:15 PM

    :> Update local Kernel Files

    > -


    > (2461) Local: /usr/sap/T02/SYS/exe/run/sapcpe name=T02

    > (2461) system(/usr/sap/T02/SYS/exe/run/sapcpe name=T02) returns 1

    > (2461) Return-Code 1 in Local-Kernel-Update. See sapcpe.log.

    Hi,

    Any usefull info in sapcpe.log ?

    shutdown the entire system again (including listener, startupservcie and everything else).

    After this, check "ipcs" output, if there are still shm-segs left.

    Volker

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 13, 2011 at 03:58 AM

    deatil od sapcpe.log as below :

    1. cat sapcpe.log |more

    • INFO: sappardem:

    • INFO: sapargv:

    • INFO: sapargrem:

    • INFO: sapcpe version: @(#) $Id: //bas/700_REL/src/ccm/sapstart/sapxxcpe.c#

    9 $ SAP

      • WARNING: unknown SAPSYSTEMNAME from the profiles

      • INFO: Try to find file table sapcpeft (default:sapcpeft)

      • INFO: Try to find file table in the central directory /usr/sap//SYS/exe/ct

      run/sapcpeft

        • INFO: not found any file table.

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

        Update Local Programs (incl. directory sync + pathnames)

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

        Starting at 2011/09/12 18:25:01

          • ERROR: can't change to local Executable-Dir /usr/sap//SYS/exe/run (No such

          file or directory) [sapxxcpe.c:1283]

          Regards,

          Santosh

          Add comment
          10|10000 characters needed characters exceeded

          • Former Member

            For the missing sid in /usr/sap//SYS/exe/run , check

            - if filesystem was mounted locally properly

            - pls follow the SAP note 1104735 and check the following entries in profile:

            SAPSYSTEMNAME

            SAPSYSTEM

            INSTANCE_NAME

            DIR_CT_RUN

            DIR_EXECUTABLE

            DIR_PROFILE

            etc.

            regards,

            Vincent

        • avatar image
          Former Member
          Sep 13, 2011 at 04:42 AM
          ERROR: can't change to local Executable-Dir /usr/sap//SYS/exe/run

          SID is missed in the above path, Check and correct all your environment variables, profile parameters and restart.

          Regards,

          Nick Loy

          Add comment
          10|10000 characters needed characters exceeded