+------------------------------------------+ | ..#######:. ..,#,.. .::##::. | |.:###### .:;####:......;#;.. | |...##... ...##;,;##::::.##... | | ,# ...##.....##:::## ..:: | | ## .::###,,##. . ##.::#.:######::.| |...##:::###::....#. .. .#...#. #...#:::. | |..:####:.. ..##......##::## .. # | | # . ...##:,;##;:::#: ... ##.. | | .# . .:;####;::::.##:::;#:.. | | # ..:;###.. | | | +------------------------------------------+ | Free Computer Imaging Solution | +------------------------------------------+ | Credits: http://fogproject.org/Credits | | http://fogproject.org/Credits | | Released under GPL Version 3 | +------------------------------------------+ Version: 1.5.9 Installer/Updater * The local firewall seems to be currently enabled on your system. This can cause * issues on FOG servers if you are not well experienced and know what you are doing. * Should the installer try to disable the local firewall for you now? (y/N) * We were unable to disable the firewall on your system. Read up on how * you can disable it manually. Proceeding with the installation anyway... * Hit [Enter] so we know you've read this message. 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] 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)] Invalid input, please try again. 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: * em3 - 192.168.101.253/23 * em4 - * em1 - * em2 - * virbr0 - 192.168.122.1/24 * docker0 - 172.17.0.1/16 * vethe898642 - Would you like to change the default network interface from em3? If you are not sure, select No. [y/N] Would you like to setup a router address for the DHCP server? [Y/n] Would you like DHCP to handle DNS? [Y/n] 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: fogserver.centos 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: em3 * Server IP Address: 192.168.101.253 * Server Subnet Mask: 255.255.254.0 * Server Hostname: fogserver.centos * Installation Type: Normal Server * Internationalization: 1 * 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.101.253) * Option 067/filename is the bootfile: (e.g. undionly.kpxe) * Are you sure you wish to continue (Y/N) * 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 gettext 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: gettext.................................(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) * Installing package: mariadb.................................OK * Installing package: mariadb-server..........................OK * 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: gettext...................................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..................................Skipped * 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...............................OK * Setting up MySQL user and database.......................... The installer detected a blank database *root* password. This is very common on a new install or if you upgrade from any version of FOG before 1.5.8. To improve overall security we ask you to supply an appropriate database *root* password now. NOTICE: Make sure you choose a good password but also one you can remember or use a password manager to store it. The installer won't store the given password in any place and it will be lost right after the installer finishes! Please enter a new database *root* password to be set: OK * Backing up user reports.....................................Done * Stopping web service........................................OK * Setting up Apache and PHP files.............................OK * Testing and removing symbolic links if found................OK * Backing up old data.........................................OK * Copying new files to web folder.............................OK * Creating the language binaries..............................Done * Creating config file........................................OK * Creating redirection index file.............................Skipped * Downloading kernel, init and fog-client binaries............Done * Copying binaries to destination paths.......................OK * Enabling apache and fpm services on boot....................OK * Creating SSL CA.............................................OK * Creating SSL Private Key....................................OK * Creating SSL Certificate....................................OK * Creating auth pub key and cert..............................OK * Resetting SSL Permissions...................................OK * Setting up Apache virtual host (no SSL).....................OK * Starting and checking status of web services................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 /software/fog/bin/error_logs/fog_error_1.5.9.log !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 7月 01 21:33:23 fogserver.centos systemd[1]: Started The PHP FastCGI Process Manager. 7月 01 21:33:23 fogserver.centos systemd[6418]: Failed at step EXEC spawning /usr/local/php/sbin/php-fpm: No such file or directory 7月 01 21:33:23 fogserver.centos systemd[1]: php-fpm.service: main process exited, code=exited, status=203/EXEC 7月 01 21:33:23 fogserver.centos systemd[1]: Unit php-fpm.service entered failed state. 7月 01 21:33:23 fogserver.centos systemd[1]: php-fpm.service failed.