[Xymon] Fwd: Error : Cannot load host configuration
Bauduin, François
francois.bauduin at solvay.com
Wed Jul 6 11:46:58 CEST 2016
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.
François Bauduin
2016-07-06 7:59 GMT+02:00 Phil Crooker <Phil.Crooker at orix.com.au>:
> 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:
>
>
> ps -elf | grep apache
>
>
> This will show you something like:
>
>
> 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
>
>
> 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.
>
>
> hope that helps.
>
>
> cheers, Phil
> ------------------------------
> *From:* Xymon <xymon-bounces at xymon.com> on behalf of Bauduin, François <
> francois.bauduin at solvay.com>
> *Sent:* Tuesday, 5 July 2016 9:50 PM
> *To:* Clark Tony
> *Cc:* xymon at xymon.com
> *Subject:* Re: [Xymon] Fwd: Error : Cannot load host configuration
>
> 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 ?)
>
> Concerning the Xymon server icons, I may have not be clear enough:
> 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.
> However I just remarked that some of them are working or having a
> different problem. Below is a quick overview:
> - bbd, conn, cpu, disk, files, http, inode, memory, msgs, ports, procs,
> trends, xymond, xymonnet, xymongen are returning the "cannot load host
> configuration" error;
> - clientlog is returning another error : "status not available:
> Req=clientlog localhost.localdomain, result=5". In the httpd error log
> file, the same lines appear;
> - info seems to work. The row "alerting" however says "alert configuration
> unavailable but I suppose this is a different problem.
>
> Thanks for your help !
>
>
> François Bauduin
>
> 2016-07-05 12:22 GMT+02:00 Clark Tony <Tony.Clark at uk.mizuho-sc.com>:
>
>> Almost looks like a simple user validation proble.
>>
>> Check the username running the Xymon server is allowed/able to actually
>> log into the client.
>>
>> Is are the Xymon server icons behaving the same way?
>>
>>
>>
>> T
>>
>>
>>
>> *From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Bauduin,
>> François
>> *Sent:* 05 July 2016 11:13
>> *To:* xymon at xymon.com
>> *Subject:* [Xymon] Fwd: Error : Cannot load host configuration
>>
>>
>>
>> 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).
>>
>>
>> François Bauduin
>>
>>
>>
>> 2016-07-05 12:08 GMT+02:00 Clark Tony <Tony.Clark at uk.mizuho-sc.com>:
>>
>>
>>
>> Have you substituted your IP addresses in the logs with “ipaddress”?
>>
>>
>>
>> T
>>
>>
>>
>> *From:* Xymon [mailto:xymon-bounces at xymon.com] *On Behalf Of *Bauduin,
>> François
>> *Sent:* 05 July 2016 10:49
>> *To:* xymon at xymon.com
>> *Subject:* [Xymon] Error : Cannot load host configuration
>>
>>
>>
>> Hello,
>>
>>
>>
>>
>>
>> I've recently installed Xymon (version 4.3.27 on CentOS 7) and the
>> http://ipaddress/xymon/ page is working properly.
>>
>> 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 : http://ipaddress/xymon-cgi/30. There I get an error 404.
>>
>>
>>
>> I also have errors in httpd logs file :
>>
>> [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: http://ipaddress/xymon/
>>
>> [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 at ipaddress:1984 failed (Permission denied),
>> referer: http://ipaddress/xymon/
>>
>> [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: http://ipaddress/xymon/
>>
>> [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:
>> http://ipaddress/xymon/
>>
>> [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: http://ipaddress/xymon/
>>
>>
>>
>> For the error 404, I get this line :
>>
>> [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:
>> http://ipaddress/xymon-cgi/svcstatus.sh?HOST=localhost.localdomain&SERVICE=bbd
>>
>>
>>
>>
>>
>> Thank you,
>>
>>
>> François Bauduin
>>
>>
>> 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.
>> *******************************
>> 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 responsabilite au cas ou des virus, ou tout autre procede,
>> seraient contenus dans ce message ou toute piece jointe.
>>
>> 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
>> postmaster at uk.mizuho-sc.com.
>>
>> 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.
>>
>> 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.
>> 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.
>>
>> Registered in England No. 1203696. Registered office as above.
>>
>>
>>
>>
>>
>>
>> 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.
>> *******************************
>> 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 responsabilite au cas ou des virus, ou tout autre procede,
>> seraient contenus dans ce message ou toute piece jointe.
>>
>> 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
>> postmaster at uk.mizuho-sc.com.
>>
>> 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.
>>
>> 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.
>> 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.
>>
>> Registered in England No. 1203696. Registered office as above.
>>
>
>
>
>
> *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.
> ******************************* 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 responsabilite au cas ou des
> virus, ou tout autre procede, seraient contenus dans ce message ou toute
> piece jointe.*
> --
>
> Please consider the environment before printing this e-mail
>
> 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.
>
> 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 website <http://www.orix.com.au>.
>
> 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.
>
--
*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.*******************************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 responsabilite au
cas ou des virus, ou tout autre procede, seraient contenus dans ce message
ou toute piece jointe.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20160706/c49d287c/attachment.html>
More information about the Xymon
mailing list