cancel
Showing results for 
Search instead for 
Did you mean: 

sapinst will not run - no control.xml file

Former Member
0 Kudos

Hello

I am starting an install of Solution Manager on a Windows 2008 R2 Standard server.

When I run sapinst.exe (unpacked from SAPINST7202_0-10009474.SAR) I get the error "The startup file specified by SAPINST_CONTROL_URL "C:/Temp/control.xml" doesn't exist. Check the value and start again."

Is sapinst supposed to create a control.xml file? The file is not being created. The Program Starter log shows this:


Program is starting... Please wait!


Starting GUIServer using:
  SAPinst port  : 21200
  GUIServer port: 21212
  HTTP port     : 4239
  GUI autostart : on
  GUI mode      : normal

  command       : "C:/Users/A32635/AppData/Local/Temp/2/sapinst_exe.2664.1305281210/jre\bin\java.exe" -cp "C:\Users\A32635\AppData\Local\Temp\2\sapinst_exe.2664.1305281210\jar\instgui.jar" -Xmx256M -Dsun.java2d.noddraw=true -Dsap.env.var.javahome=SAPINST_JRE_HOME SDTServer "rootdir=C:\Users\A32635\.sdtgui" config=jar:sdtserver.xml guiport=21212 httpport=4239 -nolock -srvarg=/SAPinstService/host=127.0.0.1 -srvarg=/SAPinstService/port=21200

MessageLib: ERROR: unable to open URL 'file://C:/Temp/messages.xml'
The startup file specified by SAPINST_CONTROL_URL "C:/Temp/control.xml" doesn't exist. Check the value and start again.

As a test I created this file by hand (as an empty file). Now when I run sapinst I get this error:


Error while connecting to communication partner - see preceding messages. 
Could not connect to host localhost on port 21212. 
java.net.ConnectException: Connection refused: connect 
java.net.ConnectException: Connection refused: connect

I assume the control.xml (and messages.xml) file should be created by running sapinst itself? Is that correct? When I run sapinst.exe with no control.exe file the file dev_sap_kernel gets created in C:\Temp (which is where I am running sapinst from) so it seems I have the correct write permissions for the folder.

Can anyone suggest what may be wrong?

Thanks, Chris

Edited by: Chris Hoggarth on May 13, 2011 1:24 PM

Edited by: Chris Hoggarth on May 13, 2011 4:46 PM

Accepted Solutions (1)

Accepted Solutions (1)

markus_doehr2
Active Contributor
0 Kudos

> I am starting an install of Solution Manager on a Windows 2008 R2 Standard server.

>

> When I run sapinst.exe (unpacked from SAPINST7202_0-10009474.SAR) I get the error "The startup file specified by SAPINST_CONTROL_URL "C:/Temp/control.xml" doesn't exist. Check the value and start again."

This is just the sapinst patch, it contains no installation source.

You have to use the installation master for Solution Manager DVD to install.

Markus

Answers (7)

Answers (7)

Former Member
0 Kudos

Thanks Markus - I'd finally had realised that. I should have updated this thread.

Thanks for the replies though

Former Member
0 Kudos

hi Chris, how did you solve the problem?

we are getting the following error message:

thanks Chris

Former Member
0 Kudos

Please see correct reply from Markus above

former_member183733
Active Participant
0 Kudos

Hi,

I had the same issue. After stopping the local firewall i was able to proceed by restarting sapinst.exe again.

Regards

Steffen

Former Member
0 Kudos

Jansi - It's a 64 bit server

Former Member
0 Kudos

SM - Its doesn't seem to be that. I still get this problem after I reboot the server & start sapinst straight away.

I wonder if the 21212 message is a red herring anyway. When I close the sapinst window the Program Starter window appears saying (amoong other things) "MessageLib: ERROR: error: no DTD specified, can't validate entity= in line 1, 1". This is the first error reported there.

The xml file begins with this:


<?xml version="1.0" encoding="iso-8859-1"?>

<!DOCTYPE installation SYSTEM "control.dtd">
<installation version="712" changelist="64092">

There is no control.dtd file on my server. Again how does this get created? Do I need to find one on the SAP site & use that? (I've looked in Notes & the Download Software Center & nothing there.)

It seems strange that I needed to get hold of a copy of control.xml & now maybe control.dtd as this is not mentioned in the documentation. Is this to be expected? Does this indicate that there's a problem with the sapinst.exe I'm running?

Thanks, Chris

Former Member
0 Kudos

Hi

I am looking this type of error first time,

how ever check the thread [|]

Are you trying to install solman in 32 bit server?

Thanks,

Jansi

Former Member
0 Kudos

Thanks for the replies

SM - I deleted c:\Program files\sapinst_instdir. I also created a new directory & ran sapinst from there - but I get the same problem.

Am I right that running sapinst should create the file control.xml?

Jansi - I've looked at that note but I'm not sure this is exactly the same issue.

I'm not getting a message about DIR_EXECUTABLE & DIR_CT_RUN - I assume these are environment variables.

I am in any case trying to find the suggested zip file (it doesn't appear to be part of that note)

I have tried using the control.xml from the control.zip file on that note which seems valid. I then get the same error about "Could not connect to host localhost on port 21212".

This implies to me that something should be running on that port on the server itself (localhost:21212). Is that

correct? Does something need starting on that port before I can progress? Nothing seems to be already running on that port - netstat -a doesn't show anything using 21212 until I run sapinst. Then I get this


TCP    [::]:21212             SSMDCA001:0            LISTENING

Is this expected? I've amended the local host file to include this below but I'm clutching at straws now


127.0.0.1       localhost
::1             localhost

Thanks, Chris

Former Member
0 Kudos

If you get this error: Could not connect to host localhost on port 21212, probably there might be an sapinst in the taskbar which is still runing.

So make sure there is no SAPINST in taskbar and also no process in the task manager--> process, then restart SAPINST.

I assume that you are using Admin account for installing Solman.

Thanks

SM

Former Member
0 Kudos

My advice is to delete the sapinst_dir and restart SAPINST, this will recreate the directory and TEMP permissions are automatically when you use a Admin user.

Thanks

SM

Former Member
0 Kudos

Hi

have you checked the sap note [Note 1249469 - SAP NetWeaver Based On Kernel 7.11: Windows|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1249469]

under the section of

-----------------------<D034879, 28/SEP/07>--------------------------
Heterogeneous installation: sapcontrol not found dir DIR_EXECUTABLE and
DIR_CT_RUN

Thanks,

Jansi