Issues during Pre-installation check

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

Moderators: Developers, Moderators

Post Reply
azon
Posts: 2
Joined: Tue Jan 10, 2023 5:07 am

Issues during Pre-installation check

Post by azon »

Hi all!

Have a headache installing Cacti Server v1.2.20 to Debian 5.10.106-1 .


Constantly got:


Image
________________________________________________________
memory_limit 128M >= 400M Warning A minimum of 400M memory limit
max_execution_time 0 >= 60 Passed A minimum of 60 m execution time
date.timezone >= Error A valid timezone that matches MySQL and the system
________________________________________________________
during Pre-installation check at PHP - Recommendations (cli) section.
While all's good at PHP - Recommendations (web) section.

I have all php.ini files I found:

****************************************
$php -i |grep php\.ini
PHP: syntax error, unexpected END_OF_LINE, expecting '=' in /etc/php/7.4/cli/php.ini on line 2
Configuration File (php.ini) Path => /etc/php/7.4/cli
Loaded Configuration File => /etc/php/7.4/cli/php.ini

$cat /etc/php/7.4/cli/php.ini | grep date.timezone
; http://php.net/date.timezone
date.timezone = Europe/London

$ cat /etc/php/7.4/fpm/php.ini | grep date.timezone
; http://php.net/date.timezone
date.timezone = Europe/London

$ cat /etc/php/7.4/apache2/php.ini | grep date.timezone
; http://php.net/date.timezone
date.timezone = Europe/London

********************************************

I have even created (based on some recommendations) file /etc/php.ini :

$ cat /etc/php.ini | grep date.timezone
; http://php.net/date.timezone
date.timezone = Europe/London

*****************************************
Have restarted all processes and rebooted the server.

But cacti persistently picks up php cli params from somewhere I du nu.

Maybe someone can suggest something =) . Or I should go into deep debugging of cacti installation php scripts?

Thank you in advance!
Attachments
Screenshot 2023-01-10 at 11.10.03.png
Screenshot 2023-01-10 at 11.10.03.png (196.57 KiB) Viewed 484 times
azon
Posts: 2
Joined: Tue Jan 10, 2023 5:07 am

Re: Issues during Pre-installation check

Post by azon »

Still no miracles in this world.

# tail -f cacti_stderr.log
PHP: syntax error, unexpected END_OF_LINE, expecting '=' in /etc/php/7.4/cli/php.ini on line 2

fixed.

sorry to bother.

Have a great one!
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Issues during Pre-installation check

Post by TheWitness »

Getting lot's a laughs today on the forums. Glad you got it working.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest