[root@backup bin]# ./installfog.sh Installing LSB_Release as needed * Attempting to get release information.......................Done +------------------------------------------+ | ..#######:. ..,#,.. .::##::. | |.:###### .:;####:......;#;.. | |...##... ...##;,;##::::.##... | | ,# ...##.....##:::## ..:: | | ## .::###,,##. . ##.::#.:######::.| |...##:::###::....#. .. .#...#. #...#:::. | |..:####:.. ..##......##::## .. # | | # . ...##:,;##;:::#: ... ##.. | | .# . .:;####;::::.##:::;#:.. | | # ..:;###.. | | | +------------------------------------------+ | Free Computer Imaging Solution | +------------------------------------------+ | Credits: http://fogproject.org/Credits | | http://fogproject.org/Credits | | Released under GPL Version 3 | +------------------------------------------+ Version: 1.5.9 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: [1] 1 Starting Redhat based Installation 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)] We found the following interfaces on your system: * enp65s0f0 - 192.168.60.10/32 * enp65s0f1 - * em1 - * em2 - * em3 - * em4 - * ib0 - 10.10.10.105/24 * ib1 - Would you like to change the default network interface from enp65s0f0? If you are not sure, select No. [y/N] Would you like to setup a router address for the DHCP server? [Y/n] What is the IP address to be used for the router on the DHCP server? [192.168.60.254] Would you like DHCP to handle DNS? [Y/n] What DNS address should DHCP allow? [192.168.60.1] Would you like to use the FOG server for DHCP service? [y/N] This version of FOG has internationalization support, would you like to install the additional language packs? [y/N] Using encrypted connections is state of the art on the web and we encourage you to enable this for your FOG server. But using HTTPS has some implications within FOG, PXE and fog-client and you want to read https://wiki.fogproject.org/HTTPS before you decide! Would you like to enable secure HTTPS on your FOG server? [y/N] Which hostname would you like to use? Currently is: backup.ldn.unit.tv Note: This hostname will be in the certificate we generate for your FOG webserver. The hostname will only be used for this but won't be set as a local hostname on your server! Would you like to change it? If you are not sure, select No. [y/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 # ###################################################################### # Please see our wiki for more information at: # ###################################################################### # https://wiki.fogproject.org/wiki/index.php # ###################################################################### * Here are the settings FOG will use: * Base Linux: Redhat * Detected Linux Distribution: CentOS Linux * Interface: enp65s0f0 * Server IP Address: 192.168.60.10 * Server Subnet Mask: 255.255.255.255 * Server Hostname: backup.ldn.unit.tv * 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.60.10) * Option 067/filename is the bootfile: (e.g. undionly.kpxe) * Are you sure you wish to continue (Y/N) Y * Installation Started * Testing internet connection.................................Done * Adjusting repository (can take a long time for cleanup).....OK * Preparing Package Manager...................................OK * Packages to be installed: bc curl gcc gcc-c++ genisoimage git gzip httpd lftp m4 make mod_ssl mtools mysql mysql-server net-tools nfs-utils php php-bcmath php-cli php-common php-fpm php-gd php-ldap php-mbstring php-mysqlnd php-process syslinux tar tftp-server unzip vsftpd wget xinetd xz-devel * Skipping package: bc......................................(Already Installed) * Skipping package: curl....................................(Already Installed) * Skipping package: gcc.....................................(Already Installed) * Skipping package: gcc-c++.................................(Already Installed) * Skipping package: genisoimage.............................(Already Installed) * Skipping package: git.....................................(Already Installed) * Skipping package: gzip....................................(Already Installed) * Skipping package: httpd...................................(Already Installed) * Skipping package: lftp....................................(Already Installed) * Skipping package: m4......................................(Already Installed) * Skipping package: make....................................(Already Installed) * Skipping package: mod_ssl.................................(Already Installed) * Skipping package: mtools..................................(Already Installed) * Skipping package: mariadb.................................(Already Installed) * Skipping package: mariadb-server..........................(Already Installed) * Skipping package: net-tools...............................(Already Installed) * Skipping package: nfs-utils...............................(Already Installed) * Skipping package: php.....................................(Already Installed) * Skipping package: php-bcmath..............................(Already Installed) * Skipping package: php-cli.................................(Already Installed) * Skipping package: php-common..............................(Already Installed) * Skipping package: php-fpm.................................(Already Installed) * Skipping package: php-gd..................................(Already Installed) * Skipping package: php-ldap................................(Already Installed) * Skipping package: php-mbstring............................(Already Installed) * Skipping package: php-mysqlnd.............................(Already Installed) * Skipping package: php-process.............................(Already Installed) * Skipping package: syslinux................................(Already Installed) * Skipping package: tar.....................................(Already Installed) * Skipping package: tftp-server.............................(Already Installed) * Skipping package: unzip...................................(Already Installed) * Skipping package: vsftpd..................................(Already Installed) * Skipping package: wget....................................(Already Installed) * Skipping package: xinetd..................................(Already Installed) * Skipping package: xz-devel................................(Already Installed) * Updating packages as needed.................................OK * Confirming package installation * Checking package: bc........................................OK * Checking package: curl......................................OK * Checking package: gcc.......................................OK * Checking package: gcc-c++...................................OK * Checking package: genisoimage...............................OK * Checking package: git.......................................OK * Checking package: gzip......................................OK * Checking package: httpd.....................................OK * Checking package: lftp......................................OK * Checking package: m4........................................OK * Checking package: make......................................OK * Checking package: mariadb...................................OK * Checking package: mariadb-server............................OK * Checking package: mod_ssl...................................OK * Checking package: mtools....................................OK * Checking package: net-tools.................................OK * Checking package: nfs-utils.................................OK * Checking package: php.......................................OK * Checking package: php-bcmath................................OK * Checking package: php-cli...................................OK * Checking package: php-common................................OK * Checking package: php-fpm...................................OK * Checking package: php-gd....................................OK * Checking package: php-ldap..................................OK * Checking package: php-mbstring..............................OK * Checking package: php-mysqlnd...............................OK * Checking package: php-process...............................OK * Checking package: syslinux..................................OK * Checking package: tar.......................................OK * Checking package: tftp-server...............................OK * Checking package: unzip.....................................OK * Checking package: vsftpd....................................OK * Checking package: wget......................................OK * Checking package: xinetd....................................OK * Checking package: xz-devel..................................OK * Configuring services * Setting up fogproject user..................................OK * Locking fogproject as a system account......................OK * Setting up fogproject password..............................OK * Stopping FOGMulticastManager.service Service................OK * Stopping FOGImageReplicator.service Service.................OK * Stopping FOGSnapinReplicator.service Service................OK * Stopping FOGScheduler.service Service.......................OK * Stopping FOGPingHosts.service Service.......................OK * Stopping FOGSnapinHash.service Service......................OK * Stopping FOGImageSize.service Service.......................OK * Setting up and starting MySQL...............................Failed! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! The installer was not able to run all the way to the end as !! !! something has caused it to fail. The following few lines are !! !! from the error log file which might help us figure out what's !! !! wrong. Please add this information when reporting an error. !! !! As well you might want to take a look at the full error log !! !! in /root/fogproject/bin/error_logs/fog_error_1.5.9.log !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Changing shell for fogproject. New password: Retype new password: Changing password for user fogproject. passwd: all authentication tokens updated successfully. Created symlink from /etc/systemd/system/multi-user.target.wants/mariadb.service to /usr/lib/systemd/system/mariadb.service. Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.