Problem installing cacti 1.2.23 on FreeBSD

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

Moderators: Developers, Moderators

Post Reply
drenny
Posts: 15
Joined: Thu Dec 01, 2011 5:09 am

Problem installing cacti 1.2.23 on FreeBSD

Post by drenny »

Hi Folks

i tried a new cacti installation on a new installed freebsd-server (from pkg / ports).
Version of Cacti is 1.2.23
PHP 8.1.13

from web o don't get any output after accepting the eula, on CLI i see the following error:

Code: Select all

php install_cacti.php 
Cacti Install Utility, Version 1.2.23 (DB: new_install), Copyright (C) 2004-2023 The Cacti Group

Fatal error: Uncaught ValueError: parse_ini_file(): Argument #1 ($filename) cannot be empty in /usr/local/share/cacti/lib/utility.php:1766
Stack trace:
#0 /usr/local/share/cacti/lib/utility.php(1766): parse_ini_file('')
#1 /usr/local/share/cacti/lib/utility.php(1710): utility_php_verify_recommends('', 'web')
#2 /usr/local/share/cacti/lib/installer.php(1802): utility_php_recommends()
#3 /usr/local/share/cacti/lib/installer.php(1645): Installer->processStepCheckDependencies()
#4 /usr/local/share/cacti/lib/installer.php(223): Installer->processCurrentStep()
#5 /usr/local/share/cacti/cli/install_cacti.php(180): Installer->jsonSerialize()
#6 {main}
  thrown in /usr/local/share/cacti/lib/utility.php on line 1766
as i found out: get_cfg_var('cfg_file_path') returns an empty-string

is that a known problem?

BRs
Thomas
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Problem installing cacti 1.2.23 on FreeBSD

Post by macan »

show reply of command:
php --ini

It seems that you haven't php.ini configured
Let the Cacti grow!
drenny
Posts: 15
Joined: Thu Dec 01, 2011 5:09 am

Re: Problem installing cacti 1.2.23 on FreeBSD

Post by drenny »

you where right. php.ini was missing
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests