|
|
| Author |
Message |
kop Guest
|
Posted: Fri Jan 17, 2003 4:15 am Post subject: first installation on FreeBSD.. |
|
|
Hi all!
I try to install cacti 0.6.8.a on FreeBSD but got some errors !
I give from root inside cacti dir: php cmd.php
Can't open perl script "/scripts/users.pl": No such file or directory
cannot create /log/rrd.log: directory nonexistent
create: not found
cannot create /log/rrd.log: directory nonexistent
update: not found
Can't open perl script "/scripts/ping.pl": No such file or directory
cannot create /log/rrd.log: directory nonexistent
create: not found
and go on .. some another files ..=(
.................
X-Powered-By: PHP/4.2.1
Content-type: text/html
dir : /usr/local/www/data/cacti
drwxr-xr-x 2 65534 0 512 Sep 15 17:08 rra owned by nobody
drwxr-xr-x 2 65534 0 512 Sep 6 01:20 log the same..
system FreeBSD 4.6.2, rrdtool 1.0.4
.....................does anybody know what the problem is? |
|
| Back to top |
|
 |
rwishart
Joined: 17 Jan 2003 Posts: 8 Location: New England
|
Posted: Fri Jan 17, 2003 7:40 pm Post subject: try this |
|
|
I ran into the same issue with FreeBSD. One of the users on the suggested that I add "cd /usr/local/www/data/cacti; " to the crontab statement. It work!
So the whole crontab line would look like.
*/5 * * * * cactiuser cd /usr/local/www/data/cacti; /usr/local/bin/php cmd.php > /dev/null 2>&1 |
|
| Back to top |
|
 |
xaphod Guest
|
Posted: Fri Jan 31, 2003 12:45 pm Post subject: |
|
|
Interestingly, my installation of cacti on my BSD box ran fine for quite a while. Then I upgraded to mod_php4-4.3.0. And it broke.
Works now - after I added the cd... as suggested. |
|
| Back to top |
|
 |
|