Hi Peter, Thanks for this quick response. I did a quick check and it’s using the (…duh) smokeping user:
[r...@freebsd /usr/local/etc/smokeping/tmp]# ls -la data total 10 drwxrwxrwx 5 www www 512 Feb 3 00:46 . drwxrwxrwx 4 www www 512 Feb 3 00:11 .. drwxr-xr-x 2 smokeping www 512 Feb 3 01:11 __sortercache drwxr-xr-x 2 smokeping www 512 Feb 3 00:42 mysite1 drwxr-xr-x 2 smokeping www 512 Feb 3 00:42 mysite2 I appreciate your help. Kind Regards, Kim From: Peter Kristolaitis [mailto:[email protected]] Sent: Wednesday, February 03, 2010 12:56 AM To: Kim Ford Cc: [email protected] Subject: Re: [smokeping-users] SmokePing permission The SmokePing poller typically does not run under the Apache user's context -- it will typically run under its own account (smokeping, _smokeping, etc), depending on your particular platform and how you've configured it. You should check what user was created during the port install, and set that user to be the owner of that directory. - Peter Kim Ford wrote: Hi, This is my first time trying to install SmokePing. I installed using ports on a FreeBSD machine to learn. I’m getting the following error trying to start SmokePing: Starting smokeping. ### assuming you are using an fping copy reporting in milliseconds ERROR: mkdir /usr/local/etc/smokeping/tmp/data/mysite2: Permission denied /usr/local/etc/rc.d/smokeping: WARNING: failed to start smokeping I created the tmp directory under /usr/local/etc/smokeping/ for lack of any documentation I could dig up. Permissions on this directory are: [r...@freebsd /usr/local/etc/smokeping]# ls -al tmp total 8 drwxr-xr-x 4 www www 512 Feb 3 00:11 . drwxr-xr-x 3 root wheel 512 Feb 3 00:12 .. drwxr-xr-x 2 www www 512 Feb 3 00:11 data drwxr-xr-x 2 www www 512 Feb 3 00:11 var I’m assuming that smokeping runs under the Apache www account. Everything does work if chmod 777 the temp dir, but I don’t think that’s good practice. What’s the proper permission to set here? Thanks mucho, Kim ________________________________ _______________________________________________ smokeping-users mailing list [email protected]<mailto:[email protected]> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
_______________________________________________ smokeping-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
