cancel
Showing results for 
Search instead for 
Did you mean: 

SAPSTART finished successfully on xxx_xxx_xx, but Dispatcher is not connect

Former Member
0 Kudos

An error occurred during the installation. Press the log view button to get extended error information, press Retry to repeat the current installation step or press OK to terminate the installation.

View log -->

INFO 2015-12-20 21:14:52

Copying file C:/SAPinst_ORACLE_KERNEL/keydb.xml to: C:/SAPinst_ORACLE_KERNEL/keydb.4.xml.

INFO 2015-12-20 21:14:52

Creating file C:\SAPinst_ORACLE_KERNEL\keydb.4.xml.

INFO 2015-12-20 21:14:53

Creating file C:\SAPinst_ORACLE_KERNEL\startsap.log.

INFO 2015-12-20 21:14:57

Changed working directory to C:\SAPinst_ORACLE_KERNEL.

INFO 2015-12-20 21:18:20

See 'C:\usr\sap\ERP\SYS\exe\run/startsap name=ERP nr=00 SAPDIAHOST=ERP' output in 'C:\SAPinst_ORACLE_KERNEL\startsap.log'.

ERROR 2015-12-20 21:18:20

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

ERROR 2015-12-20 21:18:20

FJS-00012 Error when executing script.

in startsap.log.

STARTSAP failed

Details are written to C:\SAPinst_ORACLE_KERNEL\startERP.log

in startERP.log

running C:\usr\sap\ERP\SYS\exe\run/sapstart.exe name=ERP nr=00 SAPDIAHOST=ERP -wait

SAPSTART finished successfully on ERP_ERP_00, but Dispatcher is not connected to MessageServer.sapparam(1c): No Profile used.

and In SAP Management console (SAPMMC):

I am getting Red colored

process list:

strdbs.cmd | Database | Could not be started.

msg_server.exe | MassgeServer|Could not be started.

disp+work.exe | Dispatcher | Could not be started.

MyComputer Name: ERP

MySAPSID : ERP

and at consolde

TRACE[E] [syxxccuren.hpp:189]

CSyCurrentProcessEnvironmentImpl::getEnvironmentVariable(iastring)

Unable to get value for environment variable HOME.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

The error is ocming at the The installation step "Start SAP System(Post processing)"

volker_borowski2
Active Contributor
0 Kudos

HI,

C:\usr\sap\ERP\DVEBMGS*\work should have the dev_-traces we need.

Guess one: C: filesystem is full

Guess two: not enough memory installed.

Guess three: Due to having E:\usr\sap\ERP and C:\usr\sap\ERP a previous installation might have failed and this might

give you trouble with the SAPLOC / SAPMNT shares, if they point to an old location.

Comment one: 8.1.7.0.0 is a quite strange DB Release to install with. 8.1.7.4 should be minimum,

but it was never supported on W2K3 only on W2K, allthough I saw a couple of these combos

Comment two: For installation questions, always post : OS release and patchlevel / DB release and patchlevel / Sap Release

Best regards

Volker

Former Member
0 Kudos

Trace you asked is sapstart.log

SAP-R/3-Startup Program

Starting at 2015/12/21 6:43:03

Startup Profile: "C:\usr\sap\ERP\SYS\profile\START_DVEBMGS00_ERP"

Starting Programs

(2380) CreateProcess(
ERP\sapmnt\ERP\SYS\exe\run\strdbs.cmd) failed(0). Unknown error

(2380) CreateProcess(
ERP\sapmnt\ERP\SYS\exe\run\msg_server.exe) failed(0). Unknown error

(2380) CreateProcess(
ERP\sapmnt\ERP\SYS\exe\run\disp+work.exe) failed(0). Unknown error

Guess one : C has 8.03GB free

Guess two: E has 43 GB free

I have 2GB RAM

Guess three: Removed E:\usr\sap\ERP entry from path

stopped all oracle services

Comment one : Updated database from 8.1.7.0.0 to 8.1.7.4 using patches.

restarted system,

now i tried installing, it came to the last stage, staring SAP .. giving following error

-


WARNING 2015-12-21 06:42:56

Error 1332 (No mapping between account names and security IDs was done.

) in execution of a 'SetEntriesInAcl' function, line (646), with parameter ().

WARNING 2015-12-21 06:42:56

Error 5 (Access is denied.

) in execution of a 'RegOpenKeyEx' function, line (367), with parameter (Printers).

INFO 2015-12-21 06:42:56

Changed working directory to C:\SAPinst_ORACLE_KERNEL.

INFO 2015-12-21 06:46:25

See 'C:\usr\sap\ERP\SYS\exe\run/startsap name=ERP nr=00 SAPDIAHOST=ERP' output in 'C:\SAPinst_ORACLE_KERNEL\startsap.log'.

TRACE

ProgramReturnCode='-1' means error.

ERROR 2015-12-21 06:46:25

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

-


Please help me to complete the installation.

Former Member
0 Kudos

But i am getting "Unable to get value for environment variable HOME. " at sap installation console.

Please tell me What would be the "HOME" environemnt value.i will set and try again?

Former Member
0 Kudos

can you please check below: You sure you are following the installation guide correctly for your installation.

>>(2380) CreateProcess(
ERP\sapmnt\ERP\SYS\exe\run\strdbs.cmd) failed(0). Unknown error

Error 1332 (No mapping between account names and security IDs was done.

WARNING 2015-12-21 06:42:56

Error 5 (Access is denied.

Former Member
0 Kudos

Have you checked that all permissions are set correctly for the directories used by SAP and its users?

Is there still sufficient free space left on the devices where you install the SAP system and where the temporary installation logs are written to?

What about the environment variables of the users? Are all set correctly?

Kind regards,

Former Member
0 Kudos

Hi thanks for responding me

Following is the my path info.

My EnvVariable are as follows:

DBMS_TYPE = ORA

DBS_ORA_SCHEMA = SAPERP

dbs_ora_tnsname = ERP

NLS_LANG = AMERICAN_AMERICA.WE8DEC

ORACLE_HOME = E:\oracle\ora81

ORACLE_SID = ERP

PATH=C:\usr\sap\ERP\SYS\exe\run;E:\usr\sap\ERP\SYS\exe\run - in user,

PATH=E:\oracle\ora81\bin;C:\Program Files\Oracle\jre\1.1.7\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\TortoiseSVN\bin;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;%JAVA_HOME%\bin;

SAPDATA_HOME = E:\oracle\ERP

SAPEXE = C:\usr\sap\ERP\SYS\exe\run

SAPLOCALHOST = ERP

SAPSYSTEMNAME = ERP

JAvA_HOME=C:\Java\jdk1.6.0_21

CLASSPATH=.;%JAVA_HOME%\jre\lib\*.*;

Please tell me to which folders i need to set the permissions extenally.

I have set full read/write permissions to c:\usr and c:\usr\sap folders.

I Am getting the a message at SAP installation console:

TRACE[E] [syxxccuren.hpp:189]

CSyCurrentProcessEnvironmentImpl::getEnvironmentVariable(iastring)

Unable to get value for environment variable HOME. What would be the "HOME" value.i can set.

Former Member
0 Kudos

You sure your database is up and running? including listener (for oracle)

also check the dev_disp, dev_ms and dev_w0 files from your work directory for more details.

Former Member
0 Kudos

Hi Thank you for responding

I did not set see the dev_disp, dev_ms and dev_w0 files in my C:\SAPinst_ORACLE_KERNEL directory

but i have file dev_slic

its contents as follows:

-


-


trc file: "dev_slic", trc level: 2, release: "620"

-


SlicIGetDate: <20151220>

SlicPwForR3Setup: calc password out of <ERP20151220FJAWFNLTL>

SlicIGetDate: <20151220>

SlicSapInstall: sysname: >ERP< connect: >1< rollback: >1<

SlicIDbLock: first call to SlicIDbLock: initialize Mutex

db_con_init called

create_con (con_name=R/3)

Loading DB library 'dboraslib.dll' ...

load shared library (dboraslib.dll), hdl 0

using "C:\usr\sap\ERP\SYS\exe\run\dboraslib.dll"

Library 'dboraslib.dll' loaded

function DbSlExpFuns loaded from library dboraslib.dll

Version of 'dboraslib.dll' is "620.02", patchlevel (0.112)

function dsql_db_init loaded from library dboraslib.dll

function dbdd_exp_funs loaded from library dboraslib.dll

New connection 0 created

0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO

db_con_connect (con_name=R/3)

find_con found the following connection for reuse:

0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO

Got ORACLE_HOME=E:\oracle\ora81 from environment

-->oci_initialize

Client NLS settings: AMERICAN_AMERICA.WE8DEC

Logon as OPS$-user to get SAPERP's password

Connecting as /@ERP on connection 0 ...

Allocating service context handle

Allocating server context handle

Attaching to DB Server ERP (con_hdl=0,svchp=0115A648,svrhp=0115A454)

Sun Dec 20 16:17:04 2015

Assigning server context 0115A454 to service context 0115A648

Allocating user session handle

Starting user session (con_hdl=0,svchp=0115A648,srvhp=0115A454,usrhp=0116F0DC)

Assigning user session 0116F0DC to service context 0115A648

Now I'm connected to ORACLE

Got SAPERP's password from table SAPUSER

Got SAPERP's password from OPS$-user

Disconnecting from connection 0 ...

Rolling back transaction ...

Closing user session (con_hdl=0,svchp=0115A648,usrhp=0116F0DC)

Now I'm disconnected from ORACLE

Connecting as SAPERP/<pwd>@ERP on connection 0 ...

Assigning username to user session 0116F0DC

Assigning password to user session 0116F0DC

Starting user session (con_hdl=0,svchp=0115A648,srvhp=0115A454,usrhp=0116F0DC)

Assigning user session 0116F0DC to service context 0115A648

Now I'm connected to ORACLE

Database NLS settings: AMERICAN_AMERICA.WE8DEC

Database instance erp is running on ERP with ORACLE version 8.1.7.0.0 since 20151220

Sun Dec 20 16:17:05 2015

Connection 0 opened

License index MLICHECK0 not found( - ok)

License index MLICHECK__0 not found( - ok)

License index MLICHECK~I1 not found( - ok)

Old license index not dropped...(rc: -111)

Database vendor is ORACLE

License table created

License table created (rc: 0)

Sun Dec 20 16:17:06 2015

Index for license table created

License index created (rc: 0)

License table created (rc: 0)

Go and create a temporary license

SlicIGetDate: <20160117>

SlicCalcLicenseKey: key db/prod = >TEMPLICENSEERPINITIAL R3_ORA 20160117<

SlicIGetDate: <20151220>

License created as follows:

LICENSE DATA:

systemname: >ERP<

hardware-key: >TEMPLICENSE<

productid: >R3_ORA <

installation-nr: >INITIAL <

system-id: >INITIAL_SY<

userlimit: >0<

creation_date: >20151220<

expiration_date: >20160117<

lcheck_date: >19800101<

lkey: >LOQPH4L4LJCH8YG1HIYSG29A<

fprint: >YWJPG2OHJGR3ALLJLJGOWZ2X<

Write license into database

License >ERP< >TEMPLICENSE< >R3_ORA < requested from db

License >ERP< >TEMPLICENSE< >R3_ORA < not found in db

license does not exists, do a license insert

SlicB7ToUc: input:

SlicB7ToUc: output:

<ERP><TEMPLICENSE><R3_ORA ><INITIAL ><INITIAL_SYSTEM_IDX><20160117><20151220><LOQPH4L4LJCH8YG1HIYSG29A><YWJPG2OHJGR3ALLJLJGOWZ2X>

Try to insert inserted >ERP< >TEMPLICENSE< >R3_ORA <

License inserted >ERP< >TEMPLICENSE< >R3_ORA <

License written: >ERP< >TEMPLICENSE< >R3_ORA <

Temporary License written into database

SlicSapInstall sap-msgserver license ok.

db_con_commit (con_da={R/3,0,0},th_commit=0,tx=1,hold_cursor=0)

Disconnecting from connection 0 ...

Rolling back transaction ...

Closing user session (con_hdl=0,svchp=0115A648,usrhp=0116F0DC)

Deallocating user session handle

Detaching from DB Server (con_hdl=0,svchp=0115A648,srvhp=0115A454)

Deallocating server context handle 0115A454

Deallocating service context 0115A648

Now I'm disconnected from ORACLE

Disconnected from connection con_da={R/3,0,0}

-


Please tell me what whould the bproblem?