Web Interface Problem

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
jivetolkein
Posts: 96
Joined: Thu Jul 19, 2007 4:35 am

Web Interface Problem

Post by jivetolkein »

Hi All,

My web interface seems to have stopped working, just getting the following error:

Response from HostMonitor's Web Service:
Transmission error (Web Service <-> HostMonitor): "Connection error"

Possible reasons:
- HostMonitor is not running
- RCI interface disabled
- HM Web Service configured incorrectly (wrong TCP Port or IP address)
- network problem


No config changes, RCC connects just fine, Host Monitor service is running and accessible from the console. I've bounced both services to no effect, the web service appears to be trying to connect to RCI on port 1054 as does RCC.

netstat -nao doesn't list the port we are running the web service on though.

I can't see any connectivity issues.

Any ideas of where to look next?
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

If you see the error message it means WebService works fine. The problem it is not able to connect to HostMonitor for some reason.
I suppose, you should increase "Maximum simultaneous connections" option, located in HostMonitor's menu "Options" -> "RCI" tab.
Quote from the manual:
http://www.ks-soft.net/hostmon.eng/mfra ... tm#rciPage
===================================
Maximum simultaneous connections
This option specifies the maximum number of simultaneous remote connections that HostMonitor may accept from the remote users.
It is important to note here that even just one user that connects to HostMonitor via web browser may generate several simultaneous connections. When an internet browser acquires the document from the internet it may fetch several parts of the document at once to increase performance. Thus "Maximum simultaneous connections" option of the HostMonitor's RCI interface should be set to 8 (minimum) if you plan to use web browser to control HostMonitor (even if just one user at a time will be connected to HostMonitor). Otherwise the web browser may not be able to display a web page with an interface of the HostMonitor correctly.
===================================

Regads,
Max
jivetolkein
Posts: 96
Joined: Thu Jul 19, 2007 4:35 am

Post by jivetolkein »

Ta Max, it was set to 16 anyway - a reboot over lunch sorted it (hadn't tried that, d'oh!) and I've not seen it before, so I guess its just one of those things...
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

jivetolkein wrote:Ta Max, it was set to 16 anyway - a reboot over lunch sorted it (hadn't tried that, d'oh!) and I've not seen it before, so I guess its just one of those things...
So, reboot did sort it out. Hm. Anyway, I think, you should increase the option up to 32.

Regards,
Max
jivetolkein
Posts: 96
Joined: Thu Jul 19, 2007 4:35 am

Post by jivetolkein »

This has reoccurred, or something similar...

Cannot send data. An existing connection was forcibly closed by the remote host.

.. is the extra bit of the error.

RCI conections set to 32 as suggested, netstat -nao only lists 5 connections to the 1054 port its running on.

Any further ideas? Just rebooting now, but I don't like having to do this.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

jivetolkein wrote:RCI conections set to 32 as suggested, netstat -nao only lists 5 connections to the 1054 port its running on.
Could you check the "System Log" (file is specified in "Options" -> "System Log" tab)? If Hostmonitor is unable to capture the RCI port, it writes a record into system log.
Have you started "netstat -nao" command on the server, where HostMonitor is running? "netstat -nao" command shows the PID of the process, which uses certain port. You may use "Taks Manager" -> "Process" tab to find out, what exact process uses port 1054. Does "hostmon.exe" process uses the port 1054? Or the port is used by another process?

Regards,
Max
jivetolkein
Posts: 96
Joined: Thu Jul 19, 2007 4:35 am

Post by jivetolkein »

No errors in system log - though I'm looking at the secondary logging to trext file (it also goes to Oracle), if this makes a difference.

Yes, hostmon process is listening on 1054.

Lots of connections to one of the RMAs - does 14 sound excessive?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

No errors in system log - though I'm looking at the secondary logging to trext file (it also goes to Oracle), if this makes a difference.
I assume you have checked wrong log file - there is no primary/backup system log and HostMonitor does not use Oracle for system log.
Please check log file specified on "System log" page in the Options dialog.
Also, make sure the following options are enabled (RCI page in the Options dialog)
- Record info about accepted connections
- Record info about rejected connections

If both options are enabled and you do not see any records at the time when Web Service connects to HostMonitor, I would assume there is 3rd party software that blocks access.
Do you have installed some antivirus monitors, personal firewall, content monitoring software? Non stanard winsock components?
Lots of connections to one of the RMAs - does 14 sound excessive?
If you setup a lot of tests for this RMA, its normal.

Regards
Alex
jivetolkein
Posts: 96
Joined: Thu Jul 19, 2007 4:35 am

Post by jivetolkein »

My mistake, I was looking at the system log (html file), no errors.

Connections/disconnections logging OK

Tick boxes all ticked on RCI tab.

No firewalls, (or AV, better sort that now! Will be Trend Office Scan).

Only maybe unusual thing I can think of is it's a VM on ESX, VM Tools are running.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Connections/disconnections logging OK
Do you mean you see message like "RCI connection established. Operator: Guest" in the log? While Web Service shows error at the same time?

Regards
Alex
Post Reply