Cacti 1.2.10 stuck on 2%

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

Moderators: Developers, Moderators

Post Reply
ank0l0g
Posts: 9
Joined: Tue Apr 07, 2020 12:24 am

Cacti 1.2.10 stuck on 2%

Post by ank0l0g »

Hello.

Install cacti 1.2.10 centos7.
The second day hangs at around 2%.
PHP Option in file php.ini memory_limit = 512M
Attachments
Install_stuck.JPG
Install_stuck.JPG (201.11 KiB) Viewed 957 times
Lashinkof
Posts: 3
Joined: Tue Oct 08, 2019 7:04 pm

Re: Cacti 1.2.10 stuck on 2%

Post by Lashinkof »

uncheck cisco template
ank0l0g
Posts: 9
Joined: Tue Apr 07, 2020 12:24 am

Re: Cacti 1.2.10 stuck on 2%

Post by ank0l0g »

Disconnected everything.
Did not help.
Attachments
Install_stuck-2.JPG
Install_stuck-2.JPG (82.66 KiB) Viewed 944 times
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Cacti 1.2.10 stuck on 2%

Post by Osiris »

Restart https on the server, and use a close all your browser sessions. It was a bug in 1.2.10 with the Cacti Stats package.
Before history, there was a paradise, now dust.
ank0l0g
Posts: 9
Joined: Tue Apr 07, 2020 12:24 am

Re: Cacti 1.2.10 stuck on 2%

Post by ank0l0g »

Close browser session.
[root@zabbix ~]# systemctl stop nginx
[root@zabbix ~]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 2397
Server version: 10.3.22-MariaDB MariaDB Server

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> use cacti;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
MariaDB [cacti]> DELETE FROM settings WHERE name LIKE 'install%';
Query OK, 36 rows affected (0.002 sec)

MariaDB [cacti]>quit
Bye
[root@zabbix ~]# systemctl start nginx

Open new browser.
The result is the same. Stuck 2%.
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Cacti 1.2.10 stuck on 2%

Post by TheWitness »

I validated today it works fine on CentOS 7.7 without issue. I did update the install docs just a smidge. So, is suspect it an environment issue. That was 1.2.11.
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?
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Cacti 1.2.10 stuck on 2%

Post by netniV »

The fact that it never gets beyond 2%, check the memory_limit setting in the PHP.INI file for your CLI. I have seen before were people think they've set a memory limit but instead it was bad so would not even start the process.

Another thing you can do if you are familiar with PHP, put a few "file_put_content" statements in to record where it gets up to in background.php
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests