<div dir="ltr">In my case, the user is "apache". I added it to the groups "xymon" and "root" that own the Xymon's folders, but this didn't change anything.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">François Bauduin</div></div></div>
<br><div class="gmail_quote">2016-07-06 7:59 GMT+02:00 Phil Crooker <span dir="ltr"><<a href="mailto:Phil.Crooker@orix.com.au" target="_blank">Phil.Crooker@orix.com.au</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>This sounds familiar. I think this may involve the web server process owner having access to the xymon files. I'm assuming you are using apache, run:<br>
</p>
<p><br>
</p>
<p>    ps -elf | grep apache<br>
</p>
<p><br>
</p>
<p>This will show you something like:<br>
</p>
<p><br>
</p>
5 S wwwrun 23599 23582 0 80 0 - 21785 inet_c 15:17 ? 00:00:00 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -DFOREGROUND -k start
<p><br>
</p>
<p>In this case the user/owner is "wwwrun". From memory, redhat/centos uses "www". Once you know who is running your web server, you can then check the ownership of the xymon data files to see whether the above user has access. The web server "owner" needs
 to be able to access these files and the xymon cgi scripts.<br>
</p>
<p><br>
</p>
<p>hope that helps.<br>
</p>
<p><br>
</p>
<p>cheers, Phil<br>
</p>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Xymon <<a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.com</a>> on behalf of Bauduin, François <<a href="mailto:francois.bauduin@solvay.com" target="_blank">francois.bauduin@solvay.com</a>><br>
<b>Sent:</b> Tuesday, 5 July 2016 9:50 PM<br>
<b>To:</b> Clark Tony<br>
<b>Cc:</b> <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
<b>Subject:</b> Re: [Xymon] Fwd: Error : Cannot load host configuration</font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr">I don't fully understand what you mean. How do I check that the username running the Xymon server is allowed to "log into the client" ? (and if it can't, how am I suppose to allow it ?)<br>
<br>
<div>Concerning the Xymon server icons, I may have not be clear enough:</div>
<div>For now, the only monitored system is the Xymon server itself (the client is launched on the same machine as the server). Thus the only icons I have are the ones that corresponds to the server itself.</div>
<div>However I just remarked that some of them are working or having a different problem. Below is a quick overview:</div>
<div>- bbd, conn, cpu, disk, files, http, inode, memory, msgs, ports, procs, trends, xymond, xymonnet, xymongen are returning the "cannot load host configuration" error;</div>
<div>- clientlog is returning another error : "status not available: Req=clientlog localhost.localdomain, result=5". In the httpd error log file, the same lines appear;</div>
<div>- info seems to work. The row "alerting" however says "alert configuration unavailable but I suppose this is a different problem.</div>
<div><br>
</div>
<div>Thanks for your help !</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div>
<div dir="ltr">François Bauduin</div>
</div>
</div>
<br>
<div class="gmail_quote">2016-07-05 12:22 GMT+02:00 Clark Tony <span dir="ltr"><<a href="mailto:Tony.Clark@uk.mizuho-sc.com" target="_blank">Tony.Clark@uk.mizuho-sc.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Almost looks like a simple user validation proble.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Check the username running the Xymon server is allowed/able to actually log into the client.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Is are the Xymon server icons behaving the same way?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">T
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Xymon [mailto:<a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.com</a>]
<b>On Behalf Of </b>Bauduin, François<br>
<b>Sent:</b> 05 July 2016 11:13<br>
<b>To:</b> <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
<b>Subject:</b> [Xymon] Fwd: Error : Cannot load host configuration<u></u><u></u></span></p>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">Indeed, 'ipaddress' corresponds to the server's IP address and 'clientipaddress' is the IP address of the computer I use (the server is on a Linux computer but I use a Windows one to work).<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888"><br clear="all">
<span><u></u><u></u></span></span></p>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:#888888">François Bauduin</span><u></u><u></u></p>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">2016-07-05 12:08 GMT+02:00 Clark Tony <<a href="mailto:Tony.Clark@uk.mizuho-sc.com" target="_blank">Tony.Clark@uk.mizuho-sc.com</a>>:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Have you substituted your IP addresses in the logs with “ipaddress”?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">T</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Xymon [mailto:<a href="mailto:xymon-bounces@xymon.com" target="_blank">xymon-bounces@xymon.com</a>]
<b>On Behalf Of </b>Bauduin, François<br>
<b>Sent:</b> 05 July 2016 10:49<br>
<b>To:</b> <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
<b>Subject:</b> [Xymon] Error : Cannot load host configuration</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Hello,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I've recently installed Xymon (version 4.3.27 on CentOS 7) and the
<a href="http://ipaddress/xymon/" target="_blank">http://ipaddress/xymon/</a> page is working properly.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">However, when I click on any of the icons, I get a "Cannot load host configuration" error. One minute later, the page is redirected to another one :
<a href="http://ipaddress/xymon-cgi/30" target="_blank">http://ipaddress/xymon-cgi/30</a>. There I get an error 404.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I also have errors in httpd logs file :<u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">[Tue Jul 05 11:41:21.093320 2016] [cgi:error] [pid 14424] [client clientipaddress:51948] AH01215: 2016-07-05 11:41:21.092553 Whoops ! Failed to send message (Connection failed), referer:
<a href="http://ipaddress/xymon/" target="_blank">http://ipaddress/xymon/</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[Tue Jul 05 11:41:21.093545 2016] [cgi:error] [pid 14424] [client clientipaddress:51948] AH01215: 2016-07-05 11:41:21.092879 ->  connect to Xymon daemon@ipaddress:1984 failed (Permission denied), referer:
<a href="http://ipaddress/xymon/" target="_blank">http://ipaddress/xymon/</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[Tue Jul 05 11:41:21.093598 2016] [cgi:error] [pid 14424] [client clientipaddress:51948] AH01215: 2016-07-05 11:41:21.092894 ->  Recipient 'ipaddress', timeout 15, referer:
<a href="http://ipaddress/xymon/" target="_blank">http://ipaddress/xymon/</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[Tue Jul 05 11:41:21.093656 2016] [cgi:error] [pid 14424] [client clientipaddress:51948] AH01215: 2016-07-05 11:41:21.092904 ->  1st line: 'hostinfo clone=localhost.localdomain', referer:
<a href="http://ipaddress/xymon/" target="_blank">http://ipaddress/xymon/</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[Tue Jul 05 11:41:21.093724 2016] [cgi:error] [pid 14424] [client clientipaddress:51948] AH01215: 2016-07-05 11:41:21.092914 Cannot load hostinfo, referer:
<a href="http://ipaddress/xymon/" target="_blank">http://ipaddress/xymon/</a><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">For the error 404, I get this line :<u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">[Tue Jul 05 11:42:21.142388 2016] [cgi:error] [pid 14460] [client clientipaddress:51949] script not found or unable to stat: /home/xymon/cgi-bin/30, referer:
<a href="http://ipaddress/xymon-cgi/svcstatus.sh?HOST=localhost.localdomain&SERVICE=bbd" target="_blank">
http://ipaddress/xymon-cgi/svcstatus.sh?HOST=localhost.localdomain&SERVICE=bbd</a><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Thank you,<u></u><u></u></p>
</div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">François Bauduin<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#666666;background:white">This message and any attachments is intended for the named addressee(s) only and may contain information that is privileged and/or confidential. If you receive
 this message in error, please delete it and immediately notify the sender. Any copying, dissemination or disclosure, either whole or partial, by a person who is not the named addressee is prohibited. We use virus scanning software but disclaim any liability
 for viruses or other devices which remain in this message or any attachments.</span><span style="font-size:7.5pt;font-family:"Arial","sans-serif""><br>
<span style="color:#666666;background:white">*******************************</span><br>
<span style="color:#666666;background:white">Ce message, ainsi que toute piece jointe, est exclusivement adresse au(x) destinataire(s) nomme(s) et peut contenir des informations confidentielles. Si vous recevez ce message par erreur, merci de le detruire et
 d'en avertir immediatement l'emetteur. Toute copie, transmission ou divulgation, integrale ou partielle, par une personne qui n'est pas nommee comme destinataire est interdite. Nous utilisons un logiciel anti-virus mais nous denions toute</span><span style="background:white"> <span style="color:#666666">responsabilite
 au cas ou des virus, ou tout autre procede, seraient contenus dans ce message ou toute piece jointe.</span></span></span><u></u><u></u></p>
</div>
<p><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">This message and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this message in error
 please delete it and any files transmitted with it, after notifying <a href="mailto:postmaster@uk.mizuho-sc.com" target="_blank">
postmaster@uk.mizuho-sc.com</a>.<br>
 <br>
Any opinions expressed in this message may be those of the author and not necessarily those of the company. The company accepts no responsibility for the accuracy or completeness of any information contained herein. This message is not intended to create legal
 relations between the company and the recipient. <u></u><u></u></span></p>
<p><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">Recipients should please note that messages sent via the Internet may be intercepted and that caution should therefore be exercised before dispatching to the company any confidential or sensitive
 information. <br>
Mizuho International plc Mizuho House, 30 Old Bailey, London EC4M 7AU. TEL. 020 72361090. Wholly owned subsidiary of Mizuho Securities Co., Ltd. Member of Mizuho Financial Group. Authorised by the Prudential Regulation Authority and regulated by the Financial
 Conduct Authority and the Prudential Regulation Authority. Member of the London Stock Exchange.<u></u><u></u></span></p>
<p><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">Registered in England No. 1203696. Registered office as above.<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal"><br>
<span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:#666666;background:white">This message and any attachments is intended for the named addressee(s) only and may contain information that is privileged and/or confidential. If you receive
 this message in error, please delete it and immediately notify the sender. Any copying, dissemination or disclosure, either whole or partial, by a person who is not the named addressee is prohibited. We use virus scanning software but disclaim any liability
 for viruses or other devices which remain in this message or any attachments.</span><span style="font-size:7.5pt;font-family:"Arial","sans-serif""><br>
<span style="color:#666666;background:white">*******************************</span><br>
<span style="color:#666666;background:white">Ce message, ainsi que toute piece jointe, est exclusivement adresse au(x) destinataire(s) nomme(s) et peut contenir des informations confidentielles. Si vous recevez ce message par erreur, merci de le detruire et
 d'en avertir immediatement l'emetteur. Toute copie, transmission ou divulgation, integrale ou partielle, par une personne qui n'est pas nommee comme destinataire est interdite. Nous utilisons un logiciel anti-virus mais nous denions toute</span><span style="background:white"> <span style="color:#666666">responsabilite
 au cas ou des virus, ou tout autre procede, seraient contenus dans ce message ou toute piece jointe.</span></span></span><u></u><u></u></p>
</div>
</div>
</div>
<div>
<div><font face="Arial" size="1"><font face="Arial" size="1">
<p>This message and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this message in error please delete it and any files transmitted with it, after notifying
<a href="mailto:postmaster@uk.mizuho-sc.com" target="_blank">postmaster@uk.mizuho-sc.com</a>.<br>
 <br>
Any opinions expressed in this message may be those of the author and not necessarily those of the company. The company accepts no responsibility for the accuracy or completeness of any information contained herein. This message is not intended to create legal
 relations between the company and the recipient. </p>
<p>Recipients should please note that messages sent via the Internet may be intercepted and that caution should therefore be exercised before dispatching to the company any confidential or sensitive information.
<br>
Mizuho International plc Mizuho House, 30 Old Bailey, London EC4M 7AU. TEL. 020 72361090. Wholly owned subsidiary of Mizuho Securities Co., Ltd. Member of Mizuho Financial Group. Authorised by the Prudential Regulation Authority and regulated by the Financial
 Conduct Authority and the Prudential Regulation Authority. Member of the London Stock Exchange.</p>
<p>Registered in England No. 1203696. Registered office as above.</p>
</font></font></div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<b style="font-weight:normal"><font face="Arial" size="1"><span style="color:rgb(102,102,102);background-color:rgb(255,255,255);vertical-align:baseline;white-space:pre-wrap">This message and any attachments is intended for the named addressee(s) only and
 may contain information that is privileged and/or confidential. If you receive this message in error, please delete it and immediately notify the sender. Any copying, dissemination or disclosure, either whole or partial, by a person who is not the named addressee
 is prohibited. We use virus scanning software but disclaim any liability for viruses or other devices which remain in this message or any attachments.</span><br>
<span style="color:rgb(102,102,102);background-color:rgb(255,255,255);vertical-align:baseline;white-space:pre-wrap">*******************************</span><br>
<span style="color:rgb(102,102,102);background-color:rgb(255,255,255);vertical-align:baseline;white-space:pre-wrap">Ce message, ainsi que toute piece jointe, est exclusivement adresse au(x) destinataire(s) nomme(s) et peut contenir des informations confidentielles.
 Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'emetteur. Toute copie, transmission ou divulgation, integrale ou partielle, par une personne qui n'est pas nommee comme destinataire est interdite. Nous utilisons un
 logiciel anti-virus mais nous denions toute</span><span style="background-color:rgb(255,255,255);vertical-align:baseline"> </span><span style="color:rgb(102,102,102);background-color:rgb(255,255,255);vertical-align:baseline;white-space:pre-wrap">responsabilite
 au cas ou des virus, ou tout autre procede, seraient contenus dans ce message ou toute piece jointe.</span></font></b></div>
</div></div></div>
</div>

-- 
<div style="width:650px;min-height:375px">

        <div style="float:left;background:#ffffff url(http://www.orix.com.au/_common/media/images/logo.gif) top left no-repeat;width:185px;min-height:375px"></div>

        <div style="background-color:#1f2a6b;width:465px;min-height:30px;margin:10px 0 15px 0;float:left"></div>

        <div style="font:normal 9px Arial,Helvetica,Sans-serif;color:#949494">

        <p></p><h1 style="font-size:11px;font-weight:bold;padding:0;margin:0">Please consider the environment before printing this e-mail</h1><p></p>

        <p style="padding:0;margin:0;text-align:justify">This message from ORIX Australia may contain confidential and/or privileged information. If you are not the intended recipient, any use, disclosure or copying of this message (or of any attachments to it) is not authorised. If you have received this message in error, please notify the sender immediately and delete the message and any attachments from your system. Please inform the sender if you do not wish to receive further communications by email.</p> 



<p>The ORIX Australia Privacy Policy outlines what kinds of personal information we collect and hold, how we collect and handle it and your rights in regards to your personal information. Our Privacy Policy is available on our <a href="http://www.orix.com.au" style="color:#949494" target="_blank">website</a>.</p>



<p>We do not accept liability for any loss or damage caused by any computer viruses or defects that may be transmitted with this message. We recommend you carry out your own checks for viruses or defects.</p>

        </div>

</div>

</blockquote></div><br></div>

<br>
<b style="font-weight:normal"><font face="Arial" size="1"><span style="color:rgb(102,102,102);background-color:rgb(255,255,255);vertical-align:baseline;white-space:pre-wrap">This message and any attachments is intended for the named addressee(s) only and may contain information that is privileged and/or confidential. If you receive this message in error, please delete it and immediately notify the sender. Any copying, dissemination or disclosure, either whole or partial, by a person who is not the named addressee is prohibited. We use virus scanning software but disclaim any liability for viruses or other devices which remain in this message or any attachments.</span><br><span style="color:rgb(102,102,102);background-color:rgb(255,255,255);vertical-align:baseline;white-space:pre-wrap">******************************<WBR>*</span><br><span style="color:rgb(102,102,102);background-color:rgb(255,255,255);vertical-align:baseline;white-space:pre-wrap">Ce message, ainsi que toute piece jointe, est exclusivement adresse au(x) destinataire(s) nomme(s) et peut contenir des informations confidentielles. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'emetteur. Toute copie, transmission ou divulgation, integrale ou partielle, par une personne qui n'est pas nommee comme destinataire est interdite. Nous utilisons un logiciel anti-virus mais nous denions toute</span><span style="background-color:rgb(255,255,255);vertical-align:baseline"> </span><span style="color:rgb(102,102,102);background-color:rgb(255,255,255);vertical-align:baseline;white-space:pre-wrap">responsabilite au cas ou des virus, ou tout autre procede, seraient contenus dans ce message ou toute piece jointe.</span></font></b>