Blank - HTTP Error 500 Login History Report
-
I cannot get my Login History Report to run. I get a blank page or HTTP Error 500. I also get a ###Invalid Login when I try to export the Hosts and Users report. All the other reports run fine and export fine. I am running Fedora 23 workstation and Fog SVN Revision: 5798. Thank you.
-
What’s the associated error in the error log?
-
Thanks for the suggestion here is the log entry:
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /var/www/html/fog/lib/db/pdodb.class.php on line 172, referer: http://10.40.5.55/fog/management/?node=report
I had increased my php memory from 128 to 512. Should it be using that much memory? Do need to allocate more memory?
-
@mclapper68 My guess is login report is fairly large in your environment, so yes, you’ll likely need more memory.
-
@Tom-Elliott Thanks I got my Login History Report to run by changing the
memory_limit = “2048M”
in my /etc/php.ini file. Is there a way I shrink or delete my current Login History Report? -
@mclapper68 Yes, though it will be a while before it builds back up.
Try:
In mysql (either with phpmyadmin or through terminal):
truncate table userTracking;
-
@Tom-Elliott I ran that command through terminal and received:
Query OK, 0 rows affected (0.00 sec)Is that right?
-
@Tom-Elliott Never mind I see it did clear my Login History Report. Thanks!
I still am receiving a ###Invalid Login when I try to export the Hosts and Users report. -
Please update and the invalid login error should be fixed.
-
@Tom-Elliott Thanks Tom! All is working great. You and the rest of Fog team are the best! I truly appreciate all the great things you do.