[3546 - 3551] can't approuve pending mac
-
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
Matthieuedit ch3i : Add SVN versions in title.
-
I noticed the same thing. Is there any link or something to describe how pending/multiple macs are now handled?
-
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.
-
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```
-
@Matthieu-Jacquart Thank you, yes that did help.
SVN 3554 released to correct that minor little bug.
-
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
-
@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
-
ok great, everything is ok, thanks !