LOGIN  |  REGISTER
Smart Living Made Brilliant!
CASTLEOS FORUM

HomeGeneral Support

The general support forum topic for CastleOS - ask questions, get help, and more

Installer stops at 95% Messages in this topic - RSS

Scott Goffman
Scott Goffman
Posts: 111


9/6/2014
Scott Goffman
Scott Goffman
Posts: 111
Hi, trying to do a first-time install of CastleOS Core Service 1.1.1801, and it hangs with the progress bar at around 95%.


The error log indicates that Castle OS wants to use the default port 80 for its web server, but that port is in use. Is this what's causing the failure?


-Scott

<error timestamp="9/6/2014 1:27:33 PM">

<note>Unable to start the Unsecured web service service host.</note>
<data>System.Collections.ListDictionaryInternal</data>
<message>HTTP could not register URL http://+:80/CastleOS/service2/ because TCP port 80 is being used by another application.</message>
<innerException>System.Net.HttpListenerException (0x80004005): The process cannot access the file because it is being used by another process
at System.Net.HttpListener.AddAllPrefixes()
at System.Net.HttpListener.Start()
at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()</innerException>
<source>System.ServiceModel</source>
<stackTrace> at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
at System.ServiceModel.Channels.HttpChannelListener.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at s.OnStart(String[] args)</stackTrace>
<targetSite>Void OnOpen()</targetSite>
</error>
0 link
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3390


9/6/2014
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3390
Hi Scott, when this happens it indicates there is a conflict with another piece of software already installed on the computer. It blocks the ability for CastleOS to open a network port, 80, preventing the service from starting and the install from finishing. Do you know of anything that may be doing that? What version of Windows are you running?

Thanks,
Chris
edited by ccicchitelli on 9/6/2014
0 link
Scott Goffman
Scott Goffman
Posts: 111


9/6/2014
Scott Goffman
Scott Goffman
Posts: 111
Well, sure, It's my primary server, it's running all kinds of web services, including Apache on port 80. Can CastleOS's web server port(s) only be changed after installation, not before?
0 link
Scott Goffman
Scott Goffman
Posts: 111


9/6/2014
Scott Goffman
Scott Goffman
Posts: 111
Shutting down Apache during the install worked. After install, I removed port 80 from UltiDev's web app.

EDIT: Some additional info for anyone else who runs into this:
UltiDev always listens on Port 80, and is happy to share that port with other programs. Apache, on the other hand, does not like to share, and if it detects anything else on that port it will fail to start up. So to make this work, you'll have to move Apache to another port by changing the "Listen" value in \apache\conf\httpd.conf.
edited by sgoffman on 9/7/2014
0 link
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3390


9/8/2014
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3390
Hey Scott, thanks for your updates. There are actually three listeners in CastleOS on port 80, the UltiDev may not have been the one actually blocking the install. That might have been the other two, which are the internal web services for the CastleOS app.

All of them share the port with other apps, the web services are looking for :80/CastleOS.. Apache apparently does not, and in addition, we've found Skype on Windows 8 doesn't either, which is unfortunate since it comes with most Windows 8 powered computers. For those that may have this issue on Win8+, please manually close the Skype task and WWAHost.exe, which powers the web connections for Skype and other modern apps. Once CastleOS is installed, everything should work normally, including Skype, based on our testing so far.
0 link
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3390


9/8/2014
Chris Cicchitelli
Chris Cicchitelli
Administrator
Posts: 3390
Now that I wrote that, I'm pretty sure it wasn't UltiDev blocking the install from finishing, as it will automatically exclude port 80 if there is a conflict. The other two look for 80/CastleOS, which should be no issue with other apps, but not everyone designed their software to play nice with others smile
0 link