Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


first installation on FreeBSD..

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
kop
Guest





PostPosted: Fri Jan 17, 2003 4:15 am    Post subject: first installation on FreeBSD.. Reply with quote

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

PostPosted: Fri Jan 17, 2003 7:40 pm    Post subject: try this Reply with quote

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





PostPosted: Fri Jan 31, 2003 12:45 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group