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

    Problem with log files

    Scheduled Pinned Locked Moved Unsolved
    General
    3
    7
    2.2k
    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.
    • H
      Hanz
      last edited by Wayne Workman

      I’m using SVN 4193 on Ubuntu 14.04.2 web server error when trying to view logs.

      here is my last few lines of error log after re-install… There are about 100 errors about line 59 & line 60 before this, but those were always there…Below is different…

      [Mon Jul 27 08:54:33.886758 2015] [:error] [pid 1347] [client 10.72.145.4:63549] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 60
      [Mon Jul 27 08:54:33.886876 2015] [:error] [pid 1347] [client 10.72.145.4:63549] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 60
      [Mon Jul 27 08:54:34.260653 2015] [:error] [pid 1348] [client 10.72.2.107:52653] PHP Warning:  mysqli::real_escape_string(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 163
      [Mon Jul 27 08:54:34.260689 2015] [:error] [pid 1348] [client 10.72.2.107:52653] PHP Warning:  mysqli::real_escape_string(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 163
      [Mon Jul 27 08:54:53.233533 2015] [:error] [pid 1345] [client 10.72.2.107:52691] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/fog/lib/fog/StorageGroup.class.php on line 24, referer: http://10.72.3.50/fog/management/index.php?node=about
      [Mon Jul 27 08:54:53.233845 2015] [:error] [pid 1345] [client 10.72.2.107:52691] PHP Fatal error:  Call to a member function isValid() on boolean in /var/www/html/fog/lib/pages/FOGConfigurationPage.class.php on line 740, referer: http://10.72.3.50/fog/management/index.php?node=about
      

      Any ideas ?
      Mod edited to use code box.

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

        Here’s my apache error log. I’m on r4193

        [Mon Jul 27 08:01:12.905615 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 59
        [Mon Jul 27 08:01:12.905949 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 59
        [Mon Jul 27 08:01:12.906277 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 59
        [Mon Jul 27 08:01:12.906418 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 59
        [Mon Jul 27 08:01:12.906715 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 59
        [Mon Jul 27 08:01:12.907037 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 59
        [Mon Jul 27 08:01:12.907345 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 59
        [Mon Jul 27 08:01:12.907643 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 59
        [Mon Jul 27 08:01:12.907779 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 59
        [Mon Jul 27 08:01:12.922432 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning:  mysqli::real_escape_string(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 147
        [Mon Jul 27 08:01:12.922458 2015] [:error] [pid 9873] [client 10.2.3.38:59452] PHP Warning:  mysqli::real_escape_string(): Couldn't fetch mysqli in /var/www/html/fog/lib/db/MySQL.class.php on line 147
        [Mon Jul 27 08:01:14.125664 2015] [:error] [pid 13301] [client 10.2.3.51:63626] PHP Warning:  mysqli::mysqli(): MySQL server has gone away in /var/www/html/fog/lib/db/MySQL.class.php on line 37
        [Mon Jul 27 08:01:19.328106 2015] [mpm_prefork:notice] [pid 830] AH00170: caught SIGWINCH, shutting down gracefully
        [Mon Jul 27 08:01:27.390211 2015] [suexec:notice] [pid 13921] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
        AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message
        [Mon Jul 27 08:01:27.414239 2015] [auth_digest:notice] [pid 13921] AH01757: generating secret for digest authentication ...
        [Mon Jul 27 08:01:27.414885 2015] [lbmethod_heartbeat:notice] [pid 13921] AH02282: No slotmem from mod_heartmonitor
        [Mon Jul 27 08:01:27.434172 2015] [mpm_prefork:notice] [pid 13921] AH00163: Apache/2.4.12 (Fedora) OpenSSL/1.0.1k-fips PHP/5.6.11 configured -- resuming normal operations
        [Mon Jul 27 08:01:27.434197 2015] [core:notice] [pid 13921] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
        

        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
        • H
          Hanz
          last edited by

          do your logs display correctly within the webui ?

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @Hanz
            last edited by

            @Hanz yes they do, that’s where I pulled them from.

            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
            • H
              Hanz
              last edited by

              Mine aren’t showing up, I pulled that manually.

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

                For the record, I’m using Fedora 21 Server - fully updated as of this morning.

                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
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  The log files should, hopefully, start appearing again, though there’s no guarantee as I don’t know all particular setups. Hopefully they just work though.

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

                  220

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project