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

Install/update your database - blank white page

Scheduled Pinned Locked Moved
General
4
29
11.5k
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.
  • M
    ManofValor
    last edited by Feb 24, 2016, 10:00 PM

    Log gave me a bunch of these;

    [root@localhost bin]# tail -100 /var/log/httpd/error_log
    [Wed Feb 24 15:55:37.283070 2016] [:error] [pid 28155] [client 10.10.1.40:45996] PHP Warning:  mysqli::query(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 52, referer: http://10.10.1.40/fog/management/?node=schemaupdater
    [Wed Feb 24 15:55:37.283135 2016] [:error] [pid 28155] [client 10.10.1.40:45996] PHP Warning:  mysqli::select_db(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 40, referer: http://10.10.1.40/fog/management/?node=schemaupdater
    [Wed Feb 24 15:55:37.283149 2016] [:error] [pid 28155] [client 10.10.1.40:45996] PHP Warning:  mysqli::query(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 52, referer: http://10.10.1.40/fog/management/?node=schemaupdater
    [Wed Feb 24 15:55:37.283207 2016] [:error] [pid 28155] [client 10.10.1.40:45996] PHP Warning:  mysqli::select_db(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 40, referer: http://10.10.1.40/fog/management/?node=schemaupdater
    [Wed Feb 24 15:55:37.283221 2016] [:error] [pid 28155] [client 10.10.1.40:45996] PHP Warning:  mysqli::query(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 52, referer: http://10.10.1.40/fog/management/?node=schemaupdater
    [Wed Feb 24 15:55:37.283278 2016] [:error] [pid 28155] [client 10.10.1.40:45996] PHP Warning:  mysqli::select_db(): invalid object or resource mysqli\n in /var/www/html/fog/lib/db/mysql.class.php on line 40, referer: http://10.10.1.40/fog/management/?node=schemaupdater```
    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Feb 24, 2016, 10:02 PM

      @ManofValor See it written… “Access denied”. FOG is not able to login to the database. Either the database is not running (ps ax | grep mysql) or your password is screwed: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_MySQL

      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 2
      • M
        ManofValor
        last edited by Feb 24, 2016, 10:18 PM

        Ok, I tried fog install again and got through all that, thought I put a password for mysql but didn’t, but I got another error. I’ll see if I can figure it out, if not i’ll start another post. Thanks guys.

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Feb 25, 2016, 2:54 PM

          @ManofValor Tom probably found the issue and fixed the code. Can you please upgrade again and see if it works?

          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

          M 1 Reply Last reply Feb 25, 2016, 7:45 PM Reply Quote 1
          • M
            ManofValor @Sebastian Roth
            last edited by Feb 25, 2016, 7:45 PM

            @Sebastian-Roth Upgrade fog or system upgrade?

            T 1 Reply Last reply Feb 25, 2016, 7:47 PM Reply Quote 0
            • T
              Tom Elliott @ManofValor
              last edited by Feb 25, 2016, 7:47 PM

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

              M 1 Reply Last reply Feb 25, 2016, 7:58 PM Reply Quote 0
              • M
                ManofValor @Tom Elliott
                last edited by Feb 25, 2016, 7:58 PM

                @Tom-Elliott Should be version 4888, right?

                1 Reply Last reply Reply Quote 0
                • M
                  ManofValor
                  last edited by Feb 25, 2016, 8:02 PM

                  [root@localhost bin]# svn up
                  Updating '.':
                  At revision 4888.
                  
                  T 1 Reply Last reply Feb 25, 2016, 8:56 PM Reply Quote 0
                  • T
                    Tom Elliott @ManofValor
                    last edited by Feb 25, 2016, 8:56 PM

                    @ManofValor you’re in the bin directory you need to go up one directory and run the svn up command then go back to bin and reinstall.

                    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

                    M 1 Reply Last reply Feb 25, 2016, 9:35 PM Reply Quote 1
                    • M
                      ManofValor @Tom Elliott
                      last edited by Feb 25, 2016, 9:35 PM

                      @Tom-Elliott oh right, thank you.

                      1 Reply Last reply Reply Quote 0
                      • M
                        ManofValor
                        last edited by Feb 25, 2016, 9:37 PM

                        Just got the same exact output.

                        [root@localhost trunk]# svn up
                        Updating '.':
                        At revision 4888.
                        [root@localhost trunk]# 
                        
                        T 1 Reply Last reply Feb 25, 2016, 9:51 PM Reply Quote 0
                        • T
                          Tom Elliott @ManofValor
                          last edited by Feb 25, 2016, 9:51 PM

                          @ManofValor Have you rerun the installer?

                          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

                          M 1 Reply Last reply Feb 25, 2016, 10:55 PM Reply Quote 0
                          • M
                            ManofValor @Tom Elliott
                            last edited by Feb 25, 2016, 10:55 PM

                            @Tom-Elliott Yes. Per my other post I also keep getting this;

                             * Press [Enter] key when database is updated/installed.
                            
                             * Setting up storage..........................................OK
                             * Setting up and starting DHCP Server.........................Error: either "dev" is duplicate, or "Server" is a garbage.
                            Server: Unknown host
                            ifconfig: `--help' gives usage information.
                            ../lib/common/functions.sh: line 1757: -o: command not found
                            grep: Server: No such file or directory
                            Failed!
                            
                            W 1 Reply Last reply Feb 26, 2016, 12:47 AM Reply Quote 0
                            • W
                              Wayne Workman @ManofValor
                              last edited by Wayne Workman Feb 25, 2016, 6:52 PM Feb 26, 2016, 12:47 AM

                              @ManofValor @Developers

                              I see the error… that’s totally my fault.

                              the second grep is still written as a variable… I’ll do a pull request with a patch.

                              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 Feb 26, 2016, 1:36 AM

                                fixed the dev/Server garbage stuff by merging @Wayne-Workman request.

                                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
                                • M
                                  ManofValor
                                  last edited by ManofValor Feb 26, 2016, 1:14 PM Feb 26, 2016, 2:25 PM

                                  @Wayne-Workman @Tom-Elliott I upgraded again but same problem.

                                   * Press [Enter] key when database is updated/installed.
                                  
                                   * Setting up storage..........................................OK
                                   * Setting up and starting DHCP Server.........................grep: Server: No such file or directory
                                  Server: Unknown host
                                  ifconfig: `--help' gives usage information.
                                  Error: either "dev" is duplicate, or "Server" is a garbage.
                                  Failed!
                                  

                                  Another things is when I click on the fog/management link to update, it goes straight to the login page instead of update page. Is that because of the trouble I have been having with this other stuff?

                                  W 2 Replies Last reply Feb 26, 2016, 9:24 PM Reply Quote 0
                                  • W
                                    Wayne Workman @ManofValor
                                    last edited by Feb 26, 2016, 9:24 PM

                                    @ManofValor PM me when you have time.

                                    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 @ManofValor
                                      last edited by Feb 26, 2016, 10:57 PM

                                       * Press [Enter] key when database is updated/installed.
                                      
                                       * Setting up storage..........................................OK
                                       * Setting up and starting DHCP Server.........................grep: Server: No such file or directory
                                      Server: Unknown host
                                      ifconfig: `--help' gives usage information.
                                      Error: either "dev" is duplicate, or "Server" is a garbage.
                                      Failed!
                                      

                                      I think the repo data wasn’t totally up to date - but after I got it updated, DHCP still failed - and because the subnet mask was detected incorrectly. This is the exact issue I’ve outlined here:
                                      https://forums.fogproject.org/topic/6779/subnet-incorrectly-detected-for-isc-dhcp

                                      I’ve patched this up totally on a fork, I’m waiting for the @Developers to merge it. With the patch, when users enter a different IP than what is suggested, the subnet mask and interface is recalculated to match the given IP, so too is the interface if something other than what is suggested is supplied.

                                      Also, I’ve implemented intelligent code that finds all interfaces and tests each one for internet access - the first one that succeeds these tests is what’s suggested to the user. Fix can be found here till the devs merge it, then I’ll delete the fork (as usual):
                                      https://github.com/wayneworkman/fogproject

                                      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 Feb 27, 2016, 5:07 AM Reply Quote 0
                                      • T
                                        Tom Elliott @Wayne Workman
                                        last edited by Feb 27, 2016, 5:07 AM

                                        @Wayne-Workman Code added.

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

                                        220

                                        Online

                                        12.1k

                                        Users

                                        17.3k

                                        Topics

                                        155.3k

                                        Posts
                                        Copyright © 2012-2024 FOG Project