[smokeping-users] Slave cannot open Secrets file (Permisson Denied)
Eric Chatham
echatham at broadvox.com
Tue Nov 3 21:28:55 CET 2009
Hello,
How can I tell if it's running under UID or GID? I never had a problem before with this running. I'm running this under root on both master and slave server. Secrets.conf is owned by root user and group.
From: Peter Kristolaitis [mailto:alter3d at alter3d.ca]
Sent: Tuesday, November 03, 2009 15:25
To: Eric Chatham
Cc: smokeping-users at lists.oetiker.ch
Subject: Re: [smokeping-users] Slave cannot open Secrets file (Permisson Denied)
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<mailto:echatham at broadvox.com>
[cid:image001.gif at 01CA5C9A.5B430BC0]
________________________________
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<mailto:smokeping-users at lists.oetiker.ch>
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
________________________________
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20091103/532ff91d/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 2381 bytes
Desc: image001.gif
Url : http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20091103/532ff91d/attachment-0001.gif
More information about the smokeping-users
mailing list