cancel
Showing results for 
Search instead for 
Did you mean: 

System Migration Error

Former Member
0 Kudos

Dear Experts,

We're migrating SAP system from Oracle to HANA using SWPM. Export was successful but with import we're struck with the error in Start Instance step of execution phase using SWPM (software update maanger).

From dev_disp log file, we found the following error:

Error NiPConnect2: SiPeekPendConn failed for hdl 17/sock 10

Error MsIAttachEx: NiBufconnect to hostname/3901 failed (rc=NIECONN_REFUSED) [msxxi.c 878]


You're ideas are appreciated.



Thanks & best regards,

Sreenu

Accepted Solutions (0)

Answers (3)

Answers (3)

Reagan
Advisor
Advisor
0 Kudos

Check if the /etc/hosts and etc/services files are set up correctly.

Also review the profile parameters related to message server.

Former Member
0 Kudos

Hi Benjamin,

I checked the files that you mentioned above but I didn't notice any changes that has to be done.

Any other ideas?

Thanks,

Sreenu

kaus19d
Active Contributor
0 Kudos

Hi ,

I was wondering, if the system is connected to your company domain server or not. In this given scenario, I would have tried flushdns & then telnet to that server from another system. If it was windows, then I would have suggested to install called Microsoft Loopback Adapter. Anyways because the system here instead of takingthe system IP 1st, its taking the loopback IP 1st then, the system IP

I was also thinking, Is there any saphostcntrl/saphostagent version included?

Thanks,

Kaushik

Reagan
Advisor
Advisor
0 Kudos

Assisting you is difficult as you are not supplying the full trace logs instead screenshots of parts of the trace files. You need to supply the full trace files (attach them) from the work directory.

So far it appears to me a issue related to firewall.

Look into this note and follow the instructions.

2179550 - Troubleshooting steps for wapsmod.ms.MsAttachFailed error: Connect to message server fails...

Do a niping test to the MS port on the host where the ASCS is running and check the output.

Get someone from the network team and review the firewall settings and the ports.

Former Member
0 Kudos

Hi,

As per suggestions of all other colleagues, please provide full logs details instead of only screen shot. Also could  you please stop ASCS (message server) [as no other instance are running] and try to take a reboot of the host ? Sometime due to heap memory issue also dispatcher doesn't get started and causes issue while starting up the system. After reboot , try to start up the instances manually and then run SWPM. If error still persists, please provide latest logs of dev_ms & dev_disp logs . also please check if it's generating dev_w** logs under work directory of DVEBMGS** directory , if yes, provide those information as well .

Regards,

Nilutpal.

Former Member
0 Kudos

Hello Sreenu,

Anil has already asked you to check the logs. Could you also run the following to check that all processes are running: sapcontrol -nr 01 -function GetProcessList

It looks to me as though you selected "Create Message Server Access Control List" in the define parameters step of SWPM. That being the case you will have to create entries in the ms_acl_info file. Please consult notes 1495075 and 826779.

KR,

Amerjit

Former Member
0 Kudos

Hi Amerjit,

I ran the command sapcontrol -nr 01 -function GetProcessList and I got the result that the message Server is running.

You can see screenshot ProcessList in attachment.

Any ideas, please?

Thanks,

Sreenu

Former Member
0 Kudos

Hi Sreenu,

Then I would edit the ms_acl_info file as referenced in the notes I mentioned.

I would take a copy of the existing the file first, delete the existing entries and add HOST = * to the file. Post migration you must revisit the file and restrict to specific IPs and Servers (proper security).

After the changes, restart your ASCS (just to be 100% sure) and then try and continue with SWPM.

KR,

Amerjit

Former Member
0 Kudos

Hi Amerjit,

I see ms_acl_info file already has the entry Host = * for accessing the message Server by application Servers.

Any other ideas?

Thanks,

Sreenu

raquel_gomez
Employee
Employee
0 Kudos

Hi,


Dispatcher trace file shows:

NiPConnect2: SiPeekPendConn failed for hdl 17/sock 10

MsIAttachEx: NiBufconnect to hostname/3901 failed (rc=NIECONN_REFUSED) [msxxi.c 878]

It seems that it's unable to connect to Message Server.

It may happen that Message Server is not running (but you provided 'GetProcessList' output, showing

that MS is running). Or MS is not listening on that port, you should check Ms profile parameters to ensure it's listening on that port.

Is eventually connection to MS established?

It would be useful if you could attach into this thread MS trace file as well as Disp trace file.

Regards,

Raquel

Former Member
0 Kudos

Hi Raquel,

As I said, MS is listening to the port 3901 and also it is running.

You can find the MS log in attachment.

Thanks,

Sreenu

isaias_freitas
Advisor
Advisor
0 Kudos

Hello,

This trace shows the Message Server being stopped by a normal stop request...

Regards,

Isaías

former_member227283
Active Contributor
0 Kudos

Hello,

Have a look to dev_ms logs and check if require services of message server has been started or not.

Regards,

Anil Bhandary

Former Member
0 Kudos

Hello Anil,

I didn't find the log file in dev_ms in work Directory.

Any other ideas?

Thanks,

Sreenu

former_member227283
Active Contributor
0 Kudos

Dear Sreenu,

hope you are checking dev_ms in Central service directory

usr/sap/<SID>/ASCSnn/work

Regards,

Anil

Former Member
0 Kudos

Dear Anil,

Sorry it was mistake. I can see the dev_ms file in in work dir but from the log it states that message Server is active.

you can see the dev_ms screenshot in attachment.

Any other ideas?

Thanks,

Sreenu

former_member227283
Active Contributor
0 Kudos

Thanks.

In that case, can you check the dev_disp on which port it is trying to check the message server host. Also same information should be in instance profile. Based on profile detail try to telnet hostname on port 3901 and check if get the result as expected.

Also , is your CI and CS is running on same server ?

Regards,

Anil Bhandary

Former Member
0 Kudos

Hallo Anil,

I see that the dev_disp using correct port 3901 for checking the message server host. And also in default profile, same port 3901 is maintained for parmater rdisp/msserv_internal.

We're getting result as expected using telnet. CS and ASCS are running on the same server.

Any other ideas?

Thanks,

Sreenu

former_member227283
Active Contributor
0 Kudos

Please share your sapinst_dev.log file.

Regards,

Anil Bhandary