Login loop
Moderators: Developers, Moderators
Login loop
Hi guys , I recently installed cacti using following link:
https://www.itzgeek.com/how-tos/linux/c ... hel-7.html
Every thing was ok.
When browsing http:/serverip/cacti.
Login appears but can not login with admin / admin. it keeps in loop.
Any idea ?
Leandro.
https://www.itzgeek.com/how-tos/linux/c ... hel-7.html
Every thing was ok.
When browsing http:/serverip/cacti.
Login appears but can not login with admin / admin. it keeps in loop.
Any idea ?
Leandro.
Re: Login loop
check your session.save_path most likely should be /tmp
I had this issue and my session.save_path in the php.ini file was set to another location and it didn't like that and kept looping
I had this issue and my session.save_path in the php.ini file was set to another location and it didn't like that and kept looping
Re: Login loop
I have also finished a new install of 1.2.11 and am having the same issue. I have confirmed the directory setting you recommended is accurate but cannot login with the default admin credentials.
Re: Login loop
YOU SAVED ME!!!
THANKS!!
Re: Login loop
I have tried commenting out the line with both // and #. Neither seems to work as I am still getting brought back to the login screen. Is there a second line or item I need to comment out?
Re: Login loop
When I run Firefox debugger I am seeing the following exceptions:
// Opera 10-11 does not throw on post-comma invalid pseudos
el.querySelectorAll("*,:x");
rbuggyQSA.push(",.*:");
SyntaxError: Element.querySelectorAll: '*,:x' is not a valid selector
// This should fail with an exception
// Gecko does not error, returns false instead
matches.call( el, "[s!='']" );
rbuggyMatches.push( "!=", pseudos );
SyntaxError: Element.matches: '[s!='']' is not a valid selector
// This should fail with an exception
// Gecko does not error, returns false instead
matches.call( el, "[s!='']" );
rbuggyMatches.push( "!=", pseudos );
});
SyntaxError: Document.querySelectorAll: 'script:last' is not a valid selector
try {
push.apply( results,
newContext.querySelectorAll( newSelector )
);
SyntaxError: Document.querySelectorAll: '.tableRowGraph:first' is not a valid selector
We have a CentOS 6 system running 0.8.8a because my coworker prefers the aggregate graphs in this version. When I login with debugger, I see no exceptions at all.
I need this fixed. The system started miraculously working yesterday morning and sent two reports last night, but hasn't sent the report for this morning and I cannot log in.
// Opera 10-11 does not throw on post-comma invalid pseudos
el.querySelectorAll("*,:x");
rbuggyQSA.push(",.*:");
SyntaxError: Element.querySelectorAll: '*,:x' is not a valid selector
// This should fail with an exception
// Gecko does not error, returns false instead
matches.call( el, "[s!='']" );
rbuggyMatches.push( "!=", pseudos );
SyntaxError: Element.matches: '[s!='']' is not a valid selector
// This should fail with an exception
// Gecko does not error, returns false instead
matches.call( el, "[s!='']" );
rbuggyMatches.push( "!=", pseudos );
});
SyntaxError: Document.querySelectorAll: 'script:last' is not a valid selector
try {
push.apply( results,
newContext.querySelectorAll( newSelector )
);
SyntaxError: Document.querySelectorAll: '.tableRowGraph:first' is not a valid selector
We have a CentOS 6 system running 0.8.8a because my coworker prefers the aggregate graphs in this version. When I login with debugger, I see no exceptions at all.
I need this fixed. The system started miraculously working yesterday morning and sent two reports last night, but hasn't sent the report for this morning and I cannot log in.
Re: Login loop
I have now created a new VM running CentOS 7 and am having the same issue on a new install.
Once the install completed, I was taking to the console page. After logging out and then attempting to log back in, I have the same issue as before.
Once the install completed, I was taking to the console page. After logging out and then attempting to log back in, I have the same issue as before.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Login loop
This can happen when switching between http and https and is expected with the new secure cookies. If it happens close all your browsers, and try agin.
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?
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?
Re: Login loop
We don't switch between http and https. The system forwards all http traffic to https.TheWitness wrote: ↑Sat Apr 25, 2020 12:59 pm This can happen when switching between http and https and is expected with the new secure cookies. If it happens close all your browsers, and try agin.
Re: Login loop
I have removed all https forwarding. When I attempt to login, the url changes to http://cacti-server/cacti/graph_view.php, yet the page displayed is still the login screen.TheWitness wrote: ↑Sat Apr 25, 2020 12:59 pm This can happen when switching between http and https and is expected with the new secure cookies. If it happens close all your browsers, and try agin.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Login loop
Did you guys not figure out about the $cacti_cookie_domain issue in config.php? You need to comment it out.
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?
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?
Re: Login loop
Please try with 1.2.12 which was released at the weekend.
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
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Who is online
Users browsing this forum: No registered users and 3 guests