Article - CS45250
Product Solution Installer (PSI) fails with error: "Apache failed to stop" in Windchill
Modified: 27-Mar-2025
Applies To
- Windchill PDMLink 10.0 to 13.0
- FlexPLM 10.1 to 13.0
Description
- Product Solution Installer (PSI) fails with error: Apache failed to stop even when Apache is not running
- PTCSOLRINSTALLER_PtcInstall.log :
Checking if web service is running...apache is not using HTTPS. checking URL connection to http://<server>:80 ...apache running at http://<server>:80 Apache failed to stop. Installation is Aborting. The installation cannot continue. Apache failed to stop.: com.ptc.windchill.install.psi.InstallCommandException
- PSI fails at 54% with error below:
Starting Apache. DEBUG getWebserverPort: Getting apache port value from WC.wt.webserver.port. DEBUG WC.wt.webserver.port is not set. Falling to WC_PROMPTED.ig.serverAndServletSettings.webServerHttpPort for apache port value. DEBUG - Checking if web service is running... DEBUG - checking URL connection to http://XXX.XXX.XXX:80 ... DEBUG - Exception while attempting to connect (web service may simply not be running) java.net.ConnectException: Connection refused: getsockopt at sun.nio.ch.Net.pollConnect(Native Method) ~[?:?] at sun.nio.ch.Net.pollConnectNow(Net.java:672) ~[?:?] at sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:547) ~[?:?] at sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602) ~[?:?] at java.net.Socket.connect(Socket.java:633) ~[?:?] at sun.net.NetworkClient.doConnect(NetworkClient.java:178) ~[?:?] at sun.net.www.http.HttpClient.openServer(HttpClient.java:533) ~[?:?] at sun.net.www.http.HttpClient.openServer(HttpClient.java:638) ~[?:?] at sun.net.www.http.HttpClient.<init>(HttpClient.java:281) ~[?:?] at sun.net.www.http.HttpClient.New(HttpClient.java:386) ~[?:?] at sun.net.www.http.HttpClient.New(HttpClient.java:408) ~[?:?] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1309) ~[?:?] at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1242) ~[?:?] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1128) ~[?:?] at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:1057) ~[?:?] at com.ptc.windchill.install.suite.runnables.AbstractWebService.attemptConnect(AbstractWebService.java:229) ~[Execute.zip:?] at com.ptc.windchill.install.suite.runnables.AbstractWebService.isRunning(AbstractWebService.java:202) [Execute.zip:?] at com.ptc.windchill.install.suite.runnables.AbstractWebService.start(AbstractWebService.java:296) [Execute.zip:?] at com.ptc.windchill.install.suite.WindchillLoaderManagerImpl.startApache(WindchillLoaderManagerImpl.java:761) [Execute.zip:?] at com.ptc.windchill.install.suite.WindchillLoaderManagerImpl.loadSubinstallerData(WindchillLoaderManagerImpl.java:262) [Execute.zip:?] at com.ptc.windchill.install.suite.WindchillLoaderManagerImpl.process(WindchillLoaderManagerImpl.java:143) [Execute.zip:?] at com.ptc.windchill.install.suite.WindchillLoaderManager.process(WindchillLoaderManager.java:40) [Execute.zip:?] at com.ptc.windchill.install.framework.InstallAction.run(InstallAction.java:512) [Execute.zip:?] at com.ptc.windchill.install.framework.InstallAction.install(InstallAction.java:330) [Execute.zip:?] at com.zerog.ia.installer.actions.CustomAction.installSelf(Unknown Source) [IAClasses.zip:?] at com.zerog.ia.installer.InstallablePiece.install(Unknown Source) [IAClasses.zip:?] at com.zerog.ia.installer.InstallablePiece.install(Unknown Source) [IAClasses.zip:?] at com.zerog.ia.installer.InstallablePiece.install(Unknown Source) [IAClasses.zip:?] at com.zerog.ia.installer.InstallablePiece.install(Unknown Source) [IAClasses.zip:?] at com.zerog.ia.installer.GhostDirectory.install(Unknown Source) [IAClasses.zip:?] at com.zerog.ia.installer.InstallablePiece.install(Unknown Source) [IAClasses.zip:?] at com.zerog.ia.installer.Installer.install(Unknown Source) [IAClasses.zip:?] at com.zerog.ia.installer.actions.InstallProgressAction.ae(Unknown Source) [IAClasses.zip:?] at com.zerog.ia.installer.actions.ProgressPanelAction$1.run(Unknown Source) [IAClasses.zip:?] DEBUG - apache appears to be down. Starting it... DEBUG - Executing: cmd.exe /C set SystemRoot DEBUG - Executing: cmd.exe /C set SystemRoot DEBUG - Starting Apache with: C:\Windows\system32\cmd.exe /C start "Apache C:\ptc\Windchill_13.0\HTTPServer" /MIN C:\Windows\system32\cmd.exe /C C:\ptc\Windchill_13.0\HTTPServer\bin\httpd.exe -f C:\ptc\Windchill_13.0\HTTPServer\conf\httpd.conf DEBUG - Executing: C:\Windows\system32\cmd.exe /C start Apache C:\ptc\Windchill_13.0\HTTPServer /MIN C:\Windows\system32\cmd.exe /C C:\ptc\Windchill_13.0\HTTPServer\bin\httpd.exe -f C:\ptc\Windchill_13.0\HTTPServer\conf\httpd.conf DEBUG - Post-startup connection check timed out. DEBUG - com.ptc.windchill.install.psi.InstallCommandException DEBUG - at com.ptc.windchill.install.suite.runnables.AbstractWebService.start(AbstractWebService.java:300) DEBUG - at com.ptc.windchill.install.suite.WindchillLoaderManagerImpl.startApache(WindchillLoaderManagerImpl.java:761) DEBUG - at com.ptc.windchill.install.suite.WindchillLoaderManagerImpl.loadSubinstallerData(WindchillLoaderManagerImpl.java:262) DEBUG - at com.ptc.windchill.install.suite.WindchillLoaderManagerImpl.process(WindchillLoaderManagerImpl.java:143) DEBUG - at com.ptc.windchill.install.suite.WindchillLoaderManager.process(WindchillLoaderManager.java:40)
This is a printer-friendly version of Article 45250 and may be out of date. For the latest version click CS45250