On Mon, 2010-04-26 at 23:04 +1000, Craig Small wrote:
> On Sun, Apr 25, 2010 at 10:09:34PM -0700, Eric Wheeler wrote:
> > on. This is an install that was working /flawlessly/ until I copied the
> > tree and database to a new host. I have a feeling it is a permission
> > issue (even though the jffnms uid is the same) that I'm still working
> > out.
> Ah! copying. Yes look at the permissions as you said.
> Also check php modules and missing programs, such as rrdtool.
So it turns out that apache was not in the jffnms group, so apache
failed to generate the graphs. This was complicated by the fact
that---in my attempt to troubleshoot---I ran the poller as root and
created a bunch of root-owned rrd files with 660 permisions so apache
couldn't even read them.
For permissions, strace is your friend:
strace -e trace=open -f httpd
...
[pid 3169] open("/opt/jffnms/rrd/interface-10-0.rrd", O_RDONLY) = -1 EACCES
(Permission denied)
-Eric
------------------------------------------------------------------------------
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users