Follow

"Connection Refused" message on Collector Status or during Registration with Hub

Product: Stratusphere FIT/UX

Product Version: 6.5

Expires on: 365 days from publish date

Updated: January 12, 2021

 

Problem:

Unable to register or re-register Collector to hub, will get a "Connection Refused" message.  If already registered, will see "Connection Refused" for the Collector on Collector Admin Page.

CollectorConnectionRefused.png

 

Possible resolution:

Check if httpd is running:

systemctl status httpd

If not, try to start it.  See if you get this error:

[root@XXXXXXX ~]# systemctl start httpd
Job for httpd.service failed because the control process exited with error code.
See "systemctl status httpd.service" and "journalctl -xe" for details.

Run "httpd" and see if you get an error on  /etc/lwl/httpd/conf.d/generated/collector.conf:

[root@XXXXXXX httpd]# httpd
AH00526: Syntax error on line 1 of /etc/lwl/httpd/conf.d/generated/collector.conf:
Cannot define multiple Listeners on the same IP:port

Check if cid.conf and collector.conf exist in /etc/lwl/httpd/conf.d/generated/.  They should only be in /etc/lwl/httpd/conf.d/cid/ and /etc/lwl/httpd/conf.d/collector/ respectively.

[root@XXXXXX]# ls -l /etc/lwl/httpd/conf.d/generated/
total 16
-rw-r--r--. 1 root root  961 Dec 13 03:46 cid.conf
-rw-r--r--. 1 root root 1814 Dec 13 03:46 collector.conf
-rw-r-----. 1 root root 2624 Jan 12 17:09 localhost.conf
-rw-r-----. 1 root root 2622 Jan 12 17:09 mgmt.conf

If so, remove them and try to start httpd again.

rm -f /etc/lwl/httpd/conf.d/generated/collector.conf /etc/lwl/httpd/conf.d/generated/cid.conf
systemctl start httpd
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.