<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3603" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Hi,<BR>Here's all the info, please let me know if any further information
is <BR>required. Also I don't think I'm setting any rrdtool specific variables
in <BR>the environment.<BR><BR>12/02/2009 10:19:13 AM<BR>The rrdcached process
is run as the metis user.<BR>all the rrdtooll commands are run as the metis
user.<BR>The rrdcached startup command
line<BR>METIS_HOME="/usr/local/metis"<BR>BASEPATH=${METIS_HOME}/db/rrd<BR>/usr/pkg/bin/rrdcached
-l unix:/tmp/metis.rrd.sock -w 60 -p <BR>/tmp/metis.rrd.pid -t 5 -j
${BASEPATH}/journal<BR>-b ${BASEPATH} -B<BR>These files are in
/tmp<BR>-rw-r----- 1 metis metis 6 Dec 1 12:26 metis.rrd.pid<BR>srwxrwx---
1 metis metis 0 Dec 1 12:26 metis.rrd.sock<BR>The $BASEPATH path is on an
NFS file system.<BR>The update command is as
follows;<BR>/usr/pkg/bin/
rrdtool update --daemon
unix:/tmp/metis.rrd.sock<BR>${BASEPATH}/volumes.rrd
N:$accesses:$reads:$writes &<BR>The error is;<BR>ERROR:
rrdcached: Permission denied<BR>The rrd file in question perms are as
follows;<BR>-rw-rw---- 1 metis metis 438480 Dec 1 13:25
volumes.rrd<BR><BR><BR>Thanks in advance,<BR>Stephen Disbrow<BR><BR>-----
Original Message ----- <BR>From: "Sebastian Harl" <<A
href="mailto:sh@tokkee.org">sh@tokkee.org</A>><BR>To: "Stephen S. Disbrow"
<<A href="mailto:steve@disbrows.us">steve@disbrows.us</A>><BR>Cc: <<A
href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</A>><BR>Sent:
Wednesday, December 02, 2009 2:59 AM<BR>Subject: Re: [rrd-users] rrdtool update
error<BR>Hi Steve,<BR><BR>On Tue, Dec 01, 2009 at 08:01:59PM -0600, Stephen S.
Disbrow wrote:<BR>> I'm getting the following error
from rrdtool update when using the<BR>> rrdcached process;<BR>> ERROR:
rrdcached: Permission denied<BR>><BR>> I don't know what permissions it's
talking about. The rrdfiles have<BR>> the proper permissions. I'm not using
the -P option for rrdcached<BR>> because I thought without it that all
permissions will be opened. Any<BR>> ideas as to what to look at?<BR><BR>I
suppose, you are connecting to rrdcached through a UNIX socket (see<BR>the -l
command line option). In that case, the user doing rrdupdate<BR>needs
(filesystem) write permissions for the appropriate socket file.<BR><BR>If that
is not the case, please provide more information about your<BR>setup. What
rrdcached command line options do you use? Does rrdcached<BR>run as root? Which
user is doing the rrdupdate? What is the command line<BR>used for that (please
note that some environment variables might<BR>overwrite some of those options --
see the appropriate manpages for<BR>details)?
...<BR><BR>HTH,<BR>Sebastian<BR><BR>-- <BR>Sebastian "tokkee" Harl +++ GnuPG-ID:
0x8501C7FC +++ <A href="http://tokkee.org/">http://tokkee.org/</A><BR><BR>Those
who would give up Essential Liberty to purchase a little Temporary<BR>Safety,
deserve neither Liberty nor
Safety. -- Benjamin
Franklin<BR><BR><BR> <BR></DIV></BODY></HTML>