cancel
Showing results for 
Search instead for 
Did you mean: 

CRM 7 EHP3 sps4 installation - Could not connect to port 4240

Former Member
0 Kudos

Hi Experts!

This is the first time that I use SUM (version 1.0 patch 11). I want set SPS4 on CRM 7.0 EHP3.

In step 5.2 Extraction I getting error:

Unable to execute the SDT request ABAP operation extract on hostname <hostname> instance <N>

Extraction of the ABAP upgrade request ABAP has failed

Error from unit observer

Tool connector failed with .

Connection to SAPup could not be established, see following messages.

Could not connect to host sap-petrov on port 4240.

java.net.ConnectException: Connection refused: connect

java.net.ConnectException: Connection refused: connect

The trace file \sdt\trc\Detect.trc has many errors like:

Jul 17, 2014 9:04:41 AM [Error]:

com.sap.sdt.sapup.rapi.connector.R3upConnector [Thread[ABAP-3,5,main]]:

Could not connect to <hostname>:4240. Could not connect to host <hostname> on port

4240.

java.net.ConnectException: Connection refused: connect

java.net.ConnectException: Connection refused: connect

Last kernel installed, but it did not help.

How to proceed in this case?

Thanks

Ilgizar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

UP!

An interesting fact is that after the error SAPup continues to run when you press NEXT. Connection to port 4240 is perfectly functioning!

Answers (4)

Answers (4)

former_member182657
Active Contributor
0 Kudos

Hi,

If possible share host entries from the hosts file and confirm there should not be any virtual host entries.

Regards,

Gaurav

Former Member
0 Kudos

Hi Gaurav,

In this file, there is no suspicious entries, except perhaps

127.0.0.1       localhost

Other records describe some servers around.

Best regards,

Ilgizar

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Rizaev,

Please share Detect.trc file.

Divyanshu

divyanshu_srivastava3
Active Contributor
0 Kudos

Also, please share STDServer.log and server.trc files.

Did you try opening STARTUP.BAT by right clicking and then clicking OPEN ?

If not, then try. I read some where then it uses port 4239


Divyanshu

Former Member
0 Kudos

Hi Divyanshu,

1. This is file DETECT.trc (I'm using command STARTUP.BAT guiport=4250 httpport=4255 - Please note that I do not want to use port 4240!)

<!--NAME[C:\\usr\\sap\\CRN\\SUM\\sdt\\trc\\DETECT.TRC]/-->
<!--PATTERN[DETECT.TRC]/-->
<!--FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%s]: %-100l [%t]: %m)]/-->
<!--ENCODING[UTF8]/-->
<!--LOGHEADER[END]/-->
Jul 18, 2014 9:30:24 AM [Error]:                                                                    com.sap.sdt.dmt.DMTFactoryManager [Thread[main,5,main]]: Property file dmt.properties not found in class path
Jul 18, 2014 9:30:25 AM [Error]:                                                                  com.sap.sdt.jspm.JspmFactoryManager [Thread[main,5,main]]: Property file jspm.properties not found in class path
Jul 18, 2014 9:30:25 AM [Error]:                                                                    com.sap.sdt.dmt.DMTFactoryManager [Thread[main,5,main]]: Property file dmt.properties not found in class path
Jul 18, 2014 9:30:26 AM [Error]:                                                                  com.sap.sdt.jspm.JspmFactoryManager [Thread[main,5,main]]: Property file jspm.properties not found in class path
Jul 18, 2014 9:30:40 AM [Error]:                                                               com.sap.sdt.tools.var.XMLFileConverter [Thread[main,5,main]]: File C:\usr\sap\CRN\SUM\sdt\config\.\JUP.J2EE.xml does not exist.
Jul 18, 2014 9:33:02 AM [Error]:                                                               com.sap.sdt.dsu.ui.SDTCommonGUIManager [Thread[ProcessWorker,5,main]]: The common ui roadmap id is: welcome
Jul 18, 2014 9:33:05 AM [Error]:                                                               com.sap.sdt.dsu.ui.SDTCommonGUIManager [Thread[ProcessWorker,5,main]]: The common ui roadmap id is: input-credentials
Jul 18, 2014 9:33:18 AM [Error]:                                                               com.sap.sdt.dsu.ui.SDTCommonGUIManager [Thread[ProcessWorker,5,main]]: The common ui roadmap id is: define-target
Jul 18, 2014 9:34:03 AM [Error]:                                                               com.sap.sdt.dsu.ui.SDTCommonGUIManager [Thread[ProcessWorker,5,main]]: The common ui roadmap id is: confirm-target
Jul 18, 2014 9:34:20 AM [Error]:                                                     com.sap.sdt.lup.ctrl.req.SDTRequestStatusManager [Thread[ABAP-1,5,main]]: Observer com.sap.sdt.exec.SDTRequestObserverList method statusChanged invocation has failed due to java.lang.NullPointerException while trying to invoke the method com.sap.sdt.dsu.ui.DSUViewManagerIF.setReenterButtonEnabled(bool) of a null object loaded from local variable 'viewManager'
Jul 18, 2014 9:34:20 AM [Error]:                                                     com.sap.sdt.lup.ctrl.req.SDTRequestStatusManager [Thread[ABAP-1,5,main]]:
Jul 18, 2014 9:34:20 AM [Error]:                                                     com.sap.sdt.lup.ctrl.req.SDTRequestStatusManager [Thread[ABAP-1,5,main]]: java.lang.NullPointerException: while trying to invoke the method com.sap.sdt.dsu.ui.DSUViewManagerIF.setReenterButtonEnabled(bool) of a null object loaded from local variable 'viewManager'
Jul 18, 2014 9:34:20 AM [Error]:                                                     com.sap.sdt.lup.ctrl.req.SDTRequestStatusManager [Thread[ABAP-1,5,main]]:
Jul 18, 2014 9:34:23 AM [Error]:                                                       com.sap.sdt.sapup.rapi.connector.R3upConnector [Thread[ABAP-3,5,main]]: Could not connect to sap-petrov:4240. Could not connect to host sap-petrov on port 4240.
java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect

Jul 18, 2014 9:34:26 AM [Error]:                                                       com.sap.sdt.sapup.rapi.connector.R3upConnector [Thread[ABAP-3,5,main]]: Could not connect to sap-petrov:4240. Could not connect to host sap-petrov on port 4240.
java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect

Jul 18, 2014 9:34:28 AM [Error]:                                                       com.sap.sdt.sapup.rapi.connector.R3upConnector [Thread[ABAP-3,5,main]]: Could not connect to sap-petrov:4240. Could not connect to host sap-petrov on port 4240.
java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect

Jul 18, 2014 9:34:30 AM [Error]:                                                       com.sap.sdt.sapup.rapi.connector.R3upConnector [Thread[ABAP-3,5,main]]: Could not connect to sap-petrov:4240. Could not connect to host sap-petrov on port 4240.
java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect

Jul 18, 2014 9:34:31 AM [Error]:                                                       com.sap.sdt.sapup.rapi.connector.R3upConnector [Thread[ABAP-3,5,main]]: Could not connect to sap-petrov:4240. Could not connect to host sap-petrov on port 4240.
java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect

Jul 18, 2014 9:34:33 AM [Error]:                                                       com.sap.sdt.sapup.rapi.connector.R3upConnector [Thread[ABAP-3,5,main]]: Could not connect to sap-petrov:4240. Could not connect to host sap-petrov on port 4240.
java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect

Jul 18, 2014 9:34:35 AM [Error]:                                                       com.sap.sdt.sapup.rapi.connector.R3upConnector [Thread[ABAP-3,5,main]]: Could not connect to sap-petrov:4240. Could not connect to host sap-petrov on port 4240.
java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect

Jul 18, 2014 9:34:36 AM [Error]:                                                       com.sap.sdt.sapup.rapi.connector.R3upConnector [Thread[ABAP-3,5,main]]: Could not connect to sap-petrov:4240. Could not connect to host sap-petrov on port 4240.
java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect

Jul 18, 2014 9:34:36 AM [Error]:                   com.sap.sdt.util.net.ConnectFailedException.<init>(ConnectFailedException.java:34) [Thread[ABAP-3,5,main]]: java.net.ConnectException: Connection refused: connect
Jul 18, 2014 9:34:36 AM [Error]:                                                              com.sap.sdt.lup.ctrl.SDTRequestExecutor [Thread[ABAP-3,5,main]]:
Jul 18, 2014 9:34:36 AM [Error]:                  com.sap.sdt.util.net.AbstractSocketCommLink.connect(AbstractSocketCommLink.java:67) [Thread[ABAP-3,5,main]]: Could not connect to host sap-petrov on port 4240.
Jul 18, 2014 9:34:36 AM [Error]:      com.sap.sdt.sltool.rapi.connector.AbstractToolConnector.connect(AbstractToolConnector.java:801) [Thread[ABAP-3,5,main]]: Connection to SAPup could not be established, see following messages.
Jul 18, 2014 9:34:37 AM [Error]:       com.sap.sdt.server.ext.r3up.unit.R3upUnitObserver.ensureRunningTool(R3upUnitObserver.java:606) [Thread[ABAP-3,5,main]]: Tool connector failed with .
Jul 18, 2014 9:34:37 AM [Error]:            com.sap.sdt.dsu.abap.handler.SAPupUnitExecutor.initializeUnit(SAPupUnitExecutor.java:240) [Thread[ABAP-3,5,main]]: Error from unit observer
Jul 18, 2014 9:34:37 AM [Error]:   com.sap.sdt.dsu.abap.handler.AbapUpgradeRequestHandler.extract(AbapUpgradeRequestHandler.java:309) [Thread[ABAP-3,5,main]]: Extraction of the ABAP upgrade request ABAP has failed
Jul 18, 2014 9:34:37 AM [Error]:                    com.sap.sdt.lup.ctrl.SDTRequestExecutor.invokeMethod(SDTRequestExecutor.java:253) [Thread[ABAP-3,5,main]]: Unable to execute the SDT request ABAP operation extract on hostname sap-petrov instance 04

2. This is output of SDTServer.txt in \sum\sdt\log directory:

<!--LOGHEADER[START]/-->

<!--HELP[Manual modification of the header may cause parsing problem!]/-->

<!--LOGGINGVERSION[2.0.7.1006]/-->

<!--NAME[C:\usr\sap\CRN\SUM\sdt\log\SDTServer.log]/-->

<!--PATTERN[SDTServer.log]/-->

<!--FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%s]: %m)]/-->

<!--ENCODING[UTF8]/-->

<!--LOGHEADER[END]/-->

Jul 18, 2014 9:30:18 AM [Info]: *************************************************

Jul 18, 2014 9:30:18 AM [Info]: Starting SL Controller listening on port 4250 ...

Jul 18, 2014 9:30:18 AM [Info]: Starting StorageService ...

Jul 18, 2014 9:30:18 AM [Info]: Initializing SecurityManager ...

Jul 18, 2014 9:30:20 AM [Info]: Server certificate fingerprint is AB 20 7B EA C5 F5 41 CB 0C D1 D6 C3 3B CE 24 33

Jul 18, 2014 9:30:20 AM [Info]: Configuring HTTPManager ...

Jul 18, 2014 9:30:20 AM [Info]: Starting WebstartService ...

Jul 18, 2014 9:30:20 AM [Info]: Starting RoleService ...

Jul 18, 2014 9:30:20 AM [Info]: Starting AlertService ...

Jul 18, 2014 9:30:20 AM [Info]: Starting NotesService ...

Jul 18, 2014 9:30:20 AM [Info]: Starting ProcessService ...

Jul 18, 2014 9:30:20 AM [Info]: Starting MIDService ...

Jul 18, 2014 9:30:20 AM [Info]: Starting FileService ...

Jul 18, 2014 9:30:20 AM [Info]: LogService switched off.

Jul 18, 2014 9:30:20 AM [Info]: Starting MailService ...

Jul 18, 2014 9:30:20 AM [Info]: Starting services ...

Jul 18, 2014 9:30:20 AM [Info]: Starting service "UseCaseService" ...

Jul 18, 2014 9:30:21 AM [Info]: Starting MIDService ...

Jul 18, 2014 9:30:40 AM [Info]: Service "UseCaseService" started

Jul 18, 2014 9:30:40 AM [Info]: Services started.

Jul 18, 2014 9:30:40 AM [Info]: Starting HTTP server listening on port 4255 ...

Jul 18, 2014 9:30:40 AM [Info]: HTTP server started.

Jul 18, 2014 9:30:40 AM [Info]: SL Controller started.

3. File server.trc not found, but found server.err in sdt\log directory:

ERROR:  'com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: C:\usr\sap\CRN\SUM\sdt\log\SUM\MissingArchives.xml (The system cannot find the file specified)'

But file MissingArchives.xml not found...

4. "Did you try opening STARTUP.BAT by right clicking and then clicking OPEN ?

If not, then try. I read some where then it uses port 4239" - That's what I do not understand

Best regards,

Ilgizar

former_member185239
Active Contributor
0 Kudos

Hi Rizaev,

Run the below command

DSUService.bat guiport=4250 httpport=4255 and you will get the below output.

. This is output of SDTServer.txt in \sum\sdt\log directory is correct

<!--LOGHEADER[START]/-->

<!--HELP[Manual modification of the header may cause parsing problem!]/-->

<!--LOGGINGVERSION[2.0.7.1006]/-->

<!--NAME[C:\usr\sap\CRN\SUM\sdt\log\SDTServer.log]/-->

<!--PATTERN[SDTServer.log]/-->

<!--FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%s]: %m)]/-->

<!--ENCODING[UTF8]/-->

<!--LOGHEADER[END]/-->

Jul 18, 2014 9:30:18 AM [Info]: *************************************************

Jul 18, 2014 9:30:18 AM [Info]: Starting SL Controller listening on port 4250 ...

Jul 18, 2014 9:30:18 AM [Info]: Starting StorageService ...

Jul 18, 2014 9:30:18 AM [Info]: Initializing SecurityManager ...

Jul 18, 2014 9:30:20 AM [Info]: Server certificate fingerprint is AB 20 7B EA C5 F5 41 CB 0C D1 D6 C3 3B CE 24 33

Jul 18, 2014 9:30:20 AM [Info]: Configuring HTTPManager ...

Jul 18, 2014 9:30:20 AM [Info]: Starting WebstartService ...

Jul 18, 2014 9:30:20 AM [Info]: Starting RoleService ...

Jul 18, 2014 9:30:20 AM [Info]: Starting AlertService ...

Jul 18, 2014 9:30:20 AM [Info]: Starting NotesService ...

Jul 18, 2014 9:30:20 AM [Info]: Starting ProcessService ...

Jul 18, 2014 9:30:20 AM [Info]: Starting MIDService ...

Jul 18, 2014 9:30:20 AM [Info]: Starting FileService ...

Jul 18, 2014 9:30:20 AM [Info]: LogService switched off.

Jul 18, 2014 9:30:20 AM [Info]: Starting MailService ...

Jul 18, 2014 9:30:20 AM [Info]: Starting services ...

Jul 18, 2014 9:30:20 AM [Info]: Starting service "UseCaseService" ...

Jul 18, 2014 9:30:21 AM [Info]: Starting MIDService ...

Jul 18, 2014 9:30:40 AM [Info]: Service "UseCaseService" started

Jul 18, 2014 9:30:40 AM [Info]: Services started.

Jul 18, 2014 9:30:40 AM [Info]: Starting HTTP server listening on port 4255 ...

Jul 18, 2014 9:30:40 AM [Info]: HTTP server started.

Jul 18, 2014 9:30:40 AM [Info]: SL Controller started.

now goto the directory ../sdt/exe/ and click on DSUGui.bat file.

and enter the SL controller listening port 4255 instead of 4240 and it will get connected.

With Regards

Ashutosh

Former Member
0 Kudos

It did not help.

Still continues to report about the error "Could not connect to host sap-petrov on port 4240"

former_member185239
Active Contributor
0 Kudos

Hi Rizaev,

Kindly paste the screen shot of the below command output

1. DSUService.bat guiport=4250 httpport=4255


2. double click on DSUGui.bat and paste the screenshot


With Regards

Ashutosh Chaturvedi



Former Member
0 Kudos

1. Because DSUService.bat don't start directly I'm use STARTUP.BAT

this is output DSUService.bat "guiport=4250" "httpport=4255"

2. Output after double click in DSUGui.bat

Best regards

Ilgizar

former_member185239
Active Contributor
0 Kudos

Hi Rizaev,

In port number it is showing 4241. in that place put 4250.

Click on connect.

Paste the screenshot.

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Hi Ashutosh,

If put port 4250 and I got the sequence of steps:

1. Admin account input

2. System

3. User credits input

4. stack_cisi.xml input

5.  Keyword input

6.Initialization

10. Error in step 5.2

Still uses port 4240!

Best regards

Ilgizar

former_member185239
Active Contributor
0 Kudos

Hi Rizaev,

1. telnet <hostname> 4240 (Paste the output)

2. netstat -bo|findstr 4240 (Paste the output)

Is it possible to take a reboot of the server.also mentioned the SUM version and patch.

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Hi Ashutosh,

1.  telnet sap-petrov 4240

          49{ TYPE Version TEXT "SAPup Protocol Version 2.0"}         476<SAPup

type="configuration" reply="yes"><feature name="dialogue"/><feature name="handle

error"/><feature name="dialoghelp"/><feature name="html"/><feature name="console

"/><feature name="progress"/><feature name="unitcontrol"/><feature name="unitsta

tus"/><feature name="actions"/><feature name="remotecontrol"/><feature name="syn

chronization"/><feature name="mid"/><feature name="exit"/><feature name="evaluat

ion"/><feature name="newhttpsrv"/><feature name="slpserver"/></SAPup>

2.

C:\usr\sap\CRN\SUM>netstat -b -o | find "4240"

C:\usr\sap\CRN\SUM>netstat -b -o | find "4250"
  TCP    127.0.0.1:4250         SAP-Petrov:52059       ESTABLISHED     12808
  TCP    127.0.0.1:52059        SAP-Petrov:4250        ESTABLISHED     6272

3.

Software Update Manager Version: 1.0

Support Package Version: 11

Patch Level: 0

4. I can only tonight reboot the server

Best regards

Ilgizar

former_member185239
Active Contributor
0 Kudos

Hi Rizaev,

1. Logoff from the system(since you have logon with sidadm)

2. Download the SUM SP10 patch 9 and give a try.

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Hi Ashutosh,

I did these actions but did not help

Best regards

Ilgizar

Former Member
0 Kudos

Hi Divyanshu,

I don't know how this will help but using  SUM SP10 patch 9 obtained such data in the file DETECT.trc  (different from the previously obtained):

<!--LOGHEADER[START]/-->
<!--HELP[Manual modification of the header may cause parsing problem!]/-->
<!--LOGGINGVERSION[2.0.7.1006]/-->
<!--NAME[C:\\usr\\sap\\CRN\\SUM\\sdt\\trc\\DETECT.TRC]/-->
<!--PATTERN[DETECT.TRC]/-->
<!--FORMATTER[com.sap.tc.logging.TraceFormatter(%d [%s]: %-100l [%t]: %m)]/-->
<!--ENCODING[UTF8]/-->
<!--LOGHEADER[END]/-->
Jul 18, 2014 2:45:58 PM [Error]:                                                                    com.sap.sdt.dmt.DMTFactoryManager [Thread[main,5,main]]: Property file dmt.properties not found in class path
Jul 18, 2014 2:46:00 PM [Error]:                                                                  com.sap.sdt.jspm.JspmFactoryManager [Thread[main,5,main]]: Property file jspm.properties not found in class path
Jul 18, 2014 2:46:00 PM [Error]:                                                                    com.sap.sdt.dmt.DMTFactoryManager [Thread[main,5,main]]: Property file dmt.properties not found in class path
Jul 18, 2014 2:46:01 PM [Error]:                                                                  com.sap.sdt.jspm.JspmFactoryManager [Thread[main,5,main]]: Property file jspm.properties not found in class path
Jul 18, 2014 2:50:55 PM [Error]:                                                               com.sap.sdt.dsu.ui.SDTCommonGUIManager [Thread[ProcessWorker,5,main]]: The common ui roadmap id is: welcome
Jul 18, 2014 2:50:59 PM [Error]:                                                               com.sap.sdt.dsu.ui.SDTCommonGUIManager [Thread[ProcessWorker,5,main]]: The common ui roadmap id is: input-credentials
Jul 18, 2014 2:51:14 PM [Error]:                                                               com.sap.sdt.dsu.ui.SDTCommonGUIManager [Thread[ProcessWorker,5,main]]: The common ui roadmap id is: define-target
Jul 18, 2014 2:51:34 PM [Error]:                                                               com.sap.sdt.dsu.ui.SDTCommonGUIManager [Thread[ProcessWorker,5,main]]: The common ui roadmap id is: confirm-target
Jul 18, 2014 2:51:54 PM [Error]:                                                     com.sap.sdt.lup.ctrl.req.SDTRequestStatusManager [Thread[ABAP-1,5,main]]: Observer com.sap.sdt.exec.SDTRequestObserverList method statusChanged invocation has failed due to java.lang.NullPointerException while trying to invoke the method com.sap.sdt.dsu.ui.DSUViewManagerIF.setReenterButtonEnabled(bool) of an object loaded from local variable 'viewManager'
Jul 18, 2014 2:51:54 PM [Error]:                                                     com.sap.sdt.lup.ctrl.req.SDTRequestStatusManager [Thread[ABAP-1,5,main]]: java.lang.NullPointerException: while trying to invoke the method com.sap.sdt.dsu.ui.DSUViewManagerIF.setReenterButtonEnabled(bool) of an object loaded from local variable 'viewManager'
at com.sap.sdt.dsu.service.controls.SDTExecutePerspective.setEnabledReenterPassoad(SDTExecutePerspective.java:407)
at com.sap.sdt.dsu.service.controls.SDTExecutePerspective.statusChanged(SDTExecutePerspective.java:351)
at com.sap.sdt.exec.SDTRequestObserverList.statusChanged(SDTRequestObserverList.java:90)
at com.sap.sdt.lup.ctrl.req.SDTRequestStatusManager.fireStatusChanged(SDTRequestStatusManager.java:168)
at com.sap.sdt.lup.ctrl.req.SDTRequestStatusManager.setStatus(SDTRequestStatusManager.java:125)
at com.sap.sdt.lup.ctrl.req.ExecutedSDTRequest.doSetStatus(ExecutedSDTRequest.java:234)
at com.sap.sdt.lup.ctrl.req.ExecutedSDTRequest.doSetStatus(ExecutedSDTRequest.java:168)
at com.sap.sdt.lup.ctrl.req.ExecutedSDTRequest.setRunning(ExecutedSDTRequest.java:257)
at com.sap.sdt.lup.ctrl.SDTRequestExecutor.invokeMethod(SDTRequestExecutor.java:206)
at com.sap.sdt.lup.ctrl.SDTRequestExecutor.run(SDTRequestExecutor.java:329)

Jul 18, 2014 2:51:57 PM [Error]:                                                       com.sap.sdt.sapup.rapi.connector.R3upConnector [Thread[ABAP-3,5,main]]: Could not connect to sap-petrov:4240. Could not connect to host sap-petrov on port 4240.
java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect

Jul 18, 2014 2:52:00 PM [Error]:                                                       com.sap.sdt.sapup.rapi.connector.R3upConnector [Thread[ABAP-3,5,main]]: Could not connect to sap-petrov:4240. Could not connect to host sap-petrov on port 4240.
java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect

Jul 18, 2014 2:52:01 PM [Error]:                                                       com.sap.sdt.sapup.rapi.connector.R3upConnector [Thread[ABAP-3,5,main]]: Could not connect to sap-petrov:4240. Could not connect to host sap-petrov on port 4240.
java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect

Jul 18, 2014 2:52:03 PM [Error]:                                                       com.sap.sdt.sapup.rapi.connector.R3upConnector [Thread[ABAP-3,5,main]]: Could not connect to sap-petrov:4240. Could not connect to host sap-petrov on port 4240.
java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect

Jul 18, 2014 2:52:05 PM [Error]:                                                       com.sap.sdt.sapup.rapi.connector.R3upConnector [Thread[ABAP-3,5,main]]: Could not connect to sap-petrov:4240. Could not connect to host sap-petrov on port 4240.
java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect

Jul 18, 2014 2:52:06 PM [Error]:                                                       com.sap.sdt.sapup.rapi.connector.R3upConnector [Thread[ABAP-3,5,main]]: Could not connect to sap-petrov:4240. Could not connect to host sap-petrov on port 4240.
java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect

Jul 18, 2014 2:52:08 PM [Error]:                                                       com.sap.sdt.sapup.rapi.connector.R3upConnector [Thread[ABAP-3,5,main]]: Could not connect to sap-petrov:4240. Could not connect to host sap-petrov on port 4240.
java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect

Jul 18, 2014 2:52:10 PM [Error]:                                                       com.sap.sdt.sapup.rapi.connector.R3upConnector [Thread[ABAP-3,5,main]]: Could not connect to sap-petrov:4240. Could not connect to host sap-petrov on port 4240.
java.net.ConnectException: Connection refused: connect
java.net.ConnectException: Connection refused: connect

Jul 18, 2014 2:52:10 PM [Error]:                   com.sap.sdt.util.net.ConnectFailedException.<init>(ConnectFailedException.java:34) [Thread[ABAP-3,5,main]]: java.net.ConnectException: Connection refused: connect
Jul 18, 2014 2:52:10 PM [Error]:                                                              com.sap.sdt.lup.ctrl.SDTRequestExecutor [Thread[ABAP-3,5,main]]: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:531)
at java.net.Socket.connect(Socket.java:478)
at java.net.Socket.<init>(Socket.java:375)
at java.net.Socket.<init>(Socket.java:189)
at com.sap.sdt.util.net.CommLinkFactory.createClientSocket(CommLinkFactory.java:145)
at com.sap.sdt.util.net.AbstractSocketCommLink.connect(AbstractSocketCommLink.java:63)
at com.sap.sdt.sltool.rapi.connector.AbstractToolConnector.connect(AbstractToolConnector.java:786)
at com.sap.sdt.sltool.rapi.connector.AbstractToolConnector.connectToolRetry(AbstractToolConnector.java:874)
at com.sap.sdt.sltool.rapi.connector.AbstractToolConnector.startTool(AbstractToolConnector.java:101)
at com.sap.sdt.sapup.rapi.connector.R3upConnector.startUpgrade(R3upConnector.java:236)
at com.sap.sdt.server.ext.r3up.unit.R3upUnitObserver.ensureRunningTool(R3upUnitObserver.java:600)
at com.sap.sdt.server.ext.r3up.unit.R3upUnitObserver.waitForToolStatus(R3upUnitObserver.java:546)
at com.sap.sdt.server.ext.r3up.unit.R3upUnitObserver.getSyncPoints(R3upUnitObserver.java:228)
at com.sap.sdt.dsu.abap.handler.SAPupUnitExecutor.handleSyncPoints(SAPupUnitExecutor.java:248)
at com.sap.sdt.dsu.abap.handler.SAPupUnitExecutor.initializeUnit(SAPupUnitExecutor.java:236)
at com.sap.sdt.dsu.abap.handler.AbapUpgradeRequestHandler.registerToolSyncPoints(AbapUpgradeRequestHandler.java:263)
at com.sap.sdt.dsu.abap.handler.AbapUpgradeRequestHandler.extract(AbapUpgradeRequestHandler.java:304)
at com.sap.sdt.lup.ctrl.handler.SDTRequestHandlerMethodInvocator.doOperation(SDTRequestHandlerMethodInvocator.java:147)
at com.sap.sdt.lup.ctrl.SDTRequestExecutor.invokeMethod(SDTRequestExecutor.java:225)
at com.sap.sdt.lup.ctrl.SDTRequestExecutor.run(SDTRequestExecutor.java:329)

Jul 18, 2014 2:52:10 PM [Error]:                  com.sap.sdt.util.net.AbstractSocketCommLink.connect(AbstractSocketCommLink.java:67) [Thread[ABAP-3,5,main]]: Could not connect to host sap-petrov on port 4240.
Jul 18, 2014 2:52:10 PM [Error]:      com.sap.sdt.sltool.rapi.connector.AbstractToolConnector.connect(AbstractToolConnector.java:805) [Thread[ABAP-3,5,main]]: Connection to SAPup could not be established, see following messages.
Jul 18, 2014 2:52:10 PM [Error]:       com.sap.sdt.server.ext.r3up.unit.R3upUnitObserver.ensureRunningTool(R3upUnitObserver.java:606) [Thread[ABAP-3,5,main]]: Tool connector failed with .
Jul 18, 2014 2:52:10 PM [Error]:            com.sap.sdt.dsu.abap.handler.SAPupUnitExecutor.initializeUnit(SAPupUnitExecutor.java:240) [Thread[ABAP-3,5,main]]: Error from unit observer
Jul 18, 2014 2:52:10 PM [Error]:   com.sap.sdt.dsu.abap.handler.AbapUpgradeRequestHandler.extract(AbapUpgradeRequestHandler.java:310) [Thread[ABAP-3,5,main]]: Extraction of the ABAP upgrade request ABAP has failed
Jul 18, 2014 2:52:10 PM [Error]:                    com.sap.sdt.lup.ctrl.SDTRequestExecutor.invokeMethod(SDTRequestExecutor.java:253) [Thread[ABAP-3,5,main]]: Unable to execute the SDT request ABAP operation extract on hostname sap-petrov instance 04

Best regards,

Ilgizar

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Rizaev,

Can you check your services file and look for these ports.

Are these assigned to some other service ?

If yes, them # them.

Regards,

Divyanshu

Former Member
0 Kudos

I'm  trying change the port number using STARTUP.BAT  httpport=4238 guiport=4236 -srvarg=/UseCaseService/abaptoolport=4234 but it don't helping : "Could not connect to host sap-petrov on port 4234."

In file "services" cannot find 4234,4236,4238,4239,4240,4241

Whether affected by the presence on this server another instance?

divyanshu_srivastava3
Active Contributor
0 Kudos

Refer this:

former_member185239
Active Contributor
0 Kudos

Hi Ilgizar,

Run the below command

netstat -tupan| grep 4240

Where are you facing the issue ? kindly paste the screenshot.

With Regards

Ashutosh

Former Member
0 Kudos

Hi Ashutosh,

The command netstat -tan | find "4240" show bellow (I'm using Windows):

Best regards,

Ilguizar

divyanshu_srivastava3
Active Contributor
0 Kudos

Can you check which host is this 78.138.138.141.

Whatever this session is, kill it.

Restart SL controller again

Divyanshu

Former Member
0 Kudos

It is same host  with SAP instance. This screenshot obtained when using SL. Before starting work, the same command netstate did nothing.

former_member185239
Active Contributor
0 Kudos

Hi Riz,

Run the below comamnd

netstat -bo | findstr 4240

You will get the process id  and check which process is using this.

or just start the SL controller with the below command

startup guiport=4250 httpport=4255

http://localhost:4255 (start the SUM tool)

share the output

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Hi Ashutosh,

I'm starting startup guiport=4250 httpport=4255, this is output:

1. netstat

Where red digits show: 0 - before, 1 after start SUM, 2 - after start SUM, 3- before, 4 and 5 - after error.

sap-petrov is host with ip 78.138.138.141

2. Task Manager

3. Error message from SUM:

Unfortunately, the error remained the same

Best regards

Ilgizar

former_member185239
Active Contributor
0 Kudos

Hi Rizaev,

Goto the directory /sdt/exe/DSUService.bat guiport=4250 httpport=4255.

Share the output.

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Hi Ashutosh,

This is output of command C:\usr\sap\CRN\SUM\sdt\exe\DSUService.bat "guiport=4250" "h

ttpport=4255" :

Jul 18, 2014 9:30:17 AM [Info]: *************************
Jul 18, 2014 9:30:17 AM [Info]: Starting Server
Jul 18, 2014 9:30:17 AM [Info]: Reading server configuration.
Jul 18, 2014 9:30:18 AM [Info]: Reading service configuration UseCaseService.
Jul 18, 2014 9:30:18 AM [Info]: Configuring LogManager ...
Jul 18, 2014 9:30:18 AM [Info]: ************************************************
*
Jul 18, 2014 9:30:18 AM [Info]: Starting SL Controller listening on port 4250 ..
.
Jul 18, 2014 9:30:18 AM [Info]: Starting StorageService ...
Jul 18, 2014 9:30:18 AM [Info]: Initializing SecurityManager ...
Jul 18, 2014 9:30:20 AM [Info]: Server certificate fingerprint is AB 20 7B EA C5
F5 41 CB 0C D1 D6 C3 3B CE 24 33
Jul 18, 2014 9:30:20 AM [Info]: Configuring HTTPManager ...
Jul 18, 2014 9:30:20 AM [Info]: Starting WebstartService ...
Jul 18, 2014 9:30:20 AM [Info]: Starting RoleService ...
Jul 18, 2014 9:30:20 AM [Info]: Starting AlertService ...
Jul 18, 2014 9:30:20 AM [Info]: Starting NotesService ...
Jul 18, 2014 9:30:20 AM [Info]: Starting ProcessService ...
Jul 18, 2014 9:30:20 AM [Info]: Starting MIDService ...
Jul 18, 2014 9:30:20 AM [Info]: Starting FileService ...
Jul 18, 2014 9:30:20 AM [Info]: LogService switched off.
Jul 18, 2014 9:30:20 AM [Info]: Starting MailService ...
Jul 18, 2014 9:30:20 AM [Info]: Starting services ...
Jul 18, 2014 9:30:20 AM [Info]: Starting service "UseCaseService" ...
Jul 18, 2014 9:30:21 AM [Info]: Starting MIDService ...
Jul 18, 2014 9:30:40 AM [Info]: Service "UseCaseService" started
Jul 18, 2014 9:30:40 AM [Info]: Services started.
Jul 18, 2014 9:30:40 AM [Info]: Starting HTTP server listening on port 4255 ...

Jul 18, 2014 9:30:40 AM [Info]: HTTP server started.
Jul 18, 2014 9:30:40 AM [Info]: SL Controller started.

Best regards,

Ilgizar


divyanshu_srivastava3
Active Contributor
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi Divyanshu,

Thanks for the quick reply.

I looked at those links, but not found there solution of my problem.

Telnet shows that port 4240 is running. The answer for telnet <hostname> 4240 is:

          49{ TYPE Version TEXT "SAPup Protocol Version 2.0"}         476<SAPup

type="configuration" reply="yes"><feature name="dialogue"/><feature name="handle

error"/><feature name="dialoghelp"/><feature name="html"/><feature name="console

"/><feature name="progress"/><feature name="unitcontrol"/><feature name="unitsta

tus"/><feature name="actions"/><feature name="remotecontrol"/><feature name="syn

chronization"/><feature name="mid"/><feature name="exit"/><feature name="evaluat

ion"/><feature name="newhttpsrv"/><feature name="slpserver"/></SAPup>

I had the same problem with a shorter path to upgrade directory.

Not entirely clear, which means "use virtual hostname"? I do not have a cluster,

only one physical server on which the instance and the database.

My OS/RDBMS combination is MS Windows 2008 64-bit/MS SQL Server 2008 R2.

What log and trace files do you recommend to see?

Best regards,

Ilguizar

divyanshu_srivastava3
Active Contributor
0 Kudos

Your system might be having a virtual name.

Also check that this port is not busy.

Divyanshu

Sriram2009
Active Contributor
0 Kudos

Hi

1. Just do the full restart and then try same phase

2. Is this any Antivirus software installed? Try to stop the antivirus software service and then try again

3. Refer the SAP Note 1979529 - SUM failed - could not connect to host on port 4240

Regards

SS

Former Member
0 Kudos

Hi Sriram,

1. I did it a few times

2. I'm stoping any antivirus in advance

3. Netsat before start SL-controller show that port 4240 is free

Best regards

Ilgizar