Too many redirects

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

Moderators: Developers, Moderators

Post Reply
jcyrus
Posts: 2
Joined: Thu Dec 03, 2020 3:30 pm

Too many redirects

Post by jcyrus »

I'm getting an error after creating a user and trying to log in as the new user. I can then clear the cookie in my browser and it will allow me to get to the login screen again and log in as the admin account. I honestly have no idea where to look for the error log. I have attached the error message from the browser.

Thanks for any help you can provide.
Attachments
Cacti_Redirect_error.JPG
Cacti_Redirect_error.JPG (20.83 KiB) Viewed 1659 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Too many redirects

Post by TheWitness »

You would have to post your access.log
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?
jcyrus
Posts: 2
Joined: Thu Dec 03, 2020 3:30 pm

Re: Too many redirects

Post by jcyrus »

Thank you for responding TheWitness, however, as I originally said "I honestly have no idea where to look for the error log." I don't see in the documents where it says to look for the log files. I think possibly this is what you are speaking of. Let me know if this isn't correct.
Attachments
access_log.txt
(497.5 KiB) Downloaded 110 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Too many redirects

Post by TheWitness »

Looks like you did something evil. Your default page is graph_view.php, and you don't have access to it. This can be repaired. If you know your user_id, you can do something like:

mysql -A cacti
INSERT INTO user_auth_realm (user_id, realm_id) values(you_user_id, 7);

If you could, after this is corrected, log a bug on github that a redirect loop can be caused by making your default page "Show the default Graph screen" while you don't have access to view Graphs via the permission tab.
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