smokeping主从同步报错
smokeping从服务器报错:
WARNING: Opening secrets file /opt/smokeping/etc/smokeping_secrets.dist: 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 ?
smokeping could not be started
解决方法:
smokeping主服务器端,更改smokeping_secrets.dist用户属性
cd /opt/smokeping/etc
chown apache smokeping_secrets.dist
参考文档:
I did give the smokeping user ownership of the file but still got the permission problem.
After a while I realised that the issue was that the SpeedyCGI module
was running as www-data. Once I gave www-data access to the file it all
worked fine
2015-7-2