[smokeping-users] Smokeping Master/Slave permission/denied problem

Joakim Westin joakim at jwab.net
Sun Jun 19 13:19:09 CEST 2011


Many thanks both og you for pointing me in the right direction!

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 :-)

Thanks for helping me learn!


2011/6/18 G.W. Haywood <ged at jubileegroup.co.uk>:
> Hi there,
> On Sat, 18 Jun 2011, Joakim Westin wrote:
>> sudo chmod 0440 /etc/smokeping/smokeping_secrets
>> ...
>> WARNING: Opening secrets file /etc/smokeping/smokeping_secrets:
>> Permission denied
>> ...
>> Can anyone give me a clue as to how the permissions should be set for
>> the master/slave to work OK?
> It's probably the file ownership that's the problem, not the permissions.
> The file should be owned by the UID that's running the process which is
> complaining about reading it.  Try using
> chown user /etc/smokeping/smokeping_secrets
> where "user" is the userid of the smokeping process.
> --
> 73,
> Ged.

More information about the smokeping-users mailing list