Problems with FreeBSD

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
redphive
Posts: 9
Joined: Wed Jan 08, 2003 7:50 pm

Problems with FreeBSD

Post by redphive »

Hi, I have seen a couple of posts regarding FreeBSD and Cacti, but not a whole hell of a lot of response. Is there a inherent problem with FreeBSD and Cacti that is preventing it from working? Are there aditional packages or compatibility binaries/libraries that are required?

My Installation includes:

UCD-snmp version: 4.2.6

PHP 4.3.0 (cli) (built: Jan 8 2003 12:36:07)
Copyright (c) 1997-2002 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies

Perl 5.005_03 built for i386-freebsd

Cacti 0.6.8a

FreeBSD 4.7-RELEASE
Fred
Cacti User
Posts: 81
Joined: Fri Jan 03, 2003 11:43 am

Specifics?

Post by Fred »

It would help out a lot if you could provide specifics as to what sort of a problem you are having.
Guest

Post by Guest »

yes, this would be so :) I missed that part but I determined what my problem was.

The problem was that the graphs were not updating from cron, but were from the command line. It appears as though the working directory wasn't matching the required directory for the includes in cmd.php.

Basically I created a script that was run from cron instead containing the suggested cron entry preceded by cd <working directory>, and it hasn't failed since.

#/bin/bash
cd /usr/home/httpd/html/cacti
/usr/local/bin/php /usr/home/httpd/html/cacti/cmd.php

As a suggestion, have the includes be something like:
include("$base_path/include/config.php");
trap

Post by trap »

Anybody add "FreeBSD Stats Grabber" (http://www.raxnet.net/downloads/scripts ... ats.pl.txt) to Cacti?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests