Of course - checked the logs and I had the user name or password in wrong in fog. Had to be easy. Thanks!
Best posts made by BiologyBen
-
RE: Host does not join AD Domain
-
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!
Latest posts made by BiologyBen
-
RE: Host does not join AD Domain
Of course - checked the logs and I had the user name or password in wrong in fog. Had to be easy. Thanks!
-
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?