[smokeping-users] Slave config woes

ITheodoridis at bankofgreece.gr ITheodoridis at bankofgreece.gr
Mon Nov 2 13:00:02 CET 2015


I am also having problems probably with apache configuration but for your case (I am guessing here) have you checked if your  apache user (on the master) has access to those files? The communication  between server and slave goes through the cgi so the apache user should have read access to the secrets file (that can not be word readable by the way).
Try to check the apache logs too for errors and access (on the master).



From: masonke [mailto:masonke at gmail.com]
Sent: Sunday, November 01, 2015 5:25 PM
To: smokeping-users at lists.oetiker.ch
Subject: [smokeping-users] Slave config woes

smokeping -v
2.006008

For some crazy reason, smokeping claims it cannot open the smokeping_secrets file on the slave. Anyone know what could be wrong? I am running as root, the smokeping_secrets has one word in it.

root at xxxxx:/etc/smokeping# smokeping --master-url=http://smoker.yyy.svc/cgi-bin/smokeping.cgi --cache-dir=/var/cache/smokeping --shared-secret=/etc/smokeping/smokeping_secrets --debug --logfile=/tmp/smoke.log
WARNING: Opening secrets file /etc/smokeping/smokeping_secrets: Permission denied

Sent data to Server. Server said WARNING: Opening secrets file /etc/smokeping/smokeping_secrets: Permission denied
ERROR: we did not get config from the master. Maybe we are not configured as a slave for any of the targets on the master ?

-rw-r----- 1 root root 4 Nov 1 15:13 smokeping_secrets

BTW, the slave config is a nightmare, the docs are so far out of date, it isn't funny


~KEM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20151102/5889cd6f/attachment.html>
-------------- next part --------------
==============================================================================================================
?? ??? ????????? ?????? ??????? ??????????? ???. ???? ?????? ???????????? ???????????? ??? ??? ??????? ??? ??????? (???) ???????????? ????????? ???? ??? ?? ???????? ???? ??????????? ?? ?? ?????????? ? ???????? ????????? ? ???? ???????? ??? ???.

?? ?????? ???????????? ???????????? ??????????? ???? ???????????? ????? ??? ????????, ??? ?????? ? ????????? ??????????? ???? ??????????? ??? ?????????. ? ?????????? ??? ? ??? ??? ???????????? ?????? ?????? ??? ???????????, ????????? ??? ????????????, ??????? ? ????????????? ????????? ??? ?????????, ??? ???????, ??????? ? ?????????? ??? ????????? ? ??? ????????? ????? ??? ??? ???? ?? ????? ??? ????? ??????? ? ????? ?????? ??? ??? ??? ????? ???????????? ??????.

??? ?????? ???? ????? ?? ????? ?????? ???????????? ????????????, ??????????? ?? ???????????? ?????? ???? ???????????? ???????????? ??? ????????? ??? ?? ?????????? ?? ??????. ??????????? ??????????, ??????? ? ????? ?????? ? ????????? ??? ????????? ????? ????? ???????????? ??????? ??? ?????? ?? ???????? ??????? ??? ?????? ??????.


Any e-mail message from the Bank of Greece (BoG) is sent in good faith but shall neither be binding nor construed as constituting or affecting a contractual arrangement or other commitment by the BoG.

The e-mail is intended for the exclusive use of the person whose e-mail address appears in caption as recipient. The sender and the BoG decline liability for inaccuracy, breach of integrity, loss or delayed delivery of the message, for any failure in, interruption to or degradation of either the service or the message, as well as for any loss or damage sustained thereof to the fullest extent provided by law.

If this e-mail was not intended for you, please notify the sender immediately via e-mail and delete it at once. Any unauthorized disclosure, dissemination or use, either in whole or in part is strictly prohibited and may give rise to both criminal and civil liability. All rights reserved.
==============================================================================================================




More information about the smokeping-users mailing list