Hi all,
I'm rebuilding a cacti system 0.8.7i with all the latest and greatest plugins then migrating my production 0.8.7.g instance to this system. I've having one problem with boost and wondering if anyone else has seen this. Everything seems to be working ok but I hate moving on with errors in the cacti log file when I click on a graph. Please see below.
BOOST: Poller[0] PROGERR: ERRNO:'2' TYPE:'Warning' MESSAGE:'fopen(/wwwjail/siteroot/htdocs/cacti/imagefiles/lgi_19441_rrai_0_tsi_7.png) [function.fopen]: failed to open stream: Permission denied' IN FILE:'/wwwjail/siteroot/htdocs/cacti/plugins/boost/setup.php' LINE NO:'847'
Please also see the permission on the imagefiles directory.
drwxr-xr-x 2 apache apache 217088 Jan 19 11:34 imagefiles
--w--wx-wT 1 apache apache 18200 Jan 19 11:34 lgi_19441_rrai_0_tsi_7.png
Any help would be appreaciated.
Thanks,
Dale
cacti 0.8.7i and boost 5.1
Moderators: Developers, Moderators
Re: cacti 0.8.7i and boost 5.1
Search in plugins/boost/setup.php for chmod( and see what mode is using. I remember at one point Larry had to change it. Current SVN shows it as 666.
Re: cacti 0.8.7i and boost 5.1
thanks for the info the chmod command still says 666. is that what it should be?
Re: cacti 0.8.7i and boost 5.1
I've got this error as well. And the permissions are the same as dwaines's. Any hint ?
Cedric Girard
Re: cacti 0.8.7i and boost 5.1
OK. Found it:
Code: Select all
--- setup.php.orig 2012-03-27 15:45:53.000000000 +0200
+++ setup.php 2012-03-27 17:39:44.000000000 +0200
@@ -958,7 +958,7 @@
if ($fileptr = fopen($cache_file, "w")) {
fwrite($fileptr, $data["output"], strlen($data["output"]));
fclose($fileptr);
- chmod($cache_file, 666);
+ chmod($cache_file, 0666);
}
}
}else{
Cedric Girard
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: cacti 0.8.7i and boost 5.1
You now know what to do with your findings, don't you?
R.
R.
Re: cacti 0.8.7i and boost 5.1
Of coursegandalf wrote:You now know what to do with your findings, don't you?
R.
Bug report is here: http://bugs.cacti.net/view.php?id=2201
Cedric Girard
Who is online
Users browsing this forum: No registered users and 0 guests