Le Wed, 13 Jul 2005 10:35:32 -0400 après l'an de grâce, inspiré(e) sean finney <[EMAIL PROTECTED]> écrivait la plume légère :
> hi thomas, > > could you check to see if the latest version of cact in unstable > fixes the problem you were having with rrdtool and generating > graphs? > Okay I don't like verbose log so I worked on it today from the root. I got into lib/rrd.php to make it dump rrd commands before being executed. As a result I had the following results : 1) all the rrdtool commands are valid, and execute when I cut'n paste them in my console 2) they fail when executed as www-data ,they work when being executed as root. 3) Cactid unstable version don't install here. By supressing cactid I partly solved my problems. 4) I now can see some graphs. Needless to say I have a bigger than average apache configuration since I have something like 20 virtual Domains some in phpsafemode on other without php4 is disable by default. Therefore, cacti is working with your settings. My point of view is : 1) there ARE rights problems on directory/execution. I guess something is inconsistent between execution rights vs directory rights ; Since I change the rights in /etc/cron.d/cacti (scripts are now executed by root) and /var/lib/cacti/rra, I can see graphs. 2) cactid in unstable version don't configure correctly : the data fed during dpkg-reconfigure have problems to be written in a correct format in /etc/cacti/cactid.conf 3) my apache 1.3.26 should not interfere (except I use safe mode) since /etc/cacti/apache.conf should override my settings. In case here are my settings : ; ; Safe Mode ; safe_mode = On safe_mode_gid = Off ; When safe_mode is on, UID/GID checks are bypassed when ; including files from this directory and its subdirectories. ; (directory must also be in include_path or full path must ; be used when including) safe_mode_include_dir = "/mnt/backup/libroscope/web-libroscope.org/htdocs/" safe_mode_exec_dir = ; ;open_basedir = I can send you my 170k of conf for apache, but I think this would merely confuse more than help anybody. -- mailto:[EMAIL PROTECTED] Artisan informaticien/IT Craftsman Faire Simple Making things simpler Chicken Little only has to be right once.

