Unable to view Host List, export hosts, etc "Page not found"



  • We’ve been setting up Fog over the past few weeks to get ready to replace Windows Deployment Services. Everything seemed to be working fine over the past few weeks in testing and creating images.

    Yesterday we took the next step and imported all of our current windows clients using a csv file, initially the file failed (I had computer name first, then mac address. I fixed it and re-uploaded it with the correct format and successfully uploaded 1600 devices out of 2400 devices (I had duplicates in the list that I didn’t know about)

    Now when I view the host list or do anything host list related in the webui I get a page not found. The rest of the ui works, but whenever I do any of the following the page comes up not found.

    List all hosts, export hosts, add hosts to a group, the page comes up with the error.

    So far fog still seems to work, and I’m able to search for individual computers in the search bar, but I can’t view all hosts and I fear there’s something else wrong with the backend now that the errors come up on the pages.

    Any clue how to resolve this?

    Running Fog 1.5.0

    Thanks in advance.



  • Also, changing the memory to 256 resolved the issue, thanks for the help!



  • Yeah, that’s what it looks like.

    /var/log/httpd/error_log
    [Thu May 17 09:11:52.861702 2018] [:error] [pid 2372] [client 10.2.146.139:58779] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 85 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 1009, referer: http://10.1.30.200/fog/management/index.php?node=host&sub=search
    [Thu May 17 09:06:21.098516 2018] [:error] [pid 1770] [client 10.2.146.139:58698] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 84 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 1009
    [Thu May 17 09:06:00.284745 2018] [:error] [pid 2371] [client 10.2.146.139:58658] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 85 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 1009, referer: http://10.1.30.200/fog/management/index.php?node=host&sub=import
    [Thu May 17 08:51:51.805477 2018] [:error] [pid 1508] [client 10.2.146.139:58242] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 85 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 1009, referer: http://10.1.30.200/fog/management/index.php?node=host
    [Thu May 17 08:51:48.089015 2018] [:error] [pid 1500] [client 10.2.146.139:58232] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 85 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 1009, referer: http://10.1.30.200/fog/management/index.php?node=host
    [Thu May 17 08:51:33.730705 2018] [:error] [pid 1507] [client 10.2.146.139:58229] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 85 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 1009, referer: http://10.1.30.200/fog/management/index.php?node=host
    [Wed May 16 13:38:06.605809 2018] [:error] [pid 1494] [client 10.2.146.139:58951] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 83 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 1009, referer: http://10.1.30.200/fog/management/index.php?node=host
    [Wed May 16 13:37:57.324837 2018] [:error] [pid 1494] [client 10.2.146.139:58928] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 261
    [Wed May 16 11:51:19.068806 2018] [:error] [pid 2372] [client 10.2.146.139:57403] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 81 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 1009, referer: http://10.1.30.200/fog/management/index.php?node=report
    [Wed May 16 11:51:06.338022 2018] [:error] [pid 1500] [client 10.2.146.139:57389] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10307 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 261, referer: http://10.1.30.200/fog/management/index.php?node=host
    [Wed May 16 11:50:40.347787 2018] [:error] [pid 1770] [client 10.2.146.139:57379] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /var/www/html/fog/lib/fog/fogbase.class.php on line 2399, referer: http://10.1.30.200/fog/management/index.php?node=host
    [Wed May 16 11:50:31.270884 2018] [:error] [pid 1507] [client 10.2.146.139:57373] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 261, referer: http://10.1.30.200/fog/management/index.php?node=host
    [Wed May 16 11:50:17.156789 2018] [:error] [pid 2229] [client 10.2.146.139:57331] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 261, referer: http://10.1.30.200/fog/management/index.php?node=host&sub=export
    [Wed May 16 11:49:57.475182 2018] [:error] [pid 1500] [client 10.2.146.139:57228] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 261, referer: http://10.1.30.200/fog/management/index.php?node=host&sub=import
    [Wed May 16 11:49:38.852979 2018] [:error] [pid 1500] [client 10.2.146.139:57205] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 83 bytes) in /var/www/html/fog/lib/fog/fogcontroller.class.php on line 1009, referer: http://10.1.30.200/fog/management/index.php?node=host
    [Wed May 16 11:49:25.136566 2018] [:error] [pid 1493] [client 10.2.146.139:57160] PHP Fatal error: Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 447
    [Wed May 16 11:49:22.917504 2018] [core:notice] [pid 1173] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'```

  • Senior Developer

    Show your Apache error logs. If I had to guess on the error it’s due to memory limit being exhausted. You can change this for your install by going in the GUI to fog configuration->fog settings->General->memory limit


Log in to reply
 

444
Online

6.2k
Users

13.6k
Topics

128.1k
Posts