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:[email protected]]
Sent: Sunday, November 01, 2015 5:25 PM
To: [email protected]
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@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

==============================================================================================================
Με την επιφύλαξη παντός νομίμου δικαιώματός μας. Κάθε μήνυμα ηλεκτρονικού 
ταχυδρομείου από την Τράπεζα της Ελλάδος (ΤτΕ) αποστέλλεται καλόπιστα αλλά δεν 
τη δεσμεύει ούτε ερμηνεύεται ως να συνιστούσε ή επηρέαζε συμβατική ή άλλη 
δέσμευση της ΤτΕ.

Το μήνυμα ηλεκτρονικού ταχυδρομείου προορίζεται προς αποκλειστική χρήση του 
προσώπου, του οποίου η διεύθυνση αναγράφεται στην επικεφαλίδα του μηνύματος. Ο 
αποστολέας και η ΤτΕ δεν αναλαμβάνουν καμμία ευθύνη για ανακριβειες, παραβίαση 
της ακεραιότητας, απώλεια ή καθυστερημένη διαβίβαση του μηνύματος, για αστοχία, 
διακοπή ή υποβάθμιση της υπηρεσίας ή του μηνύματος καθώς και για κάθε εξ αυτού 
του λόγου απώλεια ή ζημία καθόλη την υπό του νόμου προβλεπόμενη έκταση.

Εάν λάβατε κατά λάθος το παρόν μήνυμα ηλεκτρονικού ταχυδρομείου, παρακαλούμε να 
ειδοποιήσετε αμέσως μέσω ηλεκτρονικού ταχυδρομείου τον αποστολέα και να 
διαγράψετε το μήνυμα. Οποιαδήποτε ανακοίνωση, διάδοση ή χρήση μέρους ή 
ολόκληρου του μηνύματος χωρίς άδεια απαγορεύεται αυστηρά και μπορεί να επιφέρει 
ποινική και αστική ευθύνη.


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.
==============================================================================================================


_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to