C3Fire

Installation Troubleshooting

From C3LearningLabs

Template:MenuHeadC3Fire Template:TOCright


Troubleshooting

Troubleshooting C3Fire Server

First, the system need to be installed on C:\ root, C:\C3LearningLabs\.

If you have problem starting the server you should use the C3FireServer.bat command to try starting the server, it generates some start information.

C:\C3LearningLabs\C3Fire\Server\C3FireServer.bat

When you have started the Server, and every thing works well two black command windows should have been started, one is the C3Fire Server and one is the Apache web server.

Server Start
C3Fire start up command window.

The C3Fire start up command window should end with C3Fire Server Running, The varning message text Unable to write uiDefaults and Exception in thread "AWT-EventQueue-0" is normal and not a problem. It appears when the windows system try to do a window update while the C3Fire window have not been totally constructed.


Server Start
Apache web server start up command window.

The Apache web server start up command window should look like this.


The C3Fire Server should also open the C3Fire Server user interface window. It should look like this.

C3Fire Server
C3Fire Server user interface window.

Send information to support
If some of the windows does not look like the three images above, then take a screen capture on the black command windows, and copy the process text in the C3Fire Server user interface window, and send it to support.



Troubleshooting Apache Server

The C3fire environment uses an apache http server to distribute basic startup information. The apache server uses standard port 80. A possible problem occur when the computers security system restrict the communication or does not allow the Apache server use the port 80.

The Apache server can not use port 80

If the Apache can not use port 80 on the C3Fire server computer an error message like this below will be shown.


Windows 10
Can not bind to port 80

To solve this problem you need to make sure to remove security restrictions and/or close the program that uses the port 80.



Detect what program that are using port 80

A good way to detect what program that are using port 80 is to use the program PowerShell if it exsit in you system or use the program CurrPort that is bounded in the C3Fire installation.

PowerShell
Start PowerShell by writing PowerShell in the windows search tool, Start PowerShell by pressing right mouse button, and select Run as Administrator.

C3fire-config-install-windows-search.png PowerShell

In the PowerShell detect what process that have bind the port 80. The process ID number can be found with the command:
netstat -ano | Select-String ":80"

Then take this process ID number and get the process name with the following command:
Get-Process -Id process_ID

Example to get process name for process with ID number 9348 write. Get-Process -Id 9348

PowerShell


CurrPort
CurrPort is locate in the folder C:\C3LearningLabs\Tools\CurrPorts\cports.exe
When you start the program it will show you a window like this.

Skype

In this example you can see that the process on row 1 is using port 80.
Process Name = Skype, Process ID = 9348, Local Port = 80.
Skype using port 80, see below how to reconfigure Skype.

System

In this example you can see that the process on row 1 is using port 80.
Process Name = System, Process ID = 4, Local Port = 80.
This is a little bit tricky, because we do only now that the process is a System process, and you should not stop system processes. See below on examples of system processes using port 80, and how to solve it.




Stop process using port 80

If you can not turn off a program or reconfigure it you can try to stop the program or service.
Start PowerShell by writing PowerShell in the windows search tool,
then start PowerShell by pressing right mouse button, and select Run as Administrator, see above.

To open Service management in power shell run services.msc
services.msc

To stop a process, in power shell run the Stop-Process command:
Example stop Skype: Stop-Process -name skype
Example stop process with number 780: Stop-Process 780




Skype bind port 80

Skype are some times configured to bind port 80. Skype works fine without using port 80.

Windows 7 and Windows 10
To release port 80 in window 7 version, in Skype open menu Tools -> Options -> Advansed -> Connection,
and uncheck selection box Use port 80 and 443. See image below.

Skype using port 80




New Installed windows 10

In some Windows 10 installations, Skype Businesses is automatically installed for trial purpose. Even if you install a new free Skype, this trial installation can be running, and can in some situations bind port 80. Here is an example picture of when two Skype are installed at the same time.
2 Skype




Windows Remote Management

Deep Water
If the computer are managed by a technical department they probably want to remote manage the computers. In some situations they can configure the system to bind port 80. For system administration people, the default port are 5985 but can be changed to 80. See 'EnableCompatibilityHttpListener' at:





System Process using port 80 - http.sys

Deep Water
On Windows 7 there is a system service called http.sys that can be activated so that it bind port 80. That makes it impossible to run applications and services that haven't been integrated with this feature to also listen on port 80, like Apache HTTP Server.
If you have this problem you can get the following information when testing what program that are using port 80.

PowerShell
Process number 4 is the basic system process.

One solution is to let http.sys use to the ipv6 general address (named “::”) and thereby free up the local general ipv4 address. This is done with this command in Power shell.

Open Power shell as administrator, see above, and run command:
netsh http add iplisten ipaddress=::

If you want to undo the command run:
netsh http delete iplisten ipaddress=::

For more information see:





Example on programs that bind port 80

Example on programs that can bind port 80:

  • Skype
  • World Wide Web Publishing Service (W3SVC)
  • "SQL Server Reporting Service(MSSQLSERVER)"
  • IIS




Troubleshooting C3Fire Client