cancel
Showing results for 
Search instead for 
Did you mean: 

MOS-01012 PROBLEM: 'path' returned with '-1' which is not a defined as a s

Former Member
0 Kudos

Hi Sap Experts,

I am re-installing sap ECC 5.0 (system copy_windows 2003 64bits + oracle) after my colleague change the hostname of windows machine, because when his chaged the hostname the dispatcher cannot start.

I have an error in the step oracle preload actions, specific when sap try to startup.

Sapinst show me the error below:

ERROR 2009-08-26 11:49:04 [iaxxbrunas.cpp:269]

CIaRunAsUser::run_impl()

MOS-01012 PROBLEM: 'E:\usr\sap\LCH\SYS\exe\run/startsap name=LCH nr=00 SAPDIAHOST=pmla-dosdo-onba' returned with '-1' which is not a defined as a success code.

I saw the status via mmc and disp+work is died.

when I go to work directory, I have not dev_disp file and I cannot check what happened in the system.

I will appreciate if somebody help me with this.

Best regards,

Luis M.

Accepted Solutions (1)

Accepted Solutions (1)

former_member204746
Active Contributor
0 Kudos

Ok, I have found your problem:

main: rdisp/myname=PMLA-DOSDO-ONBA_LCH_00 exceeds 20 characters.

my recommendation, use up to 12 characters and not more.

Read SAP Note 849423 - Length of hostname for ABAP installation on Windows/Oracle

Former Member
0 Kudos

I changed the name according to the sap note 611361 and 849423

Everything is fine.

Thank you,

Luis M.

Edited by: Luis Minaya on Aug 26, 2009 10:27 PM

Answers (2)

Answers (2)

former_member204746
Active Contributor
0 Kudos

check your START profile. it must be missing a directory or a directory points to a bad one..

Former Member
0 Kudos

The parameters in the start profile are good.

SAPSYSTEMNAME=LCH

INSTANCE_NAME=DVEBMGS00

SAPSYSTEM=00

SAPGLOBALHOST=pmla-dosdo-onba

_CP=sapcpe.exe

Start_Program_01=immediate $(DIR_EXECUTABLE)\$(_CP) pf=$(DIR_PROFILE)\LCH_DVEBMGS00_pmla-dosdo-onba

_DB=strdbs.cmd

Start_Program_02=immediate $(DIR_EXECUTABLE)\$(_DB) LCH

MS=msgserver.exe

Start_Program_03=local $(DIR_EXECUTABLE)\$(_MS) pf=$(DIR_PROFILE)\LCH_DVEBMGS00_pmla-dosdo-onba

_DW=disp+work.exe

Start_Program_04=local $(DIR_EXECUTABLE)\$(_DW) pf=$(DIR_PROFILE)\LCH_DVEBMGS00_pmla-dosdo-onba

_IGS=igswd.exe

Start_Program_06=local $(DIR_INSTANCE)\igs\bin\$(_IGS) -dir=$(DIR_INSTANCE)\igs -mode=all -sysname=LCH -sysno=00

I think the problem ins not in the parameters profiles.

former_member204746
Active Contributor
0 Kudos

provide contents of files:

dev_rfc.trc

dev_ms

stderrx

sapstart.log

Former Member
0 Kudos

Please check the contents below:

-


trc file: "dev_ms", trc level: 2, release: "640"

-


[Thr 1460] Wed Aug 26 14:33:36 2009

[Thr 1460] MsSInit: thread library initialized

[Thr 1460] MsSInit: locking objects created

[Thr 1460] NiIInit: allocated nitab (2048 entries at 00000000002C2210)

[Thr 1460] nihsl-init: alloc host/serv bufs (100/100 entries)

[Thr 1460] NiIMyHostName: hostname = 'PMLA-DOSDO-ONBA'

[Thr 1460] nihsl-getHostAddr: got hostname 'PMLA-DOSDO-ONBA' from operation system

[Thr 1460] nihsi-getHostAddr: hostname 'PMLA-DOSDO-ONBA' = addr 10.199.33.168

[Thr 1460] nihsl-flush: cache flushed

[Thr 1460] nihsl-getHostName: got address 10.199.33.168 from operation system

[Thr 1460] nihsi-getHostName: addr 10.199.33.168 = hostname 'pmla-dosdo-onba'

[Thr 1460] MsSInit: full qualified name pmla-dosdo-onba

[Thr 1460] rdisp/msserv : sapmsLCH

[Thr 1460] ms/comment : message server LCH

[Thr 1460] ms/timeout : 5000

[Thr 1460] ms/timeout2 : 10000

[Thr 1460] ms/conn_timeout : 300

[Thr 1460] ms/max_sleep : 20

[Thr 1460] ms/suspend_time : 40

[Thr 1460] ms/keepalive : 300

[Thr 1460] ms/standalone : 0

[Thr 1460] ms/max_open_requests : 1000

[Thr 1460] ms/max_counter : 100

[Thr 1460] ms/max_clients : 300

[Thr 1460] ms/max_vhost : 16

[Thr 1460] ms/max_queue : 300

[Thr 1460] ms/warn_queue : 5

[Thr 1460] ms/cache_check : 900

[Thr 1460] ms/audit : NONE (0x0)

[Thr 1460] ms/j2ee_recovery : 1

[Thr 1460] ms/nitrace : 0

[Thr 1460] NiSetParamEx: switch NIP_TRACE_ALL off

[Thr 1460] ms/http_was_required : 0

[Thr 1460] ms/http_enable_handler : 1

[Thr 1460] ms/http_handler_retry : 10

[Thr 1460] ms/http_handler_timeout : 60

[Thr 1460] ms/http_handler_conn_timeout : 0

[Thr 1460] rdisp/TRACE_LOGGING = OFF

[Thr 1460] MsSSetTrcLog: ignore rdisp/TRACE_LOGGING, ms/standalone = FALSE

[Thr 1460]

[Thr 1460] command line arg 0: E:\usr\sap\LCH\SYS\exe\run\msg_server.exe

[Thr 1460] command line arg 1: pf=E:\usr\sap\LCH\SYS\profile\LCH_DVEBMGS00_pmla-dosdo-onba

[Thr 1460]

[Thr 1460] systemid 562 (PC with Windows NT)

[Thr 1460] relno 6400

[Thr 1460] patchlevel 0

[Thr 1460] patchno 77

[Thr 1460] intno 20020600

[Thr 1460] pid 4640

[Thr 1460] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 4640) [msxxserv.c 1668]

[Thr 1460]

[Thr 1460] SigIInit: ok (whoami=128)

[Thr 1460] Thread handle for mainthread created

[Thr 1460] SigIRegisterRoutine: handler for signal 11 installed (SigISegv)

[Thr 4716] Pipe created:
.\pipe\SAP4640

[Thr 1460] SigIInit: Create Message Thread

[Thr 1460] SigIRegisterExitRoutine: exithandler installed (MsSHalt)

[Thr 1460] SigIRegisterTerminateRoutine: terminatehandler installed (MsSHalt)

[Thr 1460] SigIRegisterRoutine: handler for signal 2 installed (MsSExit)

[Thr 1460] SigIRegisterRoutine: handler for signal 16 installed (MsSTrcDec)

[Thr 1460] SigIRegisterRoutine: handler for signal 17 installed (MsSTrcInc)

[Thr 1460] SigIRegisterRoutine: handler for signal 18 installed (MsSigPrivDisp)

[Thr 1460] SigIRegisterRoutine: handler for signal 24 installed (MsSigPrivDisp)

[Thr 1460] SigIRegisterRoutine: handler for signal 0 installed (MsSigPrivDisp)

[Thr 1460] nihsl-getServNo: got servicename 'sapmsLCH' from operation system

[Thr 1460] nihsi-getServNo: servicename 'sapmsLCH' = port 0E.10/3600

[Thr 1460] NiIInitSocket: set default settings for socket 832

[Thr 1460] NiCreateHandle: state hdl 1 / socket 832 NI_INITIAL

[Thr 1460] NiPBind: set option SOL_SOCKET-SO_REUSEADDR of socket 832 TRUE

[Thr 1460] NiSetStat: state hdl 1 NI_LISTEN

[Thr 1460] NiBufHdlInit: BufInit for hdl 1

[Thr 1460] NiIListen: listen for client requests on hdl 1

[Thr 1460] nihsl-getServNo: found servicename 'sapmsLCH' in cache

[Thr 1460] nihsi-getServNo: servicename 'sapmsLCH' = port 0E.10/3600

[Thr 1460] MsSCounterInit: ok, allocated 8800 bytes

[Thr 1460] MsIBufAlloc: allocated buffer

[Thr 1460] SlicGetHwid called

[Thr 1460] SlicGetHwId: sysname: Windows NT nodename: PMLA-DOSDO-ONBA machine: 4x AMD64 Level 6 (Mod 15 Step 11)

[Thr 1460] release: 5.2 version: 3790 Service Pack 2

[Thr 1460] SlicGetHwId: ID >S-215085785531260305981--690882773-PMLA-DOSDO-ONBA<

[Thr 1460] SlicGetHwId: CUSTOMER KEY: >Q1326870912<

[Thr 1460] MsHttpInit

[Thr 1460] NiIMyHostName: hostname = 'PMLA-DOSDO-ONBA'

[Thr 1460] nihsl-getHostAddr: got hostname 'PMLA-DOSDO-ONBA' from operation system

[Thr 1460] nihsi-getHostAddr: hostname 'PMLA-DOSDO-ONBA' = addr 10.199.33.168

[Thr 1460] nihsl-getHostName: found address 10.199.33.168 in cache

[Thr 1460] nihsi-getHostName: addr 10.199.33.168 = hostname 'pmla-dosdo-onba' (fq)

[Thr 1460] MsHttpInit: full qualified hostname = pmla-dosdo-onba

[Thr 1460] ms/http_timeout = 20

[Thr 1460] ms/http_lookup = 1

[Thr 1460] ms/http_domain = 1

[Thr 1460] ms/http_bufferln = 65536

[Thr 1460] is/HTTP/default_root_hdl = j2ee

[Thr 1460] ms/url_map_entries = 200

[Thr 1460] ms/url_map_entryln = 200

[Thr 1460] ms/url_pre_entries = 200

[Thr 1460] ms/url_pre_entryln = 200

[Thr 1460] ms/http_max_clients = 500

[Thr 1460] MsHttpInitFt: malloc 160000 bytes (500/320)

[Thr 1460] ms/http_logging = 0

[Thr 1460] HTTP logging is switch off

[Thr 1460] ms/http_max_ports = 20

[Thr 1460] MsSetServerPort: ms/server_port_0=PROT=HTTP, PORT=8100

[Thr 1460] MsHttpPortAlloc: find free index 0

[Thr 1460] MsHttpPortBind: bind port 8100

[Thr 1460] MsHttpPortBind: bind to all adapters pmla-dosdo-onba

[Thr 1460] NiIInitSocket: set default settings for socket 816

[Thr 1460] NiCreateHandle: state hdl 2 / socket 816 NI_INITIAL

[Thr 1460] NiPBind: set option SOL_SOCKET-SO_REUSEADDR of socket 816 TRUE

[Thr 1460] NiSetStat: state hdl 2 NI_LISTEN

[Thr 1460] NiBufHdlInit: BufInit for hdl 2

[Thr 1460] NiIListen: listen for client requests on hdl 2

[Thr 1460] MsHttpPortBind: bind port 8100 (1)

[Thr 1460] set HTTP state to LISTEN

[Thr 1460] ms/http_thread_detachedstate = THR_DETACHEDSTATE_DETACHED

[Thr 1460] ms/ssl_thread_detachedstate = THR_DETACHEDSTATE_DETACHED

[Thr 1460] MsHttpInit: instance name encoding is switch off

[Thr 1460] MsHttpInit: IctInitLib initialized

[Thr 1460] MsSInitHdl: ms/urlmap = /sap/public/icf_info/logon_groups

[Thr 1460] MsSInitHdl: ms/urlprefix = /sap/public/icf_info/urlprefix

[Thr 1460] WASCLIENT(1)

url = /sap/public/icf_info/logon_groups

enabled = TRUE

state = INIT

last request = Wed Dec 31 20:00:00 1969

next = Wed Dec 31 20:00:00 1969

connect timeout = 0

connect pending timeout = 60

retry = 10

error = 0

timeout = 0

#req = 0

buffer = 00000000005C679B (32000)

offset = 0

body = 00000000005CE4F4 (32000)

handle = -1

load = 000000000042D490

read = 000000000042D8E0

reload = 000000000042DE20

WASCLIENT(2)

url = /sap/public/icf_info/urlprefix

enabled = TRUE

state = INIT

last request = Wed Dec 31 20:00:00 1969

next = Wed Dec 31 20:00:00 1969

connect timeout = 0

connect pending timeout = 60

retry = 10

error = 0

timeout = 0

#req = 0

buffer = 00000000005D637B (32000)

offset = 0

body = 00000000005DE0D4 (32000)

handle = -1

load = 000000000042D490

read = 000000000042D8E0

reload = 000000000042E110

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

Wed Aug 26 14:33:36 2009

      • DP_FATAL_ERROR => main: rdisp/myname=PMLA-DOSDO-ONBA_LCH_00 exceeds 20 characters

      • DISPATCHER EMERGENCY SHUTDOWN ***

***

      • DISPATCHER EMERGENCY SHUTDOWN => main: rdisp/myname=PMLA-DOSDO-ONBA_LCH_00 exceeds 20 characters

increase tracelevel of WPs

NiWait: sleep (10000 msecs) ...

NiISelect: timeout 10000 ms

NiISelect: maximum fd=1

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Wed Aug 26 14:33:46 2009

NiISelect: TIMEOUT occured (10000 ms)

NiWait: sleep (5000 msecs) ...

NiISelect: timeout 5000 ms

NiISelect: maximum fd=1

NiISelect: read-mask is NULL

NiISelect: write-mask is NULL

Wed Aug 26 14:33:51 2009

NiISelect: TIMEOUT occured (5000 ms)

Shutdown server ...

DpJ2eeDisableRestart

Switch off Shared memory profiling

ShmProtect( 57, 3 )

ShmProtect(SHM_PROFILE, SHM_PROT_RW

ShmProtect( 57, 1 )

ShmProtect(SHM_PROFILE, SHM_PROT_RD

detach from message server

ES/TABLE = UNIX_STD

ES_FUNC_TABLE : UNIX_STD Selected

***LOG Q05=> DpHalt, DPStop ( 4620) [dpxxdisp.c 8541]

Good Bye .....

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

        • ERROR file opened at 20090826 091656 SA Western Standard Time, SAP-REL 700,0,144 RFC-VER 3 957098 MT-SL

T:676 Error in program 'igsmux': ======> CPIC-CALL: 'SAP_CMNOREGTP'

ERROR partner '10.199.33.168:3300' not reached

TIME Wed Aug 26 09:16:56 2009

RELEASE 700

COMPONENT NI (network interface)

VERSION 38

RC -10

MODULE nixxi.cpp

LINE 2823

DETAIL NiPConnect2

SYSTEM CALL connect

ERRNO 10061

ERRNO TEXT WSAECONNREFUSED: Connection refused

COUNTER 1

>TS> Wed Aug 26 09:16:57 2009

T:676 Error in program 'igsmux': ======> Connect to SAP gateway failed

Connect_PM TPNAME=IGS.LCH, GWHOST=pmla-dosdo-onba, GWSERV=3300

ERROR partner '10.199.33.168:3300' not reached

TIME Wed Aug 26 09:16:57 2009

RELEASE 700

COMPONENT NI (network interface)

VERSION 38

RC -10

MODULE nixxi.cpp

LINE 2823

DETAIL NiPConnect2

SYSTEM CALL connect

ERRNO 10061

ERRNO TEXT WSAECONNREFUSED: Connection refused

COUNTER 2

markus_doehr2
Active Contributor
0 Kudos

> when I go to work directory, I have not dev_disp file and I cannot check what happened in the system.

What files do you have in that directory?

Markus

Former Member
0 Kudos

Hi Markus,

I see:

dev_rfc.trc

dev_ms

stderrx

sapstart.log

I put the parameter rdisp/TRACE=3, but I can't see what happen.