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:[email protected]]
Sent: Tuesday, November 03, 2009 15:25
To: Eric Chatham
Cc: [email protected]
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
[email protected]<mailto:[email protected]>
[cid:[email protected]]


________________________________
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

[email protected]<mailto:[email protected]>

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.

<<inline: image001.gif>>

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

Reply via email to