Getting a 502 Error when adding and enabling TIM as a monitor.

Document ID : KB000028461
Last Modified Date : 14/02/2018
Show Technical Document Details
The issue typically is that  TIM port eth1 is configured to have an IP address and this causes routing and HTTP identification issues
 
Doing the following typically resolves the issue:
 
 
- Go to /etc/sysconfig/network-scripts/ and edit ifcfg-eth1. It typically looks like this
 
DEVICE=eth1
HWADDR=00:50:56:9D:41:94
TYPE=Ethernet
UUID=a56c7bfa-3d85-44dd-8c09-de0be1d7d4a2
ONBOOT=on
NM_CONTROLLED=yes
BOOTPROTO=none
 

Make these changes: .

NM_CONTROLLED=no

BOOTPROTO=static

ONBOOT=on

 
Once done, then restart the network with the command:  sudo service network restart
 
Note, if wanting to work as root, use the command sudo -I.
 
For installing TIM on Red Hat 6, the following changes need to be made:
1.      Install the base system + required packages
2.      Configure network and interfaces correctly
          a. /etc/sysconfig/network file – Set the hostname correctly, so httpd can identify its origin
  b. /etc/sysconfig/network-scripts/ifcfg-eth1 – Set NM_Controlled to no, and BootProto to static

  c. /etc/hosts (if DNS is not working). Ensure that the order is correct -- IP / FQDN / ALIAS. Under Windows it may work, under Linux it does not.
3.     Verify that the iptables is correctly setup (On board firewall).
4.   Install TIM
5.  TIM can then be accessed under: http://<TIMIP>/cgi-bin/ca/apm/tim/index