I had similar problems with RHEL7 and 4.3.17 , it was the apache config that turned out to be the culprit. I had to change some of the options for Xymon directories
Alias /xymon/ "/opt/xymon/server/www/" <Directory "/opt/xymon/server/www"> Options All AllowOverride All Require all granted </Directory>
ScriptAlias /xymon-cgi/ "/opt/xymon/cgi-bin/" <Directory "/opt/xymon/cgi-bin"> Allow from all Options All AllowOverride All Require all granted </Directory>
ScriptAlias /xymon-seccgi/ "/opt/xymon/cgi-secure/" <Directory "/opt/xymon/cgi-secure"> AllowOverride None Options ExecCGI Includes Order allow,deny Allow from all
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of mania bogdan Sent: 27 June 2014 10:07 To: xymon at xymon.com Subject: [Xymon] xymon server "could not load hostdata" issue
Hi,
I'm facing an issue with the xymon server.
I have setup a fresh installation of xymon 4.3.17 on a RHEL 6 box. I have only the server defined in hosts.cfg. The main page displays ok, but when I click on a "smiley" it just shows "Cannot load host configuration". In the xymonnet.log I get the following:
2014-06-27 04:24:51 -> Could not connect to Xymon daemon at 10.106.50.129:1984<mailto:daemon at 10.106.50.129:1984> (Connection refused) 2014-06-27 04:24:51 -> Recipient '10.106.50.129', timeout 15 2014-06-27 04:24:51 -> 1st line: 'extcombo 2000 2291 2617'
I also get this in the Apache error_log:
[Fri Jun 27 05:01:01 2014] [error] [client 10.106.0.214] 2014-06-27 05:01:01 , referer: http://watchdog.stage.ppaws.net/xymon-cgi/svcstatus.sh?HOST=watchdog.stage.p... [Fri Jun 27 05:01:01 2014] [error] [client 10.106.0.214] -> connect to Xymon daemon at 10.106.50.129:1984<mailto:daemon at 10.106.50.129:1984> failed (Permission denied), referer: http://watchdog.stage.ppaws.net/xymon-cgi/svcstatus.sh?HOST=watchdog.stage.p...
[Fri Jun 27 05:03:31 2014] [error] [client 10.106.0.214] 2014-06-27 05:03:31 , referer: http://watchdog.stage.ppaws.net/xymon-cgi/svcstatus.sh?HOST=watchdog.stage.p... [Fri Jun 27 05:03:31 2014] [error] [client 10.106.0.214] -> Recipient '10.106.50.129', timeout 15, referer: http://watchdog.stage.ppaws.net/xymon-cgi/svcstatus.sh?HOST=watchdog.stage.p... [Fri Jun 27 05:03:31 2014] [error] [client 10.106.0.214] 2014-06-27 05:03:31 , referer: http://watchdog.stage.ppaws.net/xymon-cgi/svcstatus.sh?HOST=watchdog.stage.p... [Fri Jun 27 05:03:31 2014] [error] [client 10.106.0.214] -> 1st line: 'hostinfo clone=watchdog.stage.ppaws.net', referer: http://watchdog.stage.ppaws.net/xymon-cgi/svcstatus.sh?HOST=watchdog.stage.p... [Fri Jun 27 05:03:31 2014] [error] [client 10.106.0.214] 2014-06-27 05:03:31 , referer: http://watchdog.stage.ppaws.net/xymon-cgi/svcstatus.sh?HOST=watchdog.stage.p...
I have setup the host in /etc/hosts file, the name is resolvable, the 1984 port is opened and accepting connections. The only solution I could find online was to restart the server but that didn't help.
I'm fairly new to xymon, so if I missed something and if any additional info is required I'll be happy to provide.
Thanks.
A copy of the LCH.Clearnet e-mail disclaimer can be found at: www.lchclearnet.com/disclaimer/email
LCH.Clearnet Limited, Registered Office: Aldgate House, 33 Aldgate High Street, London EC3N 1EA. Recognised as a Clearing House under the Financial Services & Markets Act 2000. Reg. in England No. 25932. LCH.Clearnet SA, Siège Social: 18 rue du Quatre Septembre, 75002 Paris, Chambre de Compensation conformément au Code Monétaire et Financier. LCH.Clearnet LLC, Principal Office: 17 State Street, New York, NY 10004. Registered with the U.S. Commodity Futures Trading Commission as a derivatives clearing organization under the U.S. Commodity Exchange Act.