Cacti 1.0 problems after installation

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

Moderators: Developers, Moderators

Post Reply
madnez
Posts: 8
Joined: Wed Jan 20, 2016 1:10 am

Cacti 1.0 problems after installation

Post by madnez »

Hello,

after installation was completed without any issue, I can't login. First I enter admin/admin and borwosers goes to infinite loop.
After i deleted part of the url after ?refferer and wanted me new password, after successful changed password of admin user,
I am logged in and when i click on graphs it startshowing frame in the left pane wanting me all the time user nad password. Nothing in the logs.
Same situations happens when I've tried to update from old version same issue, twice installed the new one, clean but same issue. Any ideas ?
Do I missing something or it is bug ? OS is debian jessie. Mysql is 5.6.

Here is the screenshot:

Image
rudw0lf
Posts: 6
Joined: Tue Nov 08, 2011 2:14 am
Location: Samara, Russia
Contact:

Re: Cacti 1.0 problems after installation

Post by rudw0lf »

Hello, I have the same issues too.

Centos 7, mysql 5.7, php 7.1, rrd 1.6.0

Distrib was unpacked from tarball. I tried to install twice - the same issue.
Cacti Version 0.8.7h
Cacti OS OEL 6u8
SNMP Version NET-SNMP version: 5.5.1
RRDTool Version RRDTool 1.4.x
Last Run Statistics SYSTEM STATS: Time:30.6223 Method:spine Processes:4 Threads:800 Hosts:2593 HostsPerProcess:649 DataSources:93729 RRDsProcessed:56786
matiserek
Posts: 1
Joined: Mon Feb 06, 2017 7:20 am

Re: Cacti 1.0 problems after installation

Post by matiserek »

Hello!
I`ve got the same issue but i fix it :)
All what you need to do is:
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql -p
rudw0lf
Posts: 6
Joined: Tue Nov 08, 2011 2:14 am
Location: Samara, Russia
Contact:

Re: Cacti 1.0 problems after installation

Post by rudw0lf »

Hello. It was already done due installation progress ...
User able to read this tables:
GRANT SELECT ON mysql.time_zone_name TO 'cacti'@'%';
GRANT SELECT ON mysql.time_zone_transition TO 'cacti'@'%';

Also I tried to install fresh version 1.0.1, but it faled too . . .

Anybody knows how to debug this issue?
Cacti Version 0.8.7h
Cacti OS OEL 6u8
SNMP Version NET-SNMP version: 5.5.1
RRDTool Version RRDTool 1.4.x
Last Run Statistics SYSTEM STATS: Time:30.6223 Method:spine Processes:4 Threads:800 Hosts:2593 HostsPerProcess:649 DataSources:93729 RRDsProcessed:56786
madnez
Posts: 8
Joined: Wed Jan 20, 2016 1:10 am

Re: Cacti 1.0 problems after installation

Post by madnez »

Same here with 1.0.1, clean install everything looks fine. When you try to login on your first request to change password it goes with wrong referrer, anyway I've deleted part of the link and successfully changed the password.
Then Login and when you click on graphs it start asking for password again and again. Can anyone suggest something or anyone from cacti ?!
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Cacti 1.0 problems after installation

Post by Osiris »

Restart your browser, goto the Cacti console. Press F5, then check your users Graph permissions under User Management. There was a significant change in permission handling between 0.8.x and 1.0.0. Not sure if that anything to do with it though.
Before history, there was a paradise, now dust.
madnez
Posts: 8
Joined: Wed Jan 20, 2016 1:10 am

Re: Cacti 1.0 problems after installation

Post by madnez »

Nothing to do with F5 or browser or permissions. Tested on cleared cache, different browsers and etc... same sh*t
cigamit
Developer
Posts: 3368
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Cacti 1.0 problems after installation

Post by cigamit »

madnez wrote:it goes with wrong referrer
What referrer did it have? Something seems strange. I assume your not going through a proxy or anything, as you would have told us.
madnez wrote:Then Login and when you click on graphs it start asking for password again and again. Can anyone suggest something or anyone from cacti ?!
This really seems like an issue with sessions in some way. What PHP version are you using? Its not 7.1 is it? I know Cacti does not currently support 7.1 because it broke sessions in a few ways. Can you try running this SQL query against your cacti database and see if it helps.

Code: Select all

ALTER TABLE  `sessions` CHANGE  `id`  `id` VARCHAR( 200 )
madnez
Posts: 8
Joined: Wed Jan 20, 2016 1:10 am

Re: Cacti 1.0 problems after installation

Post by madnez »

php -v
PHP 5.6.29-0+deb8u1 (cli) (built: Dec 13 2016 16:02:08)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
===============================================================
mysql> ALTER TABLE `sessions` CHANGE `id` `id` VARCHAR( 200 );
Query OK, 3 rows affected (1.89 sec)
Records: 3 Duplicates: 0 Warnings: 0

but it didn't help.
madnez
Posts: 8
Joined: Wed Jan 20, 2016 1:10 am

Re: Cacti 1.0 problems after installation

Post by madnez »

Problem solved, it was a wrong configured vhost in apache... :wink: .
rudw0lf
Posts: 6
Joined: Tue Nov 08, 2011 2:14 am
Location: Samara, Russia
Contact:

Re: Cacti 1.0 problems after installation

Post by rudw0lf »

It hasn't helped me.
I see infinite loop instead graph tree. Also if I select any tab in settings I see empty page. How it is possible to debug?
Cacti Version 0.8.7h
Cacti OS OEL 6u8
SNMP Version NET-SNMP version: 5.5.1
RRDTool Version RRDTool 1.4.x
Last Run Statistics SYSTEM STATS: Time:30.6223 Method:spine Processes:4 Threads:800 Hosts:2593 HostsPerProcess:649 DataSources:93729 RRDsProcessed:56786
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests