Of course - checked the logs and I had the user name or password in wrong in fog. Had to be easy. Thanks!
Posts made by BiologyBen
-
RE: Host does not join AD Domain
-
Host does not join AD Domain
I’m certain there is some silly issue that is causing this - I’ve fixed our BIOS / NIC Boot issues, the Windows 2012 server DHCP options for UEFI, the Fog Service installation options and everything else seems to be running well - including installing a snap-in to the PC. I appreciate any help you can provide in solving this last issue!
On a Dell OptiPlex 3050 micro running Windows 10, the Fog Service is installed and operational. It has changed the host name, installed a snapin, reboots on command, etc but does join PC to domain.
I’ve checked that the ‘FogServer’ user & password will allow adding to domain manually, but does not join automatically.
How do I verify that Fog is set-up correctly vs the possibility that some Group Policy or something on the server is preventing the join? Any suggestions would be appreciated - about to install 20 of these in our youth STEAM lab and this is the last hiccup!
Thanks!
-
Snap ins - Dumb down the details for me...
I an a non-techie that runs a large afterschool program for kids. FOG is setup and working fine for PC images, but now I’m trying to learn Snap-ins for adding some programs (Inkscape, LanSchool, Scratch (and some odd ball programs for our Makerspace for the CNC machine, Vinyl cutter & laser cutter)
Just some clarifications - Specifically for MSI installations (I’ll dig into .exe’s and packs at a later time):
-
Do I still need to increase PHP memory limits?
- Wiki instructions are for PHP 5 (and who knows what version of FOG) - I currently seem to have PHP7.
-
Do I need to place the files on the server for PC’s to access, or do I just select it from my local download file after downloading
-
Is there a list of appropriate Snapin Run With Arguments? or just always use /i and nothing else?
-
Is there a list of appropriate Snapin Arguments? or just always use /quiet and nothing else?
-
When would I or would I not hide the arguments?
-
What is a reasonable Snapin Timeout?
-
What does ‘Replicate’ mean and when would I use it? When would I not?
-
This is where I’m at and I would assume will work. Any recommended changes?
-
What needs to happen with programs that may need some per PC configuration settings?
-
-
RE: Boot File too large?
Thank you for your help - I’m going to take this first fix and get some machines reimaged before tackling the updates after all the clients are taken care of.
Very much appreciate it!
-
RE: Boot File too large?
So I continued on in the instruction and ran the code to make changes to the MYSQL root user entries which ultimately fixed the issue - I have the management console back! Thank you!
So should I update to 1.4.4? Should I allow Ubuntu to update? Or leave well enough alone?
-
RE: Boot File too large?
The instructions indicated to rerun the installer. I had the installer on the system from the original install.
I have did not know if downloading and installing the newest version would cause any issues, if Fog 1.4.0 needed to be uninstalled first, etc. Just following the instructions as written - ‘rerun the Fog Installer’
-
RE: Boot File too large?
@sebastian-roth So I tried reinstalling. But it says it failed. Did I do something wrong?
admin@fog-Virtual-Machine:~$ sudo -i root@fog-Virtual-Machine:~# cd fog_1.4.0/bin root@fog-Virtual-Machine:~/fog_1.4.0/bin# ./installfog.sh Installing LSB_Release as needed * Attempting to get release information.......................Done systemd +------------------------------------------+ | ..#######:. ..,#,.. .::##::. | |.:###### .:;####:......;#;.. | |...##... ...##;,;##::::.##... | | ,# ...##.....##:::## ..:: | | ## .::###,,##. . ##.::#.:######::.| |...##:::###::....#. .. .#...#. #...#:::. | |..:####:.. ..##......##::## .. # | | # . ...##:,;##;:::#: ... ##.. | | .# . .:;####;::::.##:::;#:.. | | # ..:;###.. | | | +------------------------------------------+ | Free Computer Imaging Solution | +------------------------------------------+ | Credits: http://fogproject.org/Credits | | http://fogproject.org/Credits | | Released under GPL Version 3 | +------------------------------------------+ Version: 1.4.0 Installer/Updater What version of Linux would you like to run the installation for? 1) Redhat Based Linux (Redhat, CentOS, Mageia) 2) Debian Based Linux (Debian, Ubuntu, Kubuntu, Edubuntu) 3) Arch Linux Choice: [2] Starting Debian based Installation *** Detected a potential need to reinstall apache and php files. *** This will remove the /etc/php* and /etc/apache2* directories *** and remove/purge the apache and php files from this system. *** If you're okay with this please type Y, anything else will *** continue the installation, but may mean you will need to *** remove the files later and make proper changes as *** necessary. (Y/N): N FOG Server installation modes: * Normal Server: (Choice N) This is the typical installation type and will install all FOG components for you on this machine. Pick this option if you are unsure what to pick. * Storage Node: (Choice S) This install mode will only install the software required to make this server act as a node in a storage group More information: http://www.fogproject.org/wiki/index.php?title=InstallationModes What type of installation would you like to do? [N/s (Normal/Storage)] N What is the IP address to be used by this FOG Server? [192.168.1.4]192.168.1.4 Would you like to change the default network interface from eth0? If you are not sure, select No. [y/N] N Would you like to setup a router address for the DHCP server? [Y/n] N Would you like DHCP to handle DNS? [Y/n] N Would you like to use the FOG server for DHCP service? [y/N] N This version of FOG has internationalization support, would you like to install the additional language packs? [y/N] N ###################################################################### # FOG now has everything it needs for this setup, 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. # # It will prepend the running with sudo if root is not set # ###################################################################### # ** Notice ** FOG is difficult to setup securely # # SELinux and IPTables are usually asked to be disabled # # There have been strides in adding capabilities # # The recommendations would now be more appropriate # # to set SELinux to permissive and to disable firewall for now. # # You can find some methods to enable SELinux and maintain firewall # # settings and ports. If you feel comfortable doing so please do # ###################################################################### # Please see our wiki for more information at: # ###################################################################### # https://wiki.fogproject.org/wiki/index.php # ###################################################################### * Here are the settings FOG will use: * Base Linux: Debian * Detected Linux Distribution: Ubuntu * Server IP Address: 192.168.1.4 * Server Subnet Mask: 255.255.255.0 * Interface: eth0 * Installation Type: Normal Server * Internationalization: 0 * Image Storage Location: /images * Using FOG DHCP: No * 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 and filename * On a Windows DHCP server you must set options 066 and 067 * Option 066/next-server is the IP of the FOG Server: (e.g. 192.168.1.4) * Option 067/filename is the bootfile: (e.g. undionly.kpxe) * Are you sure you wish to continue (Y/N) Y * Installation Started * Installing required packages, if this fails | make sure you have an active internet connection. * Adding needed repository....................................OK * Preparing Package Manager...................................OK * Packages to be installed: apache2 bc build-essential cpp curl g++ gawk gcc gzip htmldoc lftp libapache2-mod-php5 libc6 libcurl3 m4 mysql-client mysql-server net-tools nfs-kernel-server openssh-server php5 php5-bcmath php5-cli php5-curl php5-fpm php5-gd php5-json php5-mcrypt php5-mysql php5-mysqlnd php-gettext sysv-rc-conf tar tftpd-hpa tftp-hpa unzip vsftpd wget xinetd zlib1g * Skipping package: apache2...................................(Already Installed) * Skipping package: bc........................................(Already Installed) * Skipping package: build-essential...........................(Already Installed) * Skipping package: cpp.......................................(Already Installed) * Skipping package: curl......................................(Already Installed) * Skipping package: g++.......................................(Already Installed) * Skipping package: gawk......................................(Already Installed) * Skipping package: gcc.......................................(Already Installed) * Skipping package: gzip......................................(Already Installed) * Skipping package: htmldoc...................................(Already Installed) * Skipping package: lftp......................................(Already Installed) * Installing package: libapache2-mod-php5.....................Failed! (Will try later) * Skipping package: libc6.....................................(Already Installed) * Skipping package: libcurl3..................................(Already Installed) * Skipping package: m4........................................(Already Installed) * Skipping package: mysql-client..............................(Already Installed) * Skipping package: mysql-server..............................(Already Installed) * Skipping package: net-tools.................................(Already Installed) * Skipping package: nfs-kernel-server.........................(Already Installed) * Skipping package: openssh-server............................(Already Installed) * Installing package: php5....................................Failed! (Will try later) * Skipping package: php5-bcmath...............................(Does not exist) * Skipping package: php5-cli..................................(Does not exist) * Skipping package: php5-curl.................................(Does not exist) * Skipping package: php5-fpm..................................(Does not exist) * Skipping package: php5-gd...................................(Does not exist) * Skipping package: php5-json.................................(Does not exist) * Skipping package: php5-mcrypt...............................(Does not exist) * Skipping package: php5-mysql................................(Does not exist) * Skipping package: php5-mysqlnd..............................(Does not exist) * Skipping package: php-gettext...............................(Already Installed) * Skipping package: sysv-rc-conf..............................(Already Installed) * Skipping package: tar.......................................(Already Installed) * Skipping package: tftpd-hpa.................................(Already Installed) * Skipping package: tftp-hpa..................................(Already Installed) * Skipping package: unzip.....................................(Already Installed) * Skipping package: vsftpd....................................(Already Installed) * Skipping package: wget......................................(Already Installed) * Skipping package: xinetd....................................(Already Installed) * Skipping package: zlib1g....................................(Already Installed) * Updating packages as needed.................................OK * Installing now everything is updated........................Failed!
-
RE: Boot File too large?
[Wed Sep 27 07:35:05.570443 2017] [mpm_prefork:notice] [pid 35918] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.1.0f configured -- resuming normal operations [Wed Sep 27 07:35:05.570613 2017] [core:notice] [pid 35918] AH00094: Command line: '/usr/sbin/apache2' [Wed Sep 27 11:41:44.660472 2017] [php7:error] [pid 43102] [client 192.168.1.2:55176] PHP Fatal error: Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(176): FOGController->save()\n#2 /var/www/fog/lib/fog/fogpagemanager.class.php(82): HookManager->processEvent('SEARCH_PAGES', Array)\n#3 [internal function]: FOGPageManager->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(457): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/index.php(23): FOGBase::getClass('FOGPageManager')\n#6 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 443 [Wed Sep 27 11:45:53.325143 2017] [php7:error] [pid 43268] [client 192.168.1.4:41208] PHP Fatal error: Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(176): FOGController->save()\n#2 /var/www/fog/lib/fog/fogpagemanager.class.php(82): HookManager->processEvent('SEARCH_PAGES', Array)\n#3 [internal function]: FOGPageManager->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(457): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/index.php(23): FOGBase::getClass('FOGPageManager')\n#6 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 443 [Wed Sep 27 11:51:42.860788 2017] [mpm_prefork:notice] [pid 35918] AH00169: caught SIGTERM, shutting down [Wed Sep 27 11:52:35.118713 2017] [mpm_prefork:notice] [pid 1074] AH00163: Apache/2.4.27 (Ubuntu) OpenSSL/1.1.0f configured -- resuming normal operations [Wed Sep 27 11:52:35.128385 2017] [core:notice] [pid 1074] AH00094: Command line: '/usr/sbin/apache2' [Wed Sep 27 11:56:43.258574 2017] [php7:error] [pid 1304] [client 192.168.1.2:55309] PHP Fatal error: Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(176): FOGController->save()\n#2 /var/www/fog/lib/fog/fogpagemanager.class.php(82): HookManager->processEvent('SEARCH_PAGES', Array)\n#3 [internal function]: FOGPageManager->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(457): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/index.php(23): FOGBase::getClass('FOGPageManager')\n#6 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 443 [Wed Sep 27 11:56:48.257785 2017] [php7:error] [pid 1144] [client 192.168.1.2:55313] PHP Fatal error: Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(176): FOGController->save()\n#2 /var/www/fog/lib/fog/fogpagemanager.class.php(82): HookManager->processEvent('SEARCH_PAGES', Array)\n#3 [internal function]: FOGPageManager->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(457): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/index.php(23): FOGBase::getClass('FOGPageManager')\n#6 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 443 [Wed Sep 27 13:23:48.588303 2017] [php7:error] [pid 1304] [client 192.168.1.4:35028] PHP Fatal error: Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(176): FOGController->save()\n#2 /var/www/fog/lib/fog/fogpagemanager.class.php(82): HookManager->processEvent('SEARCH_PAGES', Array)\n#3 [internal function]: FOGPageManager->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(457): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/index.php(23): FOGBase::getClass('FOGPageManager')\n#6 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 443
-
RE: Boot File too large?
It took forever, but the command finished. Afterwards, the system indicated that updates were needed and those were installed. No error about no space on the /boot partition!
Unfortunately, after reboot, Still get an http 500 error when browsing to the ipaddress/fog
-
RE: Boot File too large?
Running your ‘fancy’ command now - I’ll update when it’s finished.
Also, any way to expand the boot partition or automagically remove the old files and solve this for good?
-
RE: Boot File too large?
FOG Version: 1.4.0
OS: Ubuntu 16.04 as a VM on a Windows 2012r2 Server
2012r2 server functions as DC, AD DS, DNS, DHCP -
Boot File too large?
It seems our system had been functioning fine, but no longer will provide PXE booting or any services. Logging into the system through Hyper-V only shows an error pertaining to the boot drive out of space. And I haven’t been able to fix this error.
Is this something that would prevent FOG from operating? Any good advice on fixing it?
-
Recommended Sysprep Guide for FOG Deployment
SERVER
FOG Version: 1.4.0
OS: Ubuntu 16.04 as a VM on a Windows 2012r2 Server (via Hyper-V)
2012r2 server functions as DC, AD DS, DNS, DHCPCLIENT
Service Version: 0.11.12 (Smart Installer)
OS: Windows 7Now that I can boot into FOG menu, we’ve registered machines and are getting that side set up.
We have also created a ‘ideal’ machine with all the software, etc installed and most of the other steps located at https://wiki.fogproject.org/wiki/index.php?title=Client_Setup and have imaged it successfully.
However, I’m looking for an up to date source for syspreping for Fog deployment across machines.
In my current (and most needed) case, I have 35 near-identical PC’s (Dell Optiplex 850) and am using a MS Volume License (currently with MAK, but could setup KMS if warranted)
The Client Setup page currently says:
Run Sysprep
Windows XP
<content needed>Windows 7
<content needed>In searching I’m seeing lots of mixed info so if there is a specific guide that is most appropriate for us to follow, I’d appreciate being pointed in that direction.
Thanks for your advice!
-
RE: TFTP Boot File Not Found
Thank you both for all your help! We’ve got 40+ PC’s to image and keep operational for about 1,200 youth at our org and this will make that much, much easier going forward!
-
RE: TFTP Boot File Not Found
Absolutely correct - There was a space on my DHCP option 67. The system boots into the fog menu perfectly with it removed.
And here I started to think that maybe it wasn’t a stupid mistake on my part!
-
RE: TFTP Boot File Not Found
For posterity sake:
In chat, after confirming the machine MAC address, george1421 said, ‘In the pcap file, I see it requesting the file size for undionly.kpxe then asking for the first block, but it never asks for the next block since the block sizes are 1456 but the total file is 95348.’
This is an old Dell Optiplex 580 and had bios A05 so I upgraded to A08. Unfortunately, no change yet.
-
RE: TFTP Boot File Not Found
I see the following:
admin@fog-Virtual-Machine:~$ ls -al /tftpboot total 7208 drwxr-xr-x 6 fog root 4096 May 30 19:51 . drwxr-xr-x 27 root root 4096 May 30 19:50 .. drwxr-xr-x 2 fog root 4096 May 30 19:50 10secdelay -rw-r-xr-x 1 fog root 868 May 30 19:50 boot.txt -rw-r--r-- 1 root root 426 May 30 19:51 default.ipxe drwxr-xr-x 2 fog root 4096 May 30 19:50 i386-7156-efi drwxr-xr-x 2 fog root 4096 May 30 19:50 i386-efi -rw-r-xr-x 1 fog root 199200 May 30 19:50 intel7156.efi -rw-r-xr-x 1 fog root 226624 May 30 19:50 intel.efi -rw-r-xr-x 1 fog root 95712 May 30 19:50 intel.kkpxe -rw-r-xr-x 1 fog root 95760 May 30 19:50 intel.kpxe -rw-r-xr-x 1 fog root 95763 May 30 19:50 intel.pxe -rw-r-xr-x 1 fog root 942112 May 30 19:50 ipxe7156.efi -rw-r-xr-x 1 fog root 994048 May 30 19:50 ipxe.efi -rw-r-xr-x 1 fog root 870400 May 30 19:50 ipxe.iso -rw-r-xr-x 1 fog root 349096 May 30 19:50 ipxe.kkpxe -rw-r-xr-x 1 fog root 349144 May 30 19:50 ipxe.kpxe -rw-r-xr-x 1 fog root 348333 May 30 19:50 ipxe.krn -rw-r-xr-x 1 fog root 348913 May 30 19:50 ipxe.pxe -rw-r-xr-x 1 fog root 123448 May 30 19:50 ldlinux.c32 -rw-r-xr-x 1 fog root 187820 May 30 19:50 libcom32.c32 -rw-r-xr-x 1 fog root 26468 May 30 19:50 libutil.c32 -rw-r-xr-x 1 fog root 26140 May 30 19:50 memdisk -rw-r-xr-x 1 fog root 29208 May 30 19:50 menu.c32 -rw-r-xr-x 1 fog root 43186 May 30 19:50 pxelinux.0 -rw-r-xr-x 1 fog root 43210 May 30 19:50 pxelinux.0.old drwxr-xr-x 2 fog root 4096 May 30 19:50 pxelinux.cfg -rw-r-xr-x 1 fog root 199168 May 30 19:50 realtek7156.efi -rw-r-xr-x 1 fog root 225984 May 30 19:50 realtek.efi -rw-r-xr-x 1 fog root 96516 May 30 19:50 realtek.kkpxe -rw-r-xr-x 1 fog root 96564 May 30 19:50 realtek.kpxe -rw-r-xr-x 1 fog root 96611 May 30 19:50 realtek.pxe -rw-r-xr-x 1 fog root 197984 May 30 19:50 snp7156.efi -rw-r-xr-x 1 fog root 225056 May 30 19:50 snp.efi -rw-r-xr-x 1 fog root 198176 May 30 19:50 snponly7156.efi -rw-r-xr-x 1 fog root 225248 May 30 19:50 snponly.efi -rw-r-xr-x 1 fog root 95300 May 30 19:50 undionly.kkpxe -rw-r-xr-x 1 fog root 95348 May 30 19:50 undionly.kpxe -rw-r-xr-x 1 fog root 95316 May 30 19:50 undionly.pxe -rw-r-xr-x 1 fog root 29728 May 30 19:50 vesamenu.c32
-
RE: TFTP Boot File Not Found
Unfortunately, I get (Error - Invalid file type. Allowed types are: .png, .jpg, .bmp, .jpeg) whether I choose upload image or upload file.
https://drive.google.com/file/d/0B4QEf62K03tMZU53dDl6Zjk3eTg/view?usp=sharing
-
RE: TFTP Boot File Not Found
@george1421 said in TFTP Boot File Not Found:
if its running your output should look like this:
[root@sfog03 bin]# netstat -an|grep 69
udp 0 0 0.0.0.0:69 0.0.0.0:*I get:
udp 0 0 0.0.0.0:69 0.0.0.0:* udp 0 0 0.0.0.0:56930 0.0.0.0:* udp6 0 0 :::69 :::* udp6 0 0 :::51369 :::* I get udp6 0 0 :::69 :::* udp6 0 0 :::51369 :::*
Which does have one line that matches yours
Working on the other - gedit wouldn’t open - here it is
[0_1496768752259_output.pcap](Uploading 100%)
– Oops - apparently I cannot upload this file type and it is obviously not a txt file - Installing wireshark… -
RE: TFTP Boot File Not Found
@george1421 said in TFTP Boot File Not Found:
When you installed fog did you answer no to using the dhcp server built into FOG?
Right - I believe I answered no as I knew we had DHCP on the 2012 server.
@george1421 said in TFTP Boot File Not Found:
If fog and your pxe booting clients are on the same subnet
Yes - They are.
I’ll try to follow the guide and let you know.