Random "WSAECONNREFUSED: Connection refused" error
hello,
we're connecting to sap using logon groups and randomly we get this error
<i>TmConnect2: handle = 0
sncname = []
set snc-mode OFF TmISncSetOptions: set tm_mode for 0 to TM_SNC_OFF
disp service: sapdp00
TmIGetName: no DISPLAY set
NiMyHostName: hostname = 'APP006-2'
terminal name: APP006-2
connect to dispatcher on host /H/127.0.0.1/S/3201
RouteString </H/127.0.0.1/S/3201>
service in route <3201> != servname param <sapdp00>
NiIGetServNo: servicename '3201' = port 3201
NiICreateHandle: hdl 3 state NI_INITIAL_CON
NiIInitSocket: set default settings for new hdl 3/sock 1144 (I4; ST)
NiIBlockMode: set blockmode for hdl 3 FALSE
NiITraceByteOrder: CPU byte order: little endian, reverse network, low val .. high val
Wed Sep 26 16:59:12 2007
***LOG Q0I=> NiPConnect2: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 2985]
ERROR => NiPConnect2: SiPeekPendConn failed for hdl 3/sock 1144
(SI_ECONN_REFUSE/10061; I4; ST; 127.0.0.1:3201) [nixxi.cpp 2985]
NiICloseHandle: closing initial hdl 3
ERROR => TmIConnect: NiConnect (rc=-10) [dpxxtm.c 934]
TM_LAYER TmConnect <<
TmErrSet: socket invalid (-1)Wed Sep 26 17:00:52 2007
NiICreateHandle: hdl 4 state NI_INITIAL_CON
NiIInitSocket: set default settings for new hdl 4/sock 1624 (I4; DG)
NiDgHdlCreate: state of hdl 4 NI_DG_UNCONNECTED
NiHsLGetNodeAddr: got hostname 'localhost' from operation system
NiIGetNodeAddr: hostname 'localhost' = addr 127.0.0.1
NiDgHdlSendTo: hdl 4 sent 1 of 1 bytes to 127.0.0.1:0
NiICloseHandle: shutdown and close hdl 4/sock 1624
NiIExit: free nitab 0C0AF150
TmThrExit: free local resources
TmExit: free local resources</i>
i can't figure why sap gui is trying to connect to 127.0.0.1 ???
and after a while it works without any modification... very strange no? but annoying!
if i do not use logon group and connect directly it works but it is not what i need to do.
any idea?
regards
hello,
thanks but configuration of logon groups is very straightforward...
my logon group contains my two application servers.
what else do i have to check?
regards
Similar Messages
-
Connection Refused Error while running AS ABAP Initial Load
All,
I've never connected SAP NW IdM to an actual SAP system before, and I feel like I'm missing some obvious step of configuration, but I can't figure out what.
We are in the process of trying provision user accounts to our SAP ABAP systems. My first step was to try to read all of the existing accounts from the ABAP system:
Our Basis team created me a Communication user with the proper authorizations (I ensured that the authorizations included in SAP_BC_SEC_IDM_COMMUNICATION)
I created a repository using the SAP NewWeaver AS ABAP (Specific Application Server) Repository Template (No CUA, No SNC) using that user's credentials
I then used the Job Wizard and used the job template AS ABAP - Initial Load, specifying my repository above.
When I run the job I get the following:
Initializing SAP connection with parameters:
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server failed Connect_PM MSHOST=<IPADDRESS>, R3NAME=<SID>, GROUP=PUBLIC LOCATION CPIC (TCP/IP) on local host ERROR partner not reached (host <IPADDRESS>, service sapms<SID>) TIME Wed Jun 01 13:54:36 201 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -10 MODULE nixxi_r.cpp LINE 8840 DETAIL NiPConnect2 SYSTEM CALL SiPeekPendConn ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER 1
Error Init failed
I'm running SAP NW IdM 7.1 SP5 on Windows Server 2003 with MSSQL 2005. The ABAP server is on a UNIX box with an Oracle 10.2 dB.
Is there additional configuration that needs to take place on the ABAP side to accept the connection?
I've tried to find documentation on this, but have been unsuccessful. If someone could point me to the correct documents, or at least point me in the right direction for troubleshooting, it would be greatly appreciated.Ankur,
Looks like the endpoint URL of the webservice is not updated and still pointing to the localhost. Try changing it to http://<ip_addres_of_your_server>:7101..... and see if it works fine then.
-Arun -
Hi all!
I've run into a problem while trying to interact with SAP via .NET Connector. Really, this problem occurs even when I try to login via SAP GUI.
I receive the following error message
partner not reached (host msk-krf5pzoq4, service sapdp00)
Time Thu Jun 21 11:33:15 2007
Component NI (network interface)
Release 640
Version 37
Module nixxi_r.cpp
Line 8672
Method NiPConnect2
Return Code -10
System Call SiPeekPendConn
Error No 10061
Error Text WSAECONNREFUSED: Connection refused
Counter 13
In SAP MMC I have all green lights.
I have installed MS Loopback adapter and configured its IP
Hosts file looks like this:
127.0.0.1 localhost
10.10.0.10 msk-krf5pzoq4
Firewalls are disabled.
I have clean virtual machine with Win2k3 SP1 without any other software except NW 04s SP 16 Sneak Preview (I had not installed patch EP6KMC16P_2-10002972.sar located at the distr package). I had not modified anything since I had installed it. All is by default. I believe that system id is J2E and system number is 00. In any case I have tried other possible values. My host name (msk-krf5pzoq4) contains 13 symbols, I think that is allowed.
When I am trying to create server in SAP GUI I recieve 'Message server could not find any applicaion server' error, though ALL lights in SAP MMC are green and I am able to logon to SAP NW AS web management interface (http://localhost:50000/nwa). Also, I have no 'SAP Netweaver 2004s' item in Start menu, only MMC console. Maybe I should install something else?
I am stucked for 2 days with the problem(Hi Ivan,
As you mentioned, it is possible to connect to <a href="http://localhost:50000">http://localhost:50000</a>. Go there and choose System Information. Log in and on the information page you will see the required message server port to connect to the system via Visual Studio.
As I wrote, there is no possibility to connect via SAP GUI.
Regards,
Klaus -
Connect to message server host failed;WSAECONNREFUSED: Connection refused
Hi All,
I am getting the following error when I tried to test the system connectivity from the portal to NSP instance.
Connection failed. Make sure that Single Sign-On is configured correctly
I found the following entry in the logs
Error> occured >Wed Feb 03 22:43:49,875<
RfcException:
message: Connect to message server host failed
Connect_PM TYPE=B MSHOST=abchome.abcsap.local GROUP=SPACE R3NAME=NSP MSSERV=sapmsNSP PCS=1
ERROR partner '192.xxx.xxx.123:sapmsNSP' not reached
TIME Wed Feb 03 22:43:49 2010
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
Return code: RFC_FAILURE(1)
error group: 102
key: RFC_ERROR_COMMUNICATION
Both NSP and J2E instances are on the same server. OS - win2k3.
I checked the services file and have the sapmsNSP entry.
I am able to launch an SAP transaction from System Administration -> Support
RZ70 from NSP also fails JCo error. SLD_UC RFC itself works fine and the JCo RFC provider SLD_UC program is running
WEB AS & ITS connections work fine.
User authentication is from backend, NSP.
I think I have gone thru all the logs but could not resolve the issue.
I appreciate any help on this,
VictorI tried to go thru the thread. I did not find any clue as why only server connectivity is failing. ABAP trial version is running fine and the NW trial version is working fine too. These run without crashing. I did a lot of customizing on the portal but dont see any issues except the System Connectivity. Like I mentioned I did UME configuration to point to NSP ABAP instance and I can log into the portal with user credentials that I use to login to ABAP. I can launch webgui etc without any issues.
-
SAP Logon GUI - WSAECONNREFUSED: Connection refused
I try to connect to the Application Server (IP Address), System Number (00) and System ID (APC) but get the following error:
Sapgui 710 [Build 9003] Tue Sep 08 06:24:47 2009
: 'partner '10.0.103.217:sapdp00' not reached
Time Tue Sep 08 06:24:45 2009
Component NI (network interface)
Release 710
Version 39
Module nixxi.cpp
Line 3142
Method NiPConnect2: 10.0.103.217:3200
Return Code -10
System Call connect
Error No 10061
Error Text WSAECONNREFUSED: Connection refused
Counter 1Hi Chris / Dalma,
The issue is with the C:\Windows\System32\drivers\etc\services entries.
Do add your samps<SID> port/TCP entris.
also the all relevant entries.
sapdp00 3200/tcp
This should resolve the issue.
also Do verify your instance number and maintain the right Instance number in SAP GUI. Let us know if this helps.
Regards,
Ram -
WSAECONNREFUSED: Connection refused
i am trying to access my newly installed system after i have performed a client copy and it gives the following error
partner not reached (host 192.167.1.3, service sapdp03)
WSAECONNREFUSED: Connection refused
here is the detailed error log
Time: Tue Apr 17 12:19:48 2007
Component: NI (network interface)
Release 640
version 37
Module nixxi_r.cpp
Line NiPConnect2
Return Code -10
System Call SiPeekPendConn
Error No 10061
Error Text WSAECONNREFUSED: Connection refused
Counter 1Hi..
i strongly beleive , After a client copy you are not able to connect sounds, You oraarch directory is full and database is not accepting any incoming requests from application. (or) Dispatcher is stopped.
if you are sure - you have done no changes on server end except using SAPGUI i.e. client copy - The only reason i feel - ORAARCH is FULL.
if it is not the reason
======
can you ping the server ?? if yes
As ora<SID> user Check - is db is up or not ??
As ora<SID> user Check - listener status ??
As <SID>adm user check - "R3trans -d" what is the return code ??
if return code is 0 no issues with DB connection ??
if return code other than "0" enclose trans.log file (it will be created in directory where "R3trans -d" executed.
also enclose dev_disp trace file from work directory.
if this answers - Please mark it as answered.
Regrds
PR -
Connection Refused Error In Connection Client
Hello Geeks
I am runnig a RMI application in which runs on internet , i have setup RMI server on a host server and it is running there.
Now, when i try to call client using ip address of the Host , i am getting Connection Refused error.
Example :
Registry registry=LocateRegistry.getRegistry("70.33.246.110");
System.out.println("Above connectMe");
String serverName = "rmi://70.33.246.110:2786/connectUser";
connectMe stub=(connectMe)Naming.lookup(serverName);
System.out.println("Below connectMe");
boolean log=stub.login(username,password,1);
System.out.println("Below login");Here "connectuser" is name i have given in server to which client lookups.I am getting -> Above connectMe and Below connectMe
but then i am getting connection refused error.
Please Help Me Out.....ASAp
Edited by: Hardik.Mishra on Oct 3, 2009 5:46 PMRegistry registry=LocateRegistry.getRegistry("70.33.246.110");There's no point to doing that ...
System.out.println("Above connectMe");
String serverName = "rmi://70.33.246.110:2786/connectUser";
connectMe stub=(connectMe)Naming.lookup(serverName);... if you're doing that. The getRegistry() doesn't do a network operation, it just constructs a stub to that Registry locally. Only by using it would you find out whether it meant anything: and you're not using it.
I am getting -> Above connectMe and Below connectMe
but then i am getting connection refused error.See item A.1 on the RMI Frequently Asked Questions list in the Javadoc. -
HI
I am new to Java so please excuse my stupid questions and general lack of ignorance. I am trying to connect to an Oracle database using JNDI to retrieve a Datasource using a 'data-source.xml' file but I get a 'Connection refused' error I am at a total loss at what this can be, I just have a simple Java Class which gets an InitialContext then does a lookup from here but this is were it fails.
Could anybody give me any idea as to where to look. Could it be a problem with the JNDI server itself?. I'm using JDeveloper 10.1.3 and am just trying to run it in the embedded server.
Sorry for the general rambling nature of this post and please ask me to provide any extra information required.
Any help would be much appreciated as I'm going nowhere with this at the moment and very frustrated as have searched everywhere with no results.
Thanks
AndyHi
Thanks for the reply. I have checked my data-sources.xml and this all seems fine. I can even connect to the DB using DriverManager rather than the JNDI method. One thing that confuses me is which data-sources.xml it is using as there appear to be many. In JDeveloper you can specify the data sources in 'embeeded oc4j preferences' plus create your own under meta-inf. Which is being used when run in embedded, maybe thats obvious the first one?
thanks once again -
Connection refused error showing in ironport s170 - WSA
Connection refused error showing in ironport s170 - WSA
I am getting “Connection refused” error while I connect ironport s170 through console cable. also i am not able to connect it through HTTP and SSH. Complete output is given below.
Last login: Thu Sep 11 07:16:59 on cuad0
Copyright (c) 2001-2011, Cisco Systems, Inc.
AsyncOS 7.5.2 for Web build 303
Welcome to the Cisco IronPort S170 Web Security Appliance
Traceback (most recent call last):
File "/usr/build/iproot/ap/ipoe/ipoe/bootstrap.py", line 55, in <module>
File "/data/lib/python2.6_7_i386_nothr/runpy.py", line 128, in _run_module_as_
main
"__main__", fname, loader, pkg_name)
File "/data/lib/python2.6_7_i386_nothr/runpy.py", line 34, in _run_code
exec code in run_globals
File "build/bdist.freebsd-7.2-RELEASE-p2-i386/egg/cli.py", line 426, in <modul
e>
File "build/bdist.freebsd-7.2-RELEASE-p2-i386/egg/external_auth/__init__.py",
line 212, in initialize
File "build/bdist.freebsd-7.2-RELEASE-p2-i386/egg/external_auth/__init__.py",
line 118, in _setup_old_authentication
File "build/bdist.freebsd-7.2-RELEASE-p2-i386/egg/command_client.py", line 674
, in quick_read_var
File "build/bdist.freebsd-7.2-RELEASE-p2-i386/egg/command_client.py", line 133
, in connect
Commandment.CommunicationError: <host name>: Network communication error
: Connection refused
AsyncOS <host name> (cuad0)
login:Hi,
You can upgrade to 7.7+ but if you require a root cause analysis I suggest you to open a TAC case.
Regards,
Luis Silva -
RDS Server : Connection refused error
Hi All,
I am using flash builder 4.
When i try to connect rds from DataServices - > Connect to LCDS it throws a connection refused error.
I have uncommented the rds in web.xml and set the useappSecurity to false.
Can any body please help me get rid of this issue.
I am still using a trial version. Does this have any impact.
Any help is highly appreciated !!!!!!!!!!!!!!!!!!!!!!!
ThanksI have the same problem.
-
I am new to Mac and i managed to install and configure all the services. Now my issue is when i sending mail using the local server to internal, mails are not receiving. Mail queue showing Connection refused error. Please help me
Thanks
GIRITry this -> http://support.apple.com/kb/TA38632?viewlocale=en_US
-
Connection refused error while connecting to port.
Hello,
I have a service (Connect Direct) listening at port 1364 in server X.
$ netstat -an | grep 1364
11.22.33.44.1364 *.* 0 0 0 0 LISTEN
(Assume 11.22.33.44 = Server X's IP.)
Now, when another server (say Y) tries to use this service in server X, it is getting "Connection Refused" error. I tried telneting.
From Y:
telnet 11.22.33.44 23 is working
telnet 11.22.33.44 1364 is giving the same Connection Refused error.
telnet 11.22.33.44 1364
Trying 11.22.33.44...
telnet: Unable to connect to remote host: Connection refused
/usr/sbin/ping 11.22.33.44
11.22.33.44 is alive
To complicate things, 11.22.33.44 is not the original IP of server X.
ifconfig -a gives:
hme0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
inet 11.22.33.55 netmask ffffff00 broadcast 11.22.33.255
hme0:1: flags=843<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 11.22.33.44 netmask ffffff00 broadcast 11.22.33.255
(in additional to a couple of other IPs).
What could be the problem?
Help!!!!IPF firewalling could cause this, if you have it enabled.
I havent used it, so I'm not entirely sure how to check.
Of another firewall if its between the 2 machines. Are they on the same subnet? -
Web Services/BPEL - Connection Refused Error
I am getting the following error while invoking this web service (in JDev 10.1.2) from Oracle BPEL console...
faultSubcode: faultString: java.net.ConnectException: Connection refused: ..............
Did anyone face the same error...pleaseeee help!!!where is your web service deployed?
-
RMI: connection refused error while invoking remote method from client mac.
Hi All,
when i run client program, which is calling remote object from other system, it shows the below error.
please help me solving this issue, i also have policy file and installed security manager.
Exception in Cliendjava.rmi.ConnectException: Connection refused to host: 10.66.
112.137; nested exception is:
java.net.ConnectException: Connection refused: connect
thanks in advance.
Regards,
Anand.See item A.1 of the [RMI FAQ|http://java.sun.com/j2se/1.5.0/docs/guide/rmi/faq.html].
-
Hello,
I'm using Jdeveloper 10.1.3.0.3.3412 on a Mac with a MySQL database. In Jdeveloper i can make a connection to the database and create adf business components
I've made a JSP page with ADF on a single table. No errors when compiling. When I try to run the JSP Page using Embedded OC4J (on Mac OSX Tiger) I get the error:
5/12/09 00:45:50 java.net.ConnectException: Connection refused
05/12/09 00:45:50 at java.net.PlainSocketImpl.socketConnect(Native Method)
05/12/09 00:45:50 at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
05/12/09 00:45:50 at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
05/12/09 00:45:50 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
05/12/09 00:45:50 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:428)
05/12/09 00:45:50 at java.net.Socket.connect(Socket.java:507)
05/12/09 00:45:50 at java.net.Socket.connect(Socket.java:457)
05/12/09 00:45:50 at java.net.Socket.<init>(Socket.java:365)
05/12/09 00:45:50 at java.net.Socket.<init>(Socket.java:207)
05/12/09 00:45:50 at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.sendMessage(Oc4jNotifier.java:98)
05/12/09 00:45:50 at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.postInitApplicationServer(Oc4jNotifier.java:55)
05/12/09 00:45:50 at com.evermind.server.ApplicationServer.serverExtensionPostInit(ApplicationServer.java:1041)
05/12/09 00:45:50 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:927)
05/12/09 00:45:50 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:98)
05/12/09 00:45:50 at java.lang.Thread.run(Thread.java:613)
What am I doing wrong? The embedded OC4J library is added to the project. I've tried to use the javac compiler. It looks like the OC4J instance cannot make a connection to the db.
Thanks,
MartinHello
I've added the connection to the web.xml, but still get the same error.
When I go to embedded OC4J preferences and change the JNDI-names of the datasources (global and current-workspace) to the same name (this was default), i get this error message:
9-dec-2005 9:30:09 com.evermind.server.ApplicationStateRunning initNativeDataSource
SEVERE: Error creating native data source. The location 'jdbc/MySQLConnectionCoreDS' is already in use.
05/12/09 09:30:09 Application: current-workspace-app is in state FAILED
05/12/09 09:30:09 Error instantiating application 'current-workspace-app' at file:/Users/martinsuijs/jdevhome/mywork/myWorldApp/myWorldApp-oc4j-app.xml: Error creating native data source. The location 'jdbc/MySQLConnectionCoreDS' is already in use.
05/12/09 09:30:14 java.net.ConnectException: Connection refused
grtz
Martin
Maybe you are looking for
-
How do i get the app store to search for apps again
in the app store i set it to recommend apps now i cant get it to go back to normal so i can search for apps how do i fix this?
-
Monitor color profile when switching between LR and PS
I have a calibrated profile in use with PS.PS and LR are set to Adobe RGB color space but I use the calibrated profile. When I export an image from LR to PS it shows the mismatch dialogue box: Embedded Adobe RGB 1998, Working: Monitor calibrated prof
-
Some TV shows that I purchased directly through my ATV are missing from my iTunes.
Where can I find them so I can sync on my phone?
-
How to group the values with this partition over clause ?
Hi, I have a nice request : select c.libelle "Activité", sum(b.duree) "Durée" from fiche a, activite_faite b, activites c, agent d where a.date_activite BETWEEN TO_DATE('20/09/2009', 'DD/MM/YYYY') AND TO_DATE('26/10/2009', 'DD/MM/YYYY')
-
CSS best practice / keepalives
We have a Cisco 11503 running 7.40.1.03 (standard feature set) that we are setting up as a load balancer for a new e-mail system. I had two previous threads - thanks to Gilles and the others who responded. The box is now more or less configured to do