This post is more than 5 years old
11 Posts
0
7447
ESRS Virtual Edition : Core Service ershttpdlistener status red
Hi
I have just deployed ESRS VE and everything appears to be working all managed device are connected and EMC can connect to managed devices.
I notice however that i have a "System is not Healthy" and the Core Service ershttpdlistener status is red.
Is there a way of kicking this service to make it go green ?
gaharley
119 Posts
1
April 9th, 2015 05:00
Look at /etc/hosts and see if there are two different host names using the same IP address or duplicate entries for the host name.
gds15
11 Posts
0
April 9th, 2015 17:00
Hi James
Thanks for the reply my hosts file does look at little odd see below.
I think it should look like this:
10.10.118.6 scg-esrs.xxxxxxxx.xxxxxxx.xxx.au SCG-ESRS
127.0.0.2 scg-esrs.xxxxxxxx.xxxxxxx.xxx.au SCG-ESRS
/sbin/init.d/networking restart
Do i need to restart any of the ESRS services or is it best to just reboot ?
scg-esrs:~ # cat /etc/hosts
#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#
127.0.0.1 localhost
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
10.10.xxx.6 SCG-ESRS SCG-ESRS
127.0.0.2 scg-esrs.xxxxx.xxxxxx.au scg-esrs
10.10.xxx.6 SCG-ESRS scg-esrs
gaharley
119 Posts
0
April 9th, 2015 17:00
I suspect you entered the host name differently on the two screens in yast2 when the VM was provisioned. I saw this same type of entry on my lab box yesterday. I would leave the one line that is correct and remove the other two lines and reboot. Make a copy of the hosts file before you change it. You might have to manually restart the listener when it comes up:
service esrshttpdftp start
gds15
11 Posts
0
April 9th, 2015 17:00
Thanks James
Just to confirm are you suggesting i delete the italic/underlined entries below and leave the 127.0.0.2 entry ?
10.10.xxx.6 SCG-ESRS SCG-ESRS
127.0.0.2 scg-esrs.xxxxx.xxxxxx.au scg-esrs
10.10.xxx.6 SCG-ESRS scg-esrs
I would have thought i would need to add a line : 10.10.118.6 scg-esrs.xxxxxxxx.xxxxxxx.xxx.au SCG-ESRS
gaharley
119 Posts
1
April 9th, 2015 19:00
No, you need to leave the line that correctly reflects your host name and IP address, probably the first line.
gds15
11 Posts
0
April 9th, 2015 19:00
Thanks its all working now my host file is using these two entries , System Status is Healthy and Core Service ershttpdlistener status is green
10.10.118.6 scg-esrs.xxxxxxxx.xxxxxxx.xxx.au scg-esrs
127.0.0.2 scg-esrs.xxxxx.xxxxxx.au scg-esrs