[smokeping-users] Slave cannot open Secrets file (Permisson Denied)
Peter Kristolaitis
alter3d at alter3d.ca
Tue Nov 3 21:25:12 CET 2009
I suspect it's a file ownership problem.
Is smokeping running with UID root or GID root (the two conditions which
would allow it to access that file given the ownership and
permissions)? Most installations of smokeping run under non-privileged
UID/GID for security.
Eric Chatham wrote:
>
> Hello,
>
>
>
> I had this working at one time with giving the secrets file 640
> permissions. Our hardware failed on our Linux server, so I had to
> re-install all our applications from a backup. One of the apps was
> smokeping. I re-installed the program and just restored the configs
> from the backup.
>
>
>
> Can someone tell me why I'm now having a problem on the slave server
> trying to open the secrets.conf file on the master server? I keep
> getting this error:
>
>
>
> WARNING: Opening secrets file /opt/smokeping/etc/secrets.conf:
> 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 ?
>
>
>
> Here is my secrets.conf stat:
>
>
>
> stat secrets.conf
>
> File: `secrets.conf'
>
> Size: 56 Blocks: 16 IO Block: 4096 regular file
>
> Device: fd00h/64768d Inode: 4423683 Links: 1
>
> Access: (0640/-rw-r-----) Uid: ( 0/ root) Gid: ( 0/ root)
>
> Access: 2009-11-03 13:21:26.000000000 -0600
>
> Modify: 2009-11-02 15:06:10.000000000 -0600
>
> Change: 2009-11-03 13:36:58.000000000 -0600
>
>
>
> /Eric Chatham/
>
> /MIS Department/
>
> /Phone: (216) 373-4683/
>
> /Fax: (216) 373-4669/
>
> /echatham at broadvox.com/
>
> BroadvoxLogo2
>
>
>
>
> ------------------------------------------------------------------------
> CONFIDENTIAL. This e-mail and any attached files are confidential and
> should be destroyed and/or returned if you are not the intended and
> proper recipient.
> ------------------------------------------------------------------------
>
> _______________________________________________
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20091103/c909f9f1/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2381 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20091103/c909f9f1/attachment.gif
More information about the smokeping-users
mailing list