cancel
Showing results for 
Search instead for 
Did you mean: 

WSAECONNREFUSED: Connection refused

Former Member
0 Kudos

Hi all,

I know you might have seen this topic 100s of times but I need your help.

I was installing an HPUX cluster, rebuilding it, I have all the files, the packages, everything, so I didn't create anything new. There are 2 packages, the cmviewcl command on the hpux shows that the cluster and the packages are up and running fine.

The package IP is pingable. Telnet works.

However, I couldn't log on to SAP (using SAP Logon 640) from the server where it is installed. I have no single clue about how SAP works, I got this error and I have been googling for hours in vain. I read somewhere that I need to update the serives file in system 32, I did.. but however (and excuse my total ignorance in this domain), there was a line I added (among 3 or 4 others) 'sapms<SID> 3600/tcp' .. how do I know what is the SID?

When my colleague installed the same system on the same site before, he told me that once the package IP is pingable and tha t #bdf shows the correct presentations and cluster is up and running, our job is over.. and that problem below never happened with him.

So what I want to know, is that a miss configuration on the unix side? Should those services be added on the HPUX? or on the windows machine?

Below is the error.

Partner not reached (host 172.18.1.100, service sapdp00)

...

Component NI (network interface)

Release 640

Version 37

Module nixxi_r.cpp

Line 8724

Method NiPConnect2

Return code -10

System call SiPeekPendConn

Error No 10061

Error Text WSAECONNREFUSED: Connection refused

Counter 1

Any help would be appreciated!

N.B.: If you need any more information, logs, or anything, you have to guide me through, as I don't know anything about SAP.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

HI,

pls check the following first,

in the cluster node where SAP is suposed to be running:

ps -ef | grep dw

if you see some dw processes, sap is running

then try the following in that node:

netstat -an | find LISTEN

and post the resulting listening ports in this post

best regards,

Ricardo

Former Member
0 Kudos

correction:

netstat -an | grep listen

Former Member
0 Kudos

also test the following from the ps where sapgui is installed:

telnet 172.18.1.100 3200

best regards,

Ricardo Caramona

Former Member
0 Kudos

On which server the SAP is installed - Windows or HP-Ux ?

sapms<SID> 3600/tcp' .. how do I know what is the SID?

SID is System Identifier - Any SAP system is installed with this ID which is unique in a single SAP landscape. Since you not in SAP, I think you can find out the SID by looking into the file system or disk directory.

In Unix, /usr/sap/SID (there must be something there in place of 'SID')

In Windows, Drive:\usr\sap\SID

This particular service line has to be added to services file on the host where SAP resides (which is called SAP server).

Thanks

Former Member
0 Kudos

For me it's very confusing actually.

I had created during the installation a mount point /usr/sap .. I have an EVA.. What I have on the windows server is just a sap logon and sapadmin.. supposedly the SAP is on the EVA disks and it's presented to the HPUX.

the /usr/sap contains nothing about an SID.

I checked files from the old disks HPUX (I installed on new, bigger disks) and also the /usr/sap contains nothing.. the data on the EVA hasn't changed so that's why I am assuming that the problem is not from the HPUX guys.

Yet, when I googled the error WSAECONNREFUSED: Connection refused, it gave me the following:

No connection could be made because the target computer actively refused it. This usually results from trying to connect to a service that is inactive on the foreign hostu2014that is, one with no server application running.

Also, the client just told me that he used to connect to that IP above via telnet and then enter a command su XXX (where X is the username).. maybe I should just try to add a user or sth..

vincentlim826
Employee
Employee
0 Kudos

tell us your /usr/sap ....directory and subdirectory structure...

Regards,

Vincent

Former Member
0 Kudos

Hello Mazen,

Are you sure you are trying on the correct server. Do you have multiple instances on the same server?

Have you checked process running on the server with <sid>adm or ora<sid> if your database is oracle?

If the client did su <sidadm> then does he not rememeber the username?

Please check all the servers you believe might be involved in the cluster environment.

Regards,

Sai R.