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

    Fog settings not saving

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    11
    2.9k
    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.
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth

      Which version of FOG do you have? See in the blue cloud on the web interface.

      Do you see any errors in your apache error log file while trying to save settings? See here to find out where to find this log file on your system: http://www.codeasite.com/index.php/linux-a-apache/94-how-do-i-find-apache-http-server-log-files

      Is your Mysql up and running, see here for issues on ubuntu: https://github.com/fogproject/fogproject/issues/1

      By the way: Which server OS are you on? Is this your first try with FOG or have you been using it for a while and what did you do before things started to go wrong?

      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

      T 1 Reply Last reply Reply Quote 0
      • T
        Tonyflan
        last edited by

        Hi Sebastian, thanks for the reply.
        I am running FOG 1.2.0 (5082) on UBUNTU 14.04 LTS. I’m new to FOG & Linux, from a Windows background and previously used Altiris for imaging WIndows machines. I am able to upload and download images successfully with FOG, it is just the settings which are the problem at the moment. Contents of Apache error log is as follows:

        [Fri Nov 06 08:00:15.170844 2015] [mpm_prefork:notice] [pid 1347] AH00163: Apach
        e/2.4.16 (Ubuntu) OpenSSL/1.0.1f configured – resuming normal operations
        [Fri Nov 06 08:00:15.170894 2015] [core:notice] [pid 1347] AH00094: Command line
        : ‘/usr/sbin/apache2’
        [Fri Nov 06 09:05:52.740735 2015] [:error] [pid 18317] [client 10.11.16.5:51432]
        [Fri Nov 06 08:00:15.170844 2015] [mpm_prefork:notice] [pid 1347] AH00163: Apach
        e/2.4.16 (Ubuntu) OpenSSL/1.0.1f configured – resuming normal operations
        [Fri Nov 06 08:00:15.170894 2015] [core:notice] [pid 1347] AH00094: Command line
        : ‘/usr/sbin/apache2’
        [Fri Nov 06 09:05:52.740735 2015] [:error] [pid 18317] [client 10.11.16.5:51432]
        PHP Warning: mysqli::close(): Couldn’t fetch mysqli in /var/www/html/fog/lib/d
        b/MySQL.class.php on line 21, referer: http://10.12.0.204/fog/management/
        [Fri Nov 06 09:05:53.737047 2015] [:error] [pid 18317] [client 10.11.16.5:51432]
        PHP Warning: mysqli::close(): Couldn’t fetch mysqli in /var/www/html/fog/lib/d
        b/MySQL.class.php on line 21, referer: http://10.12.0.204/fog/management/
        [Fri Nov 06 08:00:15.170844 2015] [mpm_prefork:notice] [pid 1347] AH00163: Apach
        e/2.4.16 (Ubuntu) OpenSSL/1.0.1f configured – resuming normal operations
        [Fri Nov 06 08:00:15.170894 2015] [core:notice] [pid 1347] AH00094: Command line
        : ‘/usr/sbin/apache2’
        [Fri Nov 06 09:05:52.740735 2015] [:error] [pid 18317] [client 10.11.16.5:51432]
        PHP Warning: mysqli::close(): Couldn’t fetch mysqli in /var/www/html/fog/lib/d
        b/MySQL.class.php on line 21, referer: http://10.12.0.204/fog/management/
        [Fri Nov 06 09:05:53.737047 2015] [:error] [pid 18317] [client 10.11.16.5:51432]
        PHP Warning: mysqli::close(): Couldn’t fetch mysqli in /var/www/html/fog/lib/d
        b/MySQL.class.php on line 21, referer: http://10.12.0.204/fog/management/
        [Fri Nov 06 09:05:54.482110 2015] [:error] [pid 18318] [client 10.11.16.5:51429]
        PHP Warning: mysqli::close(): Couldn’t fetch mysqli in /var/www/html/fog/lib/d
        b/MySQL.class.php on line 21, referer: http://10.12.0.204/fog/managemen

        1 Reply Last reply Reply Quote 0
        • T
          Tonyflan @Sebastian Roth
          last edited by

          @Sebastian-Roth

          Hi Sebastian, thanks for the reply.
          I am running FOG 1.2.0 (5082) on UBUNTU 14.04 LTS. I’m new to FOG & Linux, from a Windows background and previously used Altiris for imaging WIndows machines. I am able to upload and download images successfully with FOG, it is just the settings which are the problem at the moment. Contents of Apache error log is as follows:

          [Fri Nov 06 08:00:15.170844 2015] [mpm_prefork:notice] [pid 1347] AH00163: Apach
          e/2.4.16 (Ubuntu) OpenSSL/1.0.1f configured – resuming normal operations
          [Fri Nov 06 08:00:15.170894 2015] [core:notice] [pid 1347] AH00094: Command line
          : ‘/usr/sbin/apache2’
          [Fri Nov 06 09:05:52.740735 2015] [:error] [pid 18317] [client 10.11.16.5:51432]
          [Fri Nov 06 08:00:15.170844 2015] [mpm_prefork:notice] [pid 1347] AH00163: Apach
          e/2.4.16 (Ubuntu) OpenSSL/1.0.1f configured – resuming normal operations
          [Fri Nov 06 08:00:15.170894 2015] [core:notice] [pid 1347] AH00094: Command line
          : ‘/usr/sbin/apache2’
          [Fri Nov 06 09:05:52.740735 2015] [:error] [pid 18317] [client 10.11.16.5:51432]
          PHP Warning: mysqli::close(): Couldn’t fetch mysqli in /var/www/html/fog/lib/d
          b/MySQL.class.php on line 21, referer: http://10.12.0.204/fog/management/
          [Fri Nov 06 09:05:53.737047 2015] [:error] [pid 18317] [client 10.11.16.5:51432]
          PHP Warning: mysqli::close(): Couldn’t fetch mysqli in /var/www/html/fog/lib/d
          b/MySQL.class.php on line 21, referer: http://10.12.0.204/fog/management/
          [Fri Nov 06 08:00:15.170844 2015] [mpm_prefork:notice] [pid 1347] AH00163: Apach
          e/2.4.16 (Ubuntu) OpenSSL/1.0.1f configured – resuming normal operations
          [Fri Nov 06 08:00:15.170894 2015] [core:notice] [pid 1347] AH00094: Command line
          : ‘/usr/sbin/apache2’
          [Fri Nov 06 09:05:52.740735 2015] [:error] [pid 18317] [client 10.11.16.5:51432]
          PHP Warning: mysqli::close(): Couldn’t fetch mysqli in /var/www/html/fog/lib/d
          b/MySQL.class.php on line 21, referer: http://10.12.0.204/fog/management/
          [Fri Nov 06 09:05:53.737047 2015] [:error] [pid 18317] [client 10.11.16.5:51432]
          PHP Warning: mysqli::close(): Couldn’t fetch mysqli in /var/www/html/fog/lib/d
          b/MySQL.class.php on line 21, referer: http://10.12.0.204/fog/management/
          [Fri Nov 06 09:05:54.482110 2015] [:error] [pid 18318] [client 10.11.16.5:51429]
          PHP Warning: mysqli::close(): Couldn’t fetch mysqli in /var/www/html/fog/lib/d
          b/MySQL.class.php on line 21, referer: http://10.12.0.204/fog/managemen

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by

            5082 is only a good week old but there have been issues with mysql and lots of fixes! Please update to the very latest and see if this is fixing it for you.

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

              Yeah, I’m pretty sure this is fixed.

              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

              T 1 Reply Last reply Reply Quote 0
              • T
                Tonyflan @Tom Elliott
                last edited by

                @Tom-Elliott Thanks Tom, I downloaded the latest FOG software from Sourceforge and tried to install. It terminated with “Setting up and starting MySql - Failed” Fog still works and reports version 5082. I’m at a loss with this. Should I start from scratch and re-build Ubuntu ?

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

                  @Tonyflan I had that same error on Friday… it was with CentOS 7 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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by

                    @Tonyflan Please try to restart mysql by hand and see what error you get service mysql restart… let us know if and what error you see.

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

                      This is interesting that even after failing to do anything he version just doesn’t change. That said do don’t think the installer has updated anything until after it gets the db backup. So if it’s failing there, it’s likely to be related directly to the file system, or MySQL, or MySQL credentials.

                      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

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        Tonyflan @Tom Elliott
                        last edited by

                        @Tom-Elliott Have re-installed everything from scratch, it is now working, settings saving as expected 🙂
                        Thankyou all for your help.

                        Tony

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post

                        129

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.4k

                        Posts
                        Copyright © 2012-2024 FOG Project