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

Storage Node Disk Usage #!db and boot.php #!db

Scheduled Pinned Locked Moved
General
2
11
2.7k
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.
  • W
    Wayne Workman
    last edited by Wayne Workman Jun 14, 2016, 8:12 AM Jun 14, 2016, 1:50 PM

    Each additional node I add shows this.

    We have two storage groups, both master nodes for each group are on the main server. We are using the location plugin. We have a total of 5 nodes now, this will go up to about 12 or 13 over the week.

    0_1465912538761_#!db.png

    0_1465912678390_boot php.png

    0_1465912619829_storage.png

    0_1465913554273_locations.png

    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
    • W
      Wayne Workman
      last edited by Jun 14, 2016, 2:07 PM

      So, update.

      Running the installer again (without changing anything) fixes the issue.

      This is actually the second time this has happened during this week.

      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 Jun 14, 2016, 2:29 PM

        #!db means it cannot connect to the database.

        If you’re seeing this there’s likely a reason.

        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

        W 1 Reply Last reply Jun 14, 2016, 3:07 PM Reply Quote 0
        • W
          Wayne Workman @Tom Elliott
          last edited by Jun 14, 2016, 3:07 PM

          @Tom-Elliott If I connect from the node to the main server’s DB manually, it works, using the fogstorage credentials. I have access to the fog db and all that jazz. Also, this is the second time in a row this has happened, and the second time in a row that simply re-running the installer without any other change has fixed it.

          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/

          T 1 Reply Last reply Jun 14, 2016, 3:09 PM Reply Quote 0
          • T
            Tom Elliott @Wayne Workman
            last edited by Jun 14, 2016, 3:09 PM

            @Wayne-Workman I realize that but instead of immediately rerunning the installer, which drops all connections, can you try to get a log file?

            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

            W 1 Reply Last reply Jun 14, 2016, 3:09 PM Reply Quote 0
            • W
              Wayne Workman @Tom Elliott
              last edited by Jun 14, 2016, 3:09 PM

              @Tom-Elliott Yes I’ll do that. I’ll have plenty of opportunities to do that many times this week.

              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
              • W
                Wayne Workman
                last edited by Jun 14, 2016, 7:16 PM

                apache errors but none seem recent enough, according to the newly displayed server time 😉

                [Tue Jun 14 14:11:44.776393 2016] [:error] [pid 22295] [client 10.51.14.15:57342] PHP Warning: array_combine(): Both parameters should have an equal number of elements in /var/www/html/fog/lib/fog/fogbase.class.php on line 260
                [Tue Jun 14 14:11:44.771166 2016] [:error] [pid 22295] [client 10.51.14.15:57342] PHP Warning: Error while sending QUERY packet. PID=22295 in /var/www/html/fog/lib/db/pdodb.class.php on line 169
                [Tue Jun 14 14:09:44.579914 2016] [:error] [pid 18721] [client 10.51.14.15:57340] PHP Warning: array_combine(): Both parameters should have an equal number of elements in /var/www/html/fog/lib/fog/fogbase.class.php on line 260
                [Tue Jun 14 14:09:44.574467 2016] [:error] [pid 18721] [client 10.51.14.15:57340] PHP Warning: Error while sending QUERY packet. PID=18721 in /var/www/html/fog/lib/db/pdodb.class.php on line 169
                [Tue Jun 14 14:07:44.262165 2016] [:error] [pid 18065] [client 10.51.14.15:57331] PHP Warning: array_combine(): Both parameters should have an equal number of elements in /var/www/html/fog/lib/fog/fogbase.class.php on line 260
                [Tue Jun 14 14:07:44.256817 2016] [:error] [pid 18065] [client 10.51.14.15:57331] PHP Warning: Error while sending QUERY packet. PID=18065 in /var/www/html/fog/lib/db/pdodb.class.php on line 169
                [Tue Jun 14 14:05:44.069214 2016] [:error] [pid 18972] [client 10.51.14.15:57324] PHP Warning: array_combine(): Both parameters should have an equal number of elements in /var/www/html/fog/lib/fog/fogbase.class.php on line 260
                [Tue Jun 14 14:05:44.063814 2016] [:error] [pid 18972] [client 10.51.14.15:57324] PHP Warning: Error while sending QUERY packet. PID=18972 in /var/www/html/fog/lib/db/pdodb.class.php on line 169
                [Tue Jun 14 14:03:43.836633 2016] [:error] [pid 18815] [client 10.51.14.15:57317] PHP Warning: array_combine(): Both parameters should have an equal number of elements in /var/www/html/fog/lib/fog/fogbase.class.php on line 260
                [Tue Jun 14 14:03:43.831377 2016] [:error] [pid 18815] [client 10.51.14.15:57317] PHP Warning: Error while sending QUERY packet. PID=18815 in /var/www/html/fog/lib/db/pdodb.class.php on line 169
                [Tue Jun 14 14:01:43.647908 2016] [:error] [pid 22355] [client 10.51.14.15:57309] PHP Warning: array_combine(): Both parameters should have an equal number of elements in /var/www/html/fog/lib/fog/fogbase.class.php on line 260
                [Tue Jun 14 14:01:43.642519 2016] [:error] [pid 22355] [client 10.51.14.15:57309] PHP Warning: Error while sending QUERY packet. PID=22355 in /var/www/html/fog/lib/db/pdodb.class.php on line 169
                [Tue Jun 14 13:59:43.451996 2016] [:error] [pid 18815] [client 10.51.14.15:57302] PHP Warning: array_combine(): Both parameters should have an equal number of elements in /var/www/html/fog/lib/fog/fogbase.class.php on line 260
                

                There are no error logs showing up for the new node in the web interface. I’m going to have to get them from the local server.

                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
                • W
                  Wayne Workman
                  last edited by Jun 14, 2016, 7:19 PM

                  Here are apache logs from the new node, also showed that SELinux is permissive.

                  [root@aifog httpd]# tail error_log 
                  [Tue Jun 14 14:09:13.534622 2016] [core:notice] [pid 25869] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
                  [Tue Jun 14 14:09:13.536697 2016] [suexec:notice] [pid 25869] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
                  [Tue Jun 14 14:09:13.538642 2016] [ssl:warn] [pid 25869] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
                  AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::215:5dff:fe01:a00. Set the 'ServerName' directive globally to suppress this message
                  [Tue Jun 14 14:09:13.589443 2016] [auth_digest:notice] [pid 25869] AH01757: generating secret for digest authentication ...
                  [Tue Jun 14 14:09:13.591065 2016] [lbmethod_heartbeat:notice] [pid 25869] AH02282: No slotmem from mod_heartmonitor
                  [Tue Jun 14 14:09:13.593172 2016] [ssl:warn] [pid 25869] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
                  [Tue Jun 14 14:09:13.677889 2016] [mpm_prefork:notice] [pid 25869] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.6.22 configured -- resuming normal operations
                  [Tue Jun 14 14:09:13.677928 2016] [core:notice] [pid 25869] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
                  [root@aifog httpd]# getenforce
                  Permissive
                  

                  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
                  • W
                    Wayne Workman
                    last edited by Jun 14, 2016, 7:23 PM

                    Here’s the contents of the installer’s error_log:
                    0_1465932215813_fog_error_8093.log

                    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
                    • W
                      Wayne Workman
                      last edited by Jun 14, 2016, 7:31 PM

                      @Tom-Elliott I figured it out.

                      The installer is writing this file wrong:
                      /var/www/html/fog/lib/fog/config.class.php

                      This line is being written at initial installation of the storage node as:
                      define('DATABASE_HOST','p:127.0.0.1');

                      When it should be:

                      define('DATABASE_HOST','p:x.x.x.x'); where x.x.x.x is the main server’s IP.

                      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 Jun 16, 2016, 1:35 AM

                        And that is fixed in latest too.

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

                        164

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project