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

    [3546 - 3551] can't approuve pending mac

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    3
    8
    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.
    • Matthieu JacquartM
      Matthieu Jacquart
      last edited by ch3i

      Hi,

      It’s not a big deal, but in svn 3546 and 3551, When I click on “Approve All Pending MACs for all hosts?”, I’ve got a blank page…

      Thanks
      Matthieu

      edit ch3i : Add SVN versions in title.

      Fog 1.5.9.138
      Debian 11
      Vmware ESXi

      1 Reply Last reply Reply Quote 0
      • TrevelyanT
        Trevelyan
        last edited by

        I noticed the same thing. Is there any link or something to describe how pending/multiple macs are now handled?

        1 Reply Last reply Reply Quote 0
        • Tom ElliottT
          Tom Elliott
          last edited by

          Whenever there’s a blank page, it usually indicates a syntax issue with something I pushed not realizing it. Can you get a terminal up and tail the Apache error logs? If you go to approve all macs and watch the logs there will likely be a corresponding error for what is wrong. Can you get that output here? Normally I can take care of that pretty quickly and confirm for myself, but I am on my way in to work.

          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
          • Matthieu JacquartM
            Matthieu Jacquart
            last edited by Matthieu Jacquart

            Ok, apache error.log give me this jus after I try to approuve pending MAC :

            Did you need something else ?

            [Mon Jun 15 10:54:15.353999 2015] [:error] [pid 1621] [client 192.168.5.61:49561] PHP Warning:  mysqli::real_escape_string(): Couldn't fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 148
            [Mon Jun 15 10:54:15.354024 2015] [:error] [pid 1621] [client 192.168.5.61:49561] PHP Warning:  mysqli::real_escape_string(): Couldn't fetch mysqli in /var/www/fog/lib/db/MySQL.class.php on line 148
            [Mon Jun 15 10:54:17.712945 2015] [mpm_prefork:notice] [pid 1616] AH00169: caught SIGTERM, shutting down
            [Mon Jun 15 10:54:18.811299 2015] [mpm_prefork:notice] [pid 8423] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1k configured -- resuming normal operations
            [Mon Jun 15 10:54:18.811357 2015] [core:notice] [pid 8423] AH00094: Command line: '/usr/sbin/apache2'
            [Mon Jun 15 10:55:11.356233 2015] [:error] [pid 8461] [client 192.168.10.100:63078] PHP Fatal error:  Call to a member function __toString() on null in /var/www/fog/lib/fog/FOGBase.class.php on line 523, referer: http://192.168.10.60/fog/management/index.php?node=report&sub=pend-mac
            [Mon Jun 15 10:55:25.660002 2015] [mpm_prefork:notice] [pid 8423] AH00169: caught SIGTERM, shutting down
            [Mon Jun 15 10:55:26.742476 2015] [mpm_prefork:notice] [pid 10447] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1k configured -- resuming normal operations
            [Mon Jun 15 10:55:26.742525 2015] [core:notice] [pid 10447] AH00094: Command line: '/usr/sbin/apache2'
            [Mon Jun 15 10:56:36.352633 2015] [:error] [pid 10459] [client 192.168.10.100:63096] PHP Fatal error:  Call to a member function __toString() on null in /var/www/fog/lib/fog/FOGBase.class.php on line 523, referer: http://192.168.10.60/fog/management/index.php?node=report&sub=pend-mac```

            Fog 1.5.9.138
            Debian 11
            Vmware ESXi

            Tom ElliottT 1 Reply Last reply Reply Quote 1
            • Tom ElliottT
              Tom Elliott @Matthieu Jacquart
              last edited by

              @Matthieu-Jacquart Thank you, yes that did help.

              SVN 3554 released to correct that minor little bug.

              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
              • Matthieu JacquartM
                Matthieu Jacquart
                last edited by

                Thanks

                I try to install new SVN (3551 actually installed) but everytime I try to download and install, it reinstall 3551 with previous settings and not the last svn…

                Version: 1.3.0 Installer/Updater
                
                
                  * Found FOG Settings from previous install at: /opt/fog/.fogsettings
                  * Performing upgrade using these settings...
                
                  Starting Debian / Ubuntu / Kubuntu / Edubuntu Installtion.
                
                
                  #####################################################################
                
                  FOG now has everything it needs to setup your server, but please
                  understand that this script will overwrite any setting you may
                  have setup for services like DHCP, apache, pxe, tftp, and NFS.
                
                  It is not recommended that you install this on a production system
                  as this script modifies many of your system settings.
                
                  This script should be run by the root user on Redhat or with sudo on Ubuntu.
                
                  ** Notice ** Redhat users will need to disable SELinux and iptables in
                  order to use FOG
                  Please see our wiki for more information at http://www.fogproject.org/wiki
                
                
                  Here are the settings FOG will use:
                         Base Linux: Debian
                         Detected Linux Distribution: Debian GNU/Linux
                         Installation Type: Normal Server
                         Server IP Address: 192.168.10.60
                         DHCP router Address: 192.168.10.1
                         DHCP DNS Address: 192.168.10.41
                         Interface: eth0
                         Using FOG DHCP: 0
                         Internationalization: 0
                         Image Storage Location: /home/images
                         MySQL Connection Type: MYSQLI_ASYNC
                         Donate: 0
                
                         DHCP will NOT be setup but you must setup your
                         current DHCP server to use FOG for PXE services.
                
                         On a Linux DHCP server you must set:
                             next-server
                
                         On a Windows DHCP server you must set:
                             option 066 & 067
                
                                   Option 066 is the IP of the FOG Server: (e.g. 192.168.10.60)
                                   Option 067 is the undionly.kpxe file: (e.g. undionly.kpxe)
                
                  Are you sure you wish to continue (Y/N) y
                

                Fog 1.5.9.138
                Debian 11
                Vmware ESXi

                Tom ElliottT 1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott @Matthieu Jacquart
                  last edited by

                  @Matthieu-Jacquart You cannot be in the bin folder when you run the update.

                  If you downloaded the trunk to /root/trunk and you install from /root/trunk/bin, to update you would:

                  cd /root/trunk
                  svn up
                  cd bin
                  sudo ./installfog.sh
                  

                  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 1
                  • Matthieu JacquartM
                    Matthieu Jacquart
                    last edited by

                    ok great, everything is ok, thanks !

                    Fog 1.5.9.138
                    Debian 11
                    Vmware ESXi

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

                    160

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project