Errors in my apache logs.


  • Testers

    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!


  • Testers

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



  • @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”


  • Testers

    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.


  • Senior Developer

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


  • Testers

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


  • Senior Developer

    Is this actually causing issues?



  • @Tom-Elliott passing this one off to you.


  • Testers

    @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
    


  • @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?


  • Testers

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



  • @greg-plamondon Please provide:

    • FOG Version
    • OS Version

 

570
Online

41.9k
Users

12.5k
Topics

117.6k
Posts