cancel
Showing results for 
Search instead for 
Did you mean: 

Domain name change

Former Member
0 Kudos

Hi all,

Recently the company that I work in was acquired by another firm, as a result of that

all the servers are being moved to their network.

Let the old company be A and new company be B, all the SAP servers have been moved

from domain A to domain B.

Now the problem is, once I start the SAP, message server is coming up, whereas the dispatcher

is going down. Looking at the dev_w* trace files, looks like connection b/w application server and

db is failing.

I have looked up on sdn and a few notes on this topic.

Some posts suggest that a Homogeneous system is the only way, however, some say

that if there is no change in the hostname, a homogeneous system copy is not necessary.

Any suggestions please.

Regards,

Vishnu

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I believe that your service is not getting started because of invalid user id.

Service is still trying to get started with the invalid domain user.....Just go to the service and change the user name according to your current domain.

Go through the SAP Note 50088 and 400241.

If you still face any issue and couln't understand the root cause, just recreated OPS$ users according to your correct domain.

Regards,

Nick Loy

Former Member
0 Kudos

Hi,

Execute R3Trans -x now and post the trans log output.

Regards,

Varadharajan M

Former Member
0 Kudos

Hi,

Please find below the dev_w0 file,

In our environment, we have different versions of SAP running,

we have 4.6c, 4.7ee, ecc 5, ecc6.

The OS for 4.6c is windows 2000, whereas for the others it is 2003.

After the migration the 4.6c instance came up and is running fine.

However the others are not.

-


trc file: "dev_w0", trc level: 1, release: "640"

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, M

*

B

B Mon Jul 26 01:02:59 2010

B create_con (con_name=R/3)

B Loading DB library 'D:\usr\sap\IDN\SYS\exe\run\dboraslib.dll' ...

B Library 'D:\usr\sap\IDN\SYS\exe\run\dboraslib.dll' loaded

B Version of 'D:\usr\sap\IDN\SYS\exe\run\dboraslib.dll' is "640.00", patchlevel (0.172)

B New connection 0 created

M sysno 02

M sid IDN

M systemid 560 (PC with Windows NT)

M relno 6400

M patchlevel 0

M patchno 175

M intno 20020600

M make: multithreaded, ASCII

M pid 5600

M

M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 5600) [dpxxdisp.c 1162]

I MtxInit: -2 0 0

M DpSysAdmExtCreate: ABAP is active

M DpShMCreate: sizeof(wp_adm) 14080 (828)

M DpShMCreate: sizeof(tm_adm) 2379840 (11840)

M DpShMCreate: sizeof(wp_ca_adm) 18000 (60)

M DpShMCreate: sizeof(appc_ca_adm) 6000 (60)

M DpShMCreate: sizeof(comm_adm) 192000 (384)

M DpShMCreate: sizeof(vmc_adm) 0 (364)

M DpShMCreate: sizeof(wall_adm) (22440/34344/56/100)

M DpShMCreate: SHM_DP_ADM_KEY (addr: 05120040, size: 2672912)

M DpShMCreate: allocated sys_adm at 05120040

M DpShMCreate: allocated wp_adm at 051217D8

M DpShMCreate: allocated tm_adm_list at 05124ED8

M DpShMCreate: allocated tm_adm at 05124F00

M DpShMCreate: allocated wp_ca_adm at 05369F40

M DpShMCreate: allocated appc_ca_adm at 0536E590

M DpShMCreate: allocated comm_adm_list at 0536FD00

M DpShMCreate: allocated comm_adm at 0536FD18

M DpShMCreate: allocated vmc_adm_list at 0539EB18

M DpShMCreate: system runs without vmc_adm

M DpShMCreate: allocated ca_info at 0539EB40

M DpShMCreate: allocated wall_adm at 0539EB48

X EmInit: MmSetImplementation( 2 ).

X <ES> client 0 initializing ....

X Using implementation flat

M <EsNT> Memory Reset disabled as NT default

X ES initialized.

M

M Mon Jul 26 01:03:01 2010

M calling db_connect ...

C Prepending D:\oracle\idn\928 to Path.

C got NLS_LANG='AMERICAN_AMERICA.WE8DEC' from environment

C Client NLS settings: AMERICAN_AMERICA.WE8DEC

C Logon as OPS$-user to get SAPIDN's password

C Connecting as /@IDN on connection 0 (nls_hdl 0) ... (dbsl 640 010307)

C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch

C 0 WE8DEC 1 045B9CF8 0888B2A8 0888AD10

C Attaching to DB Server IDN (con_hdl=0,svchp=0888AC64,srvhp=045BE334)

C Starting user session (con_hdl=0,svchp=0888AC64,srvhp=045BE334,usrhp=045C6F44)

C *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017

[dboci.c 4502]

C *** ERROR => CONNECT failed with sql error '1017'

[dbsloci.c 11332]

C Try to connect with default password

C Connecting as SAPIDN/<pwd>@IDN on connection 0 (nls_hdl 0) ... (dbsl 640 010307)

C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch

C 0 WE8DEC 1 045B9CF8 0888B2A8 0888AD10

C Starting user session (con_hdl=0,svchp=0888AC64,srvhp=045BE334,usrhp=045C6F44)

C *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017

[dboci.c 4502]

C *** ERROR => CONNECT failed with sql error '1017'

[dbsloci.c 11332]

B ***LOG BY2=> sql error 1017 performing CON [dbsh#3 @ 1204] [dbsh 1204 ]

B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dbsh#3 @ 1204] [dbsh 1204 ]

B ***LOG BY2=> sql error 1017 performing CON [dblink#3 @ 428] [dblink 0428 ]

B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dblink#3 @ 428] [dblink 0428 ]

M ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c 1281]

M in_ThErrHandle: 1

M *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 9595]

M

M Info for wp 0

M

M stat = 4

M reqtype = 1

M act_reqtype = -1

M rq_info = 0

M tid = -1

M mode = 255

M len = -1

M rq_id = 65535

M rq_source = 255

M last_tid = 0

M last_mode = 0

M int_checked_resource(RFC) = 0

M ext_checked_resource(RFC) = 0

M int_checked_resource(HTTP) = 0

M ext_checked_resource(HTTP) = 0

M report = > <

M action = 0

M tab_name = > <

M

M *****************************************************************************

M *

M * LOCATION SAP-Server dlwsdv10_IDN_02 on host dlwsdv10 (wp 0)

M * ERROR tskh_init: db_connect

M *

M * TIME Mon Jul 26 01:03:01 2010

M * RELEASE 640

M * COMPONENT Taskhandler

M * VERSION 1

M * RC 13

M * MODULE thxxhead.c

M * LINE 9780

M * COUNTER 1

M *

M *****************************************************************************

M

M PfStatDisconnect: disconnect statistics

M Entering TH_CALLHOOKS

M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP

M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 730]

M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 254]

M Entering ThSetStatError

M Entering ThReadDetachMode

M call ThrShutDown (1)...

M ***LOG Q02=> wp_halt, WPStop (Workproc 0 5600) [dpnttool.c 357]

Regards,

Vishnu

markus_doehr2
Active Contributor
0 Kudos

> C *** ERROR => CONNECT failed with sql error '1017'

> [dbsloci.c 11332]

> B ***LOG BY2=> sql error 1017 performing CON [dbsh#3 @ 1204] [dbsh 1204 ]

> B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dbsh#3 @ 1204] [dbsh 1204 ]

> B ***LOG BY2=> sql error 1017 performing CON [dblink#3 @ 428] [dblink 0428 ]

> B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dblink#3 @ 428] [dblink 0428 ]

> M ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c 1281]

Recreate your OPS$-User: Note 400241 - Problems with ops$ or sapr3 connect to Oracle

"Renaming" to a new domain on Windows is only supported by doing a system copy:

Note 1233320 - Domain migration for SAP system

Markus

former_member204746
Active Contributor
0 Kudos

also:

adapt HOSTS file

adapt all SAP profiles

adapt RFC destination in SM59

adapt Oracle config

Former Member
0 Kudos

Hi Marcus,

I have requested for the domain to be reverted back to the old domain, and it was done.

However I see that the dispatcher is still failing, with the same error as previously.

Do we still have to recreate the ops$ user as mentioned in the note, even after reverting

back the changes made to the domain?

Eric,

Thanks for the information.

Thanks,

Vishnu