Zero sized reply from cacti

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
fiskah
Posts: 8
Joined: Tue Aug 08, 2006 5:18 pm

Zero sized reply from cacti

Post by fiskah »

I just did a fresh install of Cacti with "emerge cacti".

After installing the DB, creating the cacti user, editing the config file, I point my browser to the cacti dir, and after a couple of secods of waiting I get a zero sized reply:
http://cacti.fiskah.net

Anyone who had this trouble?

Im running MySQL 4.1.20, PHP 5.1.4, Gentoo Linux.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Moving to the linux forum.

1) Did you apply the patches to cacti yet?
2) Did you forget to set the default files for the webroot? (i.e. index.php)?
3) Did you forget to configure apache with php?
fiskah
Posts: 8
Joined: Tue Aug 08, 2006 5:18 pm

Post by fiskah »

BSOD2600 wrote:1) Did you apply the patches to cacti yet?
What patches?
BSOD2600 wrote:2) Did you forget to set the default files for the webroot? (i.e. index.php)?
Nope server is working fine, its just cacti that is malfunctioning.
BSOD2600 wrote:3) Did you forget to configure apache with php?
Same as above.
fiskah
Posts: 8
Joined: Tue Aug 08, 2006 5:18 pm

Post by fiskah »

Ok here is how it stands now...
There is some kind of error in /include/auth.php, because the cacti screen shows up if I out coment the line that includes that file.
fiskah
Posts: 8
Joined: Tue Aug 08, 2006 5:18 pm

Post by fiskah »

It seems that I have now solved the problem.

It lay in line 66 of config.php:

Code: Select all

$config["library_path"] = ereg_replace("(.*[\/\\])include", "\\1lib", dirname(__FILE__));
I had to change that to:

Code: Select all

$config["library_path"] = "/var/www/localhost/htdocs/cacti/lib";
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests