• Register
    • Login
    • Search
    • Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Solved Errors in my apache logs.

    FOG Problems
    3
    12
    552
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Greg Plamondon
      Greg Plamondon Testers last edited by

      I am seeing allot of these errors in my apache logs:

      PHP Fatal error:  Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 447
      PHP Fatal error:  Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 447, referer: http://10fogserver/fog/management/index.php
      

      Thanks!

      Wayne Workman 1 Reply Last reply Reply Quote 0
      • Greg Plamondon
        Greg Plamondon Testers @Wayne Workman last edited by Greg Plamondon

        @wayne-workman @Tom-Elliott
        Thanks for the help guys! I was able to get it re-installed although I have one issue, I will open another thread for that.
        Thanks again!

        1 Reply Last reply Reply Quote 0
        • Wayne Workman
          Wayne Workman @Greg Plamondon last edited by

          @greg-plamondon said in Errors in my apache logs.:

          is there an updated procedure on how to remove fog all the services for fog?

          There’s older instructions in the wiki. To get a clean new system, I’d recommend migrating instead. look in the wiki for “Migrate FOG”

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          Greg Plamondon 1 Reply Last reply Reply Quote 0
          • Greg Plamondon
            Greg Plamondon Testers last edited by Greg Plamondon

            At this point I really would like to Uninstall or remove Fog and reinstall it.
            I have a database backup. so I can import the hosts table.
            is there an updated procedure on how to remove fog all the services for fog?

            as for the nodes, they work fine except for one location.

            Wayne Workman 1 Reply Last reply Reply Quote 0
            • Tom Elliott
              Tom Elliott @Greg Plamondon last edited by

              @greg-plamondon I do understand frustration, but does this mean those nodes are unable to work? I’m just trying to follow the problem. Normally these errors will display during an update as client machines trying to talk will lose connection to the db when the installer moves the original /var/www/fog folder.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • Greg Plamondon
                Greg Plamondon Testers @Tom Elliott last edited by

                @tom-elliott
                It very frustrating when trying to navigate to different hosts and make changes and it ends up at the schema update page that then brings you back to the Dashboard. sometimes it does this 3 or 4 times. I don’t know if these messages are causing this or not.
                sorry very frustrated…

                Tom Elliott 1 Reply Last reply Reply Quote 0
                • Tom Elliott
                  Tom Elliott last edited by

                  Is this actually causing issues?

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  Greg Plamondon 1 Reply Last reply Reply Quote 0
                  • Wayne Workman
                    Wayne Workman last edited by

                    @Tom-Elliott passing this one off to you.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    1 Reply Last reply Reply Quote 0
                    • Greg Plamondon
                      Greg Plamondon Testers @Wayne Workman last edited by

                      @wayne-workman
                      The errors are all coming from the storage nodes.

                      here is a complete log example:

                      [Fri Mar 09 16:19:11.416500 2018] [:error] [pid 5845] [client 192.168.18.39:57380] PHP Fatal error:  Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 447
                      [Fri Mar 09 16:19:12.090818 2018] [:error] [pid 8867] [client 10.17.40.39:33785] PHP Fatal error:  Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 447
                      [Fri Mar 09 16:19:35.050565 2018] [:error] [pid 23438] [client 10.10.112.39:37637] PHP Fatal error:  Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 447
                      [Fri Mar 09 16:20:10.797218 2018] [:error] [pid 23438] [client 10.30.40.39:38838] PHP Fatal error:  Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 447
                      [Fri Mar 09 16:21:21.500537 2018] [:error] [pid 7753] [client 192.168.18.39:57682] PHP Fatal error:  Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 447
                      [Fri Mar 09 16:22:20.815902 2018] [:error] [pid 16364] [client 10.30.40.39:39060] PHP Fatal error:  Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 447
                      [Fri Mar 09 16:22:21.809934 2018] [:error] [pid 21826] [client 192.168.10.39:50058] PHP Fatal error:  Call to a member function lastInsertId() on boolean in /var/www/html/fog/lib/db/pdodb.class.php on line 447
                      
                      1 Reply Last reply Reply Quote 0
                      • Wayne Workman
                        Wayne Workman @Greg Plamondon last edited by

                        @greg-plamondon Do you know what’s causing the errors? As in what GUI action? Does it appear to be caused by FOG Client communication?

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        Greg Plamondon 1 Reply Last reply Reply Quote 0
                        • Greg Plamondon
                          Greg Plamondon Testers @Wayne Workman last edited by

                          @wayne-workman
                          Sorry, Fog version 1.5.0 on Centos 7.

                          Wayne Workman 1 Reply Last reply Reply Quote 0
                          • Wayne Workman
                            Wayne Workman @Greg Plamondon last edited by Wayne Workman

                            @greg-plamondon Please provide:

                            • FOG Version
                            • OS Version

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

                            Greg Plamondon 1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post

                            187
                            Online

                            10.4k
                            Users

                            16.4k
                            Topics

                            150.5k
                            Posts

                            Copyright © 2012-2023 FOG Project