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

Errors in my apache logs.

Scheduled Pinned Locked Moved Solved
FOG Problems
3
12
807
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.
  • G
    Greg Plamondon Testers
    last edited by Mar 9, 2018, 4:32 PM

    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!

    W 1 Reply Last reply Mar 9, 2018, 5:22 PM Reply Quote 0
    • W
      Wayne Workman @Greg Plamondon
      last edited by Wayne Workman Mar 9, 2018, 11:22 AM Mar 9, 2018, 5:22 PM

      @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/

      G 1 Reply Last reply Mar 9, 2018, 6:45 PM Reply Quote 0
      • G
        Greg Plamondon Testers @Wayne Workman
        last edited by Mar 9, 2018, 6:45 PM

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

        W 1 Reply Last reply Mar 9, 2018, 8:32 PM Reply Quote 0
        • W
          Wayne Workman @Greg Plamondon
          last edited by Mar 9, 2018, 8:32 PM

          @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/

          G 1 Reply Last reply Mar 9, 2018, 9:16 PM Reply Quote 0
          • G
            Greg Plamondon Testers @Wayne Workman
            last edited by Mar 9, 2018, 9:16 PM

            @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
            • W
              Wayne Workman
              last edited by Mar 9, 2018, 11:38 PM

              @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
              • T
                Tom Elliott
                last edited by Mar 9, 2018, 11:40 PM

                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

                G 1 Reply Last reply Mar 12, 2018, 3:56 PM Reply Quote 0
                • G
                  Greg Plamondon Testers @Tom Elliott
                  last edited by Mar 12, 2018, 3:56 PM

                  @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…

                  T 1 Reply Last reply Mar 12, 2018, 4:03 PM Reply Quote 0
                  • T
                    Tom Elliott @Greg Plamondon
                    last edited by Mar 12, 2018, 4:03 PM

                    @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
                    • G
                      Greg Plamondon Testers
                      last edited by Greg Plamondon Mar 12, 2018, 10:18 AM Mar 12, 2018, 4:17 PM

                      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.

                      W 1 Reply Last reply Mar 12, 2018, 4:23 PM Reply Quote 0
                      • W
                        Wayne Workman @Greg Plamondon
                        last edited by Mar 12, 2018, 4:23 PM

                        @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/

                        G 1 Reply Last reply Mar 14, 2018, 11:57 AM Reply Quote 0
                        • G
                          Greg Plamondon Testers @Wayne Workman
                          last edited by Greg Plamondon Mar 14, 2018, 5:57 AM Mar 14, 2018, 11:57 AM

                          @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
                          • 1 / 1
                          1 / 1
                          • First post
                            6/12
                            Last post

                          154

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project