1.2.16 install probs - permission issue?

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

Moderators: Developers, Moderators

Post Reply
TonyGrim
Posts: 10
Joined: Thu Sep 15, 2016 4:32 pm

1.2.16 install probs - permission issue?

Post by TonyGrim »

Hi,

I'm installing 1.2.16 on a Fedora 33 workstation and I'm running into problems where, when I edit /etc/php.ini and change memory_limit, max_execution_time and date.timezone, and the restart httpd, Cacti does not reflect these changes when refreshed. Could this be a permissions problem? php.ini is root:root.

Thanks in advance,

Tony
User avatar
macan
Cacti Guru User
Posts: 1110
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: 1.2.16 install probs - permission issue?

Post by macan »

Try to run this script:

<?php
phpinfo();
?>

There you can find which php.ini path is used (Configuration File (php.ini) Path), current values for memory_limit, ...
Let the Cacti grow!
TonyGrim
Posts: 10
Joined: Thu Sep 15, 2016 4:32 pm

Re: 1.2.16 install probs - permission issue?

Post by TonyGrim »

Ok, I ran phpinfo in an interactive shell (php -a), and it gave me results for max_execution_time, memory_limit, and date.time that I had confgured. Cacti, however doesn't pick these up.

TG
TonyGrim
Posts: 10
Joined: Thu Sep 15, 2016 4:32 pm

Re: 1.2.16 install probs - permission issue?

Post by TonyGrim »

Further to this, I checked the /etc/passwd file on my existing server and found a user 'cacti'. All of my .rrd files are user:group cacti on the existing server. No such user exists on the new install and the .rrd files are user:group tony, which is predictable since I copied the files from the old server and installed them under my login. Did I miss a vital step in the process, and should I create a cacti user?

TG
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests