Changing fog server IP address problems
-
Hi,
the error.log is blank as you can see below
but there is a file called error.log.1 which has some info in it as you can see below
any help would be appreciated
-
During the execution of the installer, it writes an install log into a directory in the same directory as the fog installer
installfog.sh
There should be an error log in that directory as well as an install history for each version of fog that has been installed. Look in the error log there to see if we can understand why it had an issue backing up the database.Hint: If you us putty from a windows computer to connect to the fog server it might be easier to copy and paste information.
-
@george1421
Please find the install log below+------------------------------------------+ | ..#######:. ..,#,.. .::##::. | |.:###### .:;####:......;#;.. | |...##... ...##;,;##::::.##... | | ,# ...##.....##:::## ..:: | | ## .::###,,##. . ##.::#.:######::.| |...##:::###::....#. .. .#...#. #...#:::. | |..:####:.. ..##......##::## .. # | | # . ...##:,;##;:::#: ... ##.. | | .# . .:;####;::::.##:::;#:.. | | # ..:;###.. | | | +------------------------------------------+ | Free Computer Imaging Solution | +------------------------------------------+ | Credits: http://fogproject.org/Credits | | http://fogproject.org/Credits | | Released under GPL Version 3 | +------------------------------------------+ Version: 1.4.4 Installer/Updater * Found FOG Settings from previous install at: /opt/fog/.fogsettings * Performing upgrade using these settings Starting Debian based Installation ###################################################################### # 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: * Server Subnet Mask: * Interface: eth0 * Installation Type: Normal Server * Internationalization: * 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. ) * Option 067/filename is the bootfile: (e.g. undionly.kpxe) * Are you sure you wish to continue (Y/N) * 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-php7.1 libc6 libcurl3 m4 mysql-client mysql-server net-tools nfs-kernel-server openssh-server php7.1 php7.1-bcmath php7.1-cli php7.1-curl php7.1-fpm php7.1-gd php7.1-json php7.1-ldap php7.1-mbstring php7.1-mcrypt php7.1-mysql 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) * Skipping package: libapache2-mod-php7.1...................(Already Installed) * 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) * Skipping package: php7.1..................................(Already Installed) * Skipping package: php7.1-bcmath...........................(Already Installed) * Skipping package: php7.1-cli..............................(Already Installed) * Skipping package: php7.1-curl.............................(Already Installed) * Skipping package: php7.1-fpm..............................(Already Installed) * Skipping package: php7.1-gd...............................(Already Installed) * Skipping package: php7.1-json.............................(Already Installed) * Skipping package: php7.1-ldap.............................(Already Installed) * Skipping package: php7.1-mbstring.........................(Already Installed) * Skipping package: php7.1-mcrypt...........................(Already Installed) * Skipping package: php7.1-mysql............................(Already Installed) * 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 * Confirming package installation * Checking package: apache2...................................OK * Checking package: bc........................................OK * Checking package: build-essential...........................OK * Checking package: cpp.......................................OK * Checking package: curl......................................OK * Checking package: g++.......................................OK * Checking package: gawk......................................OK * Checking package: gcc.......................................OK * Checking package: gzip......................................OK * Checking package: htmldoc...................................OK * Checking package: lftp......................................OK * Checking package: libapache2-mod-php7.1.....................OK * Checking package: libc6.....................................OK * Checking package: libcurl3..................................OK * Checking package: m4........................................OK * Checking package: mysql-client..............................OK * Checking package: mysql-server..............................OK * Checking package: net-tools.................................OK * Checking package: nfs-kernel-server.........................OK * Checking package: openssh-server............................OK * Checking package: php7.1....................................OK * Checking package: php7.1-bcmath.............................OK * Checking package: php7.1-cli................................OK * Checking package: php7.1-curl...............................OK * Checking package: php7.1-fpm................................OK * Checking package: php7.1-gd.................................OK * Checking package: php7.1-json...............................OK * Checking package: php7.1-ldap...............................OK * Checking package: php7.1-mbstring...........................OK * Checking package: php7.1-mcrypt.............................OK * Checking package: php7.1-mysql..............................OK * Checking package: php-gettext...............................OK * Checking package: sysv-rc-conf..............................OK * Checking package: tar.......................................OK * Checking package: tftpd-hpa.................................OK * Checking package: tftp-hpa..................................OK * Checking package: unzip.....................................OK * Checking package: vsftpd....................................OK * Checking package: wget......................................OK * Checking package: xinetd....................................OK * Checking package: zlib1g....................................OK * Configuring services * Setting up fog user.........................................Already setup * Setting up fog password.....................................OK * Stopping FOGMulticastManager Service........................OK * Stopping FOGImageReplicator Service.........................OK * Stopping FOGSnapinReplicator Service........................OK * Stopping FOGScheduler Service...............................OK * Stopping FOGPingHosts Service...............................OK * Stopping FOGSnapinHash Service..............................OK * Stopping FOGImageSize Service...............................OK * Setting up and starting MySQL...............................OK * Backing up user reports.....................................Done * Stopping web service........................................OK * Removing vhost file.........................................OK * Stopping FOGMulticastManager Service........................OK * Stopping FOGImageReplicator Service.........................OK * Stopping FOGSnapinReplicator Service........................OK * Stopping FOGScheduler Service...............................OK * Stopping FOGPingHosts Service...............................OK * Stopping FOGSnapinHash Service..............................OK * Stopping FOGImageSize Service...............................OK * Setting up and starting MySQL...............................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 config file........................................OK * Unzipping the binaries......................................Done * Copying binaries where needed...............................Done * Enabling apache and fpm services on boot....................OK * Creating SSL Certificate....................................OK * Creating auth pub key and cert..............................OK * Resetting SSL Permissions...................................OK * Setting up SSL FOG Server...................................OK * Starting and checking status of web services................OK * Changing permissions on apache log files....................OK * Backing up database.........................................Failed!
-
@xcvtop Rats!! I thought it would have given a bit more info than what is displayed on the screen.
-
@george1421
please find the fog error log below
[0_1505225873021_fog_error_1.4.4.log](Uploading 100%)/usr/bin/lsb_release /opt/fog/.fogsettings Reading package lists... Building dependency tree... Reading state information... software-properties-common is already the newest version. python-software-properties is already the newest version. The following packages were automatically installed and are no longer required: libclamav6 liblua5.1-0 libonig2 libqdbm14 libssl1.0.2 linux-headers-3.13.0-115 linux-headers-3.13.0-115-generic linux-headers-3.13.0-32 linux-headers-3.13.0-32-generic linux-image-3.13.0-115-generic linux-image-3.13.0-32-generic linux-image-extra-3.13.0-115-generic linux-image-extra-3.13.0-32-generic Use 'apt-get autoremove' to remove them. 0 to upgrade, 0 to newly install, 0 to remove and 3 not to upgrade. 11 Sep 14:48:04 ntpdate[3995]: step time server 85.199.214.101 offset 10.466897 sec gpg: keyring `/tmp/tmp025p26qz/secring.gpg' created gpg: keyring `/tmp/tmp025p26qz/pubring.gpg' created gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com gpg: /tmp/tmp025p26qz/trustdb.gpg: trustdb created gpg: key E5267A6C: public key "Launchpad PPA for Ondřej Surý" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK gpg: keyring `/tmp/tmpgghzf6vh/secring.gpg' created gpg: keyring `/tmp/tmpgghzf6vh/pubring.gpg' created gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com gpg: /tmp/tmpgghzf6vh/trustdb.gpg: trustdb created gpg: key E5267A6C: public key "Launchpad PPA for Ondřej Surý" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK Hit http://security.ubuntu.com trusty-security InRelease Ign http://extras.ubuntu.com trusty InRelease Hit http://extras.ubuntu.com trusty Release.gpg Hit http://ppa.launchpad.net trusty InRelease Ign http://gb.archive.ubuntu.com trusty InRelease Hit http://extras.ubuntu.com trusty Release Get:1 http://gb.archive.ubuntu.com trusty-updates InRelease [65.9 kB] Hit http://ppa.launchpad.net trusty InRelease Hit http://gb.archive.ubuntu.com trusty-backports InRelease Hit http://gb.archive.ubuntu.com trusty Release.gpg Hit http://gb.archive.ubuntu.com trusty Release Hit http://security.ubuntu.com trusty-security/main Sources Hit http://security.ubuntu.com trusty-security/restricted Sources Hit http://security.ubuntu.com trusty-security/universe Sources Hit http://ppa.launchpad.net trusty/main amd64 Packages Hit http://security.ubuntu.com trusty-security/multiverse Sources Hit http://security.ubuntu.com trusty-security/main amd64 Packages Hit http://ppa.launchpad.net trusty/main i386 Packages Hit http://extras.ubuntu.com trusty/main Sources Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages Hit http://security.ubuntu.com trusty-security/universe amd64 Packages Hit http://extras.ubuntu.com trusty/main amd64 Packages Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages Hit http://ppa.launchpad.net trusty/main Translation-en Hit http://security.ubuntu.com trusty-security/main i386 Packages Hit http://extras.ubuntu.com trusty/main i386 Packages Hit http://security.ubuntu.com trusty-security/restricted i386 Packages Hit http://ppa.launchpad.net trusty/main amd64 Packages Hit http://security.ubuntu.com trusty-security/universe i386 Packages Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages Hit http://ppa.launchpad.net trusty/main i386 Packages Hit http://security.ubuntu.com trusty-security/main Translation-en Hit http://security.ubuntu.com trusty-security/multiverse Translation-en Hit http://security.ubuntu.com trusty-security/restricted Translation-en Hit http://ppa.launchpad.net trusty/main Translation-en Get:2 http://gb.archive.ubuntu.com trusty-updates/main Sources [404 kB] Hit http://security.ubuntu.com trusty-security/universe Translation-en Ign http://extras.ubuntu.com trusty/main Translation-en_GB Get:3 http://gb.archive.ubuntu.com trusty-updates/restricted Sources [6,331 B] Ign http://extras.ubuntu.com trusty/main Translation-en Get:4 http://gb.archive.ubuntu.com trusty-updates/universe Sources [189 kB] Get:5 http://gb.archive.ubuntu.com trusty-updates/multiverse Sources [7,768 B] Get:6 http://gb.archive.ubuntu.com trusty-updates/main amd64 Packages [1,018 kB] Get:7 http://gb.archive.ubuntu.com trusty-updates/restricted amd64 Packages [17.1 kB] Get:8 http://gb.archive.ubuntu.com trusty-updates/universe amd64 Packages [425 kB] Get:9 http://gb.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [14.3 kB] Get:10 http://gb.archive.ubuntu.com trusty-updates/main i386 Packages [964 kB] Get:11 http://gb.archive.ubuntu.com trusty-updates/restricted i386 Packages [16.9 kB] Get:12 http://gb.archive.ubuntu.com trusty-updates/universe i386 Packages [427 kB] Get:13 http://gb.archive.ubuntu.com trusty-updates/multiverse i386 Packages [14.7 kB] Hit http://gb.archive.ubuntu.com trusty-updates/main Translation-en Hit http://gb.archive.ubuntu.com trusty-updates/multiverse Translation-en Hit http://gb.archive.ubuntu.com trusty-updates/restricted Translation-en Hit http://gb.archive.ubuntu.com trusty-updates/universe Translation-en Hit http://gb.archive.ubuntu.com trusty-backports/main Sources Hit http://gb.archive.ubuntu.com trusty-backports/restricted Sources Hit http://gb.archive.ubuntu.com trusty-backports/universe Sources Hit http://gb.archive.ubuntu.com trusty-backports/multiverse Sources Hit http://gb.archive.ubuntu.com trusty-backports/main amd64 Packages Hit http://gb.archive.ubuntu.com trusty-backports/restricted amd64 Packages Hit http://gb.archive.ubuntu.com trusty-backports/universe amd64 Packages Hit http://gb.archive.ubuntu.com trusty-backports/multiverse amd64 Packages Hit http://gb.archive.ubuntu.com trusty-backports/main i386 Packages Hit http://gb.archive.ubuntu.com trusty-backports/restricted i386 Packages Hit http://gb.archive.ubuntu.com trusty-backports/universe i386 Packages Hit http://gb.archive.ubuntu.com trusty-backports/multiverse i386 Packages Hit http://gb.archive.ubuntu.com trusty-backports/main Translation-en Hit http://gb.archive.ubuntu.com trusty-backports/multiverse Translation-en Hit http://gb.archive.ubuntu.com trusty-backports/restricted Translation-en Hit http://gb.archive.ubuntu.com trusty-backports/universe Translation-en Hit http://gb.archive.ubuntu.com trusty/main Sources Hit http://gb.archive.ubuntu.com trusty/restricted Sources Hit http://gb.archive.ubuntu.com trusty/universe Sources Hit http://gb.archive.ubuntu.com trusty/multiverse Sources Hit http://gb.archive.ubuntu.com trusty/main amd64 Packages Hit http://gb.archive.ubuntu.com trusty/restricted amd64 Packages Hit http://gb.archive.ubuntu.com trusty/universe amd64 Packages Hit http://gb.archive.ubuntu.com trusty/multiverse amd64 Packages Hit http://gb.archive.ubuntu.com trusty/main i386 Packages Hit http://gb.archive.ubuntu.com trusty/restricted i386 Packages Hit http://gb.archive.ubuntu.com trusty/universe i386 Packages Hit http://gb.archive.ubuntu.com trusty/multiverse i386 Packages Hit http://gb.archive.ubuntu.com trusty/main Translation-en_GB Hit http://gb.archive.ubuntu.com trusty/main Translation-en Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en_GB Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en_GB Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en Hit http://gb.archive.ubuntu.com trusty/universe Translation-en_GB Hit http://gb.archive.ubuntu.com trusty/universe Translation-en Fetched 3,570 kB in 6s (566 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... ntpdate is already the newest version. software-properties-common is already the newest version. python-software-properties is already the newest version. The following packages were automatically installed and are no longer required: libclamav6 liblua5.1-0 libonig2 libqdbm14 libssl1.0.2 linux-headers-3.13.0-115 linux-headers-3.13.0-115-generic linux-headers-3.13.0-32 linux-headers-3.13.0-32-generic linux-image-3.13.0-115-generic linux-image-3.13.0-32-generic linux-image-extra-3.13.0-115-generic linux-image-extra-3.13.0-32-generic Use 'apt-get autoremove' to remove them. 0 to upgrade, 0 to newly install, 0 to remove and 3 not to upgrade. 11 Sep 14:48:28 ntpdate[4125]: step time server 85.199.214.101 offset 10.467379 sec Generating locales... en_US.UTF-8... up-to-date Generation complete. gpg: keyring `/tmp/tmpbat7dzl5/secring.gpg' created gpg: keyring `/tmp/tmpbat7dzl5/pubring.gpg' created gpg: requesting key E5267A6C from hkp server keyserver.ubuntu.com gpg: /tmp/tmpbat7dzl5/trustdb.gpg: trustdb created gpg: key E5267A6C: public key "Launchpad PPA for Ondřej Surý" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK Ign http://extras.ubuntu.com trusty InRelease Hit http://security.ubuntu.com trusty-security InRelease Ign http://gb.archive.ubuntu.com trusty InRelease Hit http://extras.ubuntu.com trusty Release.gpg Hit http://ppa.launchpad.net trusty InRelease Hit http://gb.archive.ubuntu.com trusty-updates InRelease Hit http://extras.ubuntu.com trusty Release Hit http://gb.archive.ubuntu.com trusty-backports InRelease Hit http://ppa.launchpad.net trusty InRelease Hit http://gb.archive.ubuntu.com trusty Release.gpg Hit http://security.ubuntu.com trusty-security/main Sources Hit http://gb.archive.ubuntu.com trusty Release Hit http://security.ubuntu.com trusty-security/restricted Sources Hit http://ppa.launchpad.net trusty/main amd64 Packages Hit http://security.ubuntu.com trusty-security/universe Sources Hit http://security.ubuntu.com trusty-security/multiverse Sources Hit http://ppa.launchpad.net trusty/main i386 Packages Hit http://security.ubuntu.com trusty-security/main amd64 Packages Hit http://gb.archive.ubuntu.com trusty-updates/main Sources Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages Hit http://extras.ubuntu.com trusty/main Sources Hit http://ppa.launchpad.net trusty/main Translation-en Hit http://gb.archive.ubuntu.com trusty-updates/restricted Sources Hit http://security.ubuntu.com trusty-security/universe amd64 Packages Hit http://extras.ubuntu.com trusty/main amd64 Packages Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages Hit http://gb.archive.ubuntu.com trusty-updates/universe Sources Hit http://extras.ubuntu.com trusty/main i386 Packages Hit http://security.ubuntu.com trusty-security/main i386 Packages Hit http://gb.archive.ubuntu.com trusty-updates/multiverse Sources Hit http://security.ubuntu.com trusty-security/restricted i386 Packages Hit http://gb.archive.ubuntu.com trusty-updates/main amd64 Packages Hit http://security.ubuntu.com trusty-security/universe i386 Packages Hit http://gb.archive.ubuntu.com trusty-updates/restricted amd64 Packages Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages Hit http://ppa.launchpad.net trusty/main amd64 Packages Hit http://gb.archive.ubuntu.com trusty-updates/universe amd64 Packages Hit http://security.ubuntu.com trusty-security/main Translation-en Hit http://gb.archive.ubuntu.com trusty-updates/multiverse amd64 Packages Hit http://security.ubuntu.com trusty-security/multiverse Translation-en Hit http://ppa.launchpad.net trusty/main i386 Packages Hit http://gb.archive.ubuntu.com trusty-updates/main i386 Packages Hit http://security.ubuntu.com trusty-security/restricted Translation-en Hit http://gb.archive.ubuntu.com trusty-updates/restricted i386 Packages Hit http://security.ubuntu.com trusty-security/universe Translation-en Hit http://ppa.launchpad.net trusty/main Translation-en Hit http://gb.archive.ubuntu.com trusty-updates/universe i386 Packages Hit http://gb.archive.ubuntu.com trusty-updates/multiverse i386 Packages Hit http://gb.archive.ubuntu.com trusty-updates/main Translation-en Ign http://extras.ubuntu.com trusty/main Translation-en_GB Ign http://extras.ubuntu.com trusty/main Translation-en Hit http://gb.archive.ubuntu.com trusty-updates/multiverse Translation-en Hit http://gb.archive.ubuntu.com trusty-updates/restricted Translation-en Hit http://gb.archive.ubuntu.com trusty-updates/universe Translation-en Hit http://gb.archive.ubuntu.com trusty-backports/main Sources Hit http://gb.archive.ubuntu.com trusty-backports/restricted Sources Hit http://gb.archive.ubuntu.com trusty-backports/universe Sources Hit http://gb.archive.ubuntu.com trusty-backports/multiverse Sources Hit http://gb.archive.ubuntu.com trusty-backports/main amd64 Packages Hit http://gb.archive.ubuntu.com trusty-backports/restricted amd64 Packages Hit http://gb.archive.ubuntu.com trusty-backports/universe amd64 Packages Hit http://gb.archive.ubuntu.com trusty-backports/multiverse amd64 Packages Hit http://gb.archive.ubuntu.com trusty-backports/main i386 Packages Hit http://gb.archive.ubuntu.com trusty-backports/restricted i386 Packages Hit http://gb.archive.ubuntu.com trusty-backports/universe i386 Packages Hit http://gb.archive.ubuntu.com trusty-backports/multiverse i386 Packages Hit http://gb.archive.ubuntu.com trusty-backports/main Translation-en Hit http://gb.archive.ubuntu.com trusty-backports/multiverse Translation-en Hit http://gb.archive.ubuntu.com trusty-backports/restricted Translation-en Hit http://gb.archive.ubuntu.com trusty-backports/universe Translation-en Hit http://gb.archive.ubuntu.com trusty/main Sources Hit http://gb.archive.ubuntu.com trusty/restricted Sources Hit http://gb.archive.ubuntu.com trusty/universe Sources Hit http://gb.archive.ubuntu.com trusty/multiverse Sources Hit http://gb.archive.ubuntu.com trusty/main amd64 Packages Hit http://gb.archive.ubuntu.com trusty/restricted amd64 Packages Hit http://gb.archive.ubuntu.com trusty/universe amd64 Packages Hit http://gb.archive.ubuntu.com trusty/multiverse amd64 Packages Hit http://gb.archive.ubuntu.com trusty/main i386 Packages Hit http://gb.archive.ubuntu.com trusty/restricted i386 Packages Hit http://gb.archive.ubuntu.com trusty/universe i386 Packages Hit http://gb.archive.ubuntu.com trusty/multiverse i386 Packages Hit http://gb.archive.ubuntu.com trusty/main Translation-en_GB Hit http://gb.archive.ubuntu.com trusty/main Translation-en Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en_GB Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en_GB Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en Hit http://gb.archive.ubuntu.com trusty/universe Translation-en_GB Hit http://gb.archive.ubuntu.com trusty/universe Translation-en Reading package lists...
-
@george1421
please find the 2nd part of the fog error logii apache2 2.4.27-5.0+ubuntu14.04.1+deb.sury.org+1 amd64 Apache HTTP Server ii bc 1.06.95-8ubuntu1 amd64 GNU bc arbitrary precision calculator language ii build-essential 11.6ubuntu6 amd64 Informational list of build-essential packages ii cpp 4:4.8.2-1ubuntu6 amd64 GNU C preprocessor (cpp) ii curl 7.35.0-1ubuntu2.10 amd64 command line tool for transferring data with URL syntax ii g++ 4:4.8.2-1ubuntu6 amd64 GNU C++ compiler ii gawk 1:4.0.1+dfsg-2.1ubuntu2 amd64 GNU awk, a pattern scanning and processing language ii gcc 4:4.8.2-1ubuntu6 amd64 GNU C compiler ii gzip 1.6-3ubuntu1 amd64 GNU compression utilities ii htmldoc 1.8.27-8ubuntu1 amd64 HTML processor that generates indexed HTML, PS, and PDF ii lftp 4.4.13-1 amd64 Sophisticated command-line FTP/HTTP client programs ii libapache2-mod-php7.1 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 server-side, HTML-embedded scripting language (Apache 2 module) ii libc6:amd64 2.19-0ubuntu6.13 amd64 Embedded GNU C Library: Shared libraries ii libcurl3:amd64 7.35.0-1ubuntu2.10 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour) ii m4 1.4.17-2ubuntu1 amd64 a macro processing language ii mysql-client 5.5.57-0ubuntu0.14.04.1 all MySQL database client (metapackage depending on the latest version) mysql-server-core-5.5 mysql-server-core-5.6 mysql-server-5.5 mysql-server-5.6 mysql-server ii mysql-server 5.5.57-0ubuntu0.14.04.1 all MySQL database server (metapackage depending on the latest version) ii net-tools 1.60-25ubuntu2.1 amd64 The NET-3 networking toolkit ii nfs-kernel-server 1:1.2.8-6ubuntu1.2 amd64 support for NFS kernel server ii openssh-server 1:6.6p1-2ubuntu2.8 amd64 secure shell (SSH) server, for secure access from remote machines ii php7.1 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 all server-side, HTML-embedded scripting language (metapackage) ii php7.1-bcmath 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 Bcmath module for PHP ii php7.1-cli 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 command-line interpreter for the PHP scripting language ii php7.1-curl 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 CURL module for PHP ii php7.1-fpm 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary) ii php7.1-gd 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 GD module for PHP php7.1-json ii php7.1-json 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 JSON module for PHP ii php7.1-ldap 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 LDAP module for PHP ii php7.1-mbstring 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 MBSTRING module for PHP ii php7.1-mcrypt 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 libmcrypt module for PHP php7.1-mysql ii php7.1-mysql 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 MySQL module for PHP ii php-gettext 1.0.11-2+deb.sury.org~trusty+1 all read gettext MO files directly, without requiring anything other than PHP ii sysv-rc-conf 0.99-7 all SysV init runlevel configuration tool for the terminal ii tar 1.27.1-1ubuntu0.1 amd64 GNU version of the tar archiving utility ii tftpd-hpa 5.2-7ubuntu3.1 amd64 HPA's tftp server ii tftp-hpa 5.2-7ubuntu3.1 amd64 HPA's tftp client ii unzip 6.0-9ubuntu1.5 amd64 De-archiver for .zip files ii vsftpd 3.0.2-1ubuntu2.14.04.1 amd64 lightweight, efficient FTP server written for security ii wget 1.15-1ubuntu1.14.04.2 amd64 retrieves files from the web ii xinetd 1:2.3.15-3ubuntu1 amd64 replacement for inetd with many enhancements ii zlib1g:amd64 1:1.2.8.dfsg-1ubuntu1 amd64 compression library - runtime Reading package lists... Building dependency tree... Reading state information... bc is already the newest version. build-essential is already the newest version. cpp is already the newest version. g++ is already the newest version. gawk is already the newest version. gcc is already the newest version. gzip is already the newest version. htmldoc is already the newest version. lftp is already the newest version. m4 is already the newest version. xinetd is already the newest version. zlib1g is already the newest version. sysv-rc-conf is already the newest version. curl is already the newest version. libc6 is already the newest version. libcurl3 is already the newest version. mysql-client is already the newest version. mysql-server is already the newest version. net-tools is already the newest version. nfs-kernel-server is already the newest version. openssh-server is already the newest version. tar is already the newest version. tftp-hpa is already the newest version. tftpd-hpa is already the newest version. unzip is already the newest version. vsftpd is already the newest version. wget is already the newest version. apache2 is already the newest version. php-gettext is already the newest version. libapache2-mod-php7.1 is already the newest version. php7.1-cli is already the newest version. php7.1-fpm is already the newest version. php7.1-bcmath is already the newest version. php7.1-curl is already the newest version. php7.1-gd is already the newest version. php7.1-json is already the newest version. php7.1-ldap is already the newest version. php7.1-mbstring is already the newest version. php7.1-mcrypt is already the newest version. php7.1-mysql is already the newest version. php7.1 is already the newest version. The following packages were automatically installed and are no longer required: libclamav6 liblua5.1-0 libonig2 libqdbm14 libssl1.0.2 linux-headers-3.13.0-115 linux-headers-3.13.0-115-generic linux-headers-3.13.0-32 linux-headers-3.13.0-32-generic linux-image-3.13.0-115-generic linux-image-3.13.0-32-generic linux-image-extra-3.13.0-115-generic linux-image-extra-3.13.0-32-generic Use 'apt-get autoremove' to remove them. The following packages have been kept back: linux-generic linux-headers-generic linux-image-generic 0 to upgrade, 0 to newly install, 0 to remove and 3 not to upgrade. ii apache2 2.4.27-5.0+ubuntu14.04.1+deb.sury.org+1 amd64 Apache HTTP Server ii bc 1.06.95-8ubuntu1 amd64 GNU bc arbitrary precision calculator language ii build-essential 11.6ubuntu6 amd64 Informational list of build-essential packages ii cpp 4:4.8.2-1ubuntu6 amd64 GNU C preprocessor (cpp) ii curl 7.35.0-1ubuntu2.10 amd64 command line tool for transferring data with URL syntax ii g++ 4:4.8.2-1ubuntu6 amd64 GNU C++ compiler ii gawk 1:4.0.1+dfsg-2.1ubuntu2 amd64 GNU awk, a pattern scanning and processing language ii gcc 4:4.8.2-1ubuntu6 amd64 GNU C compiler ii gzip 1.6-3ubuntu1 amd64 GNU compression utilities ii htmldoc 1.8.27-8ubuntu1 amd64 HTML processor that generates indexed HTML, PS, and PDF ii lftp 4.4.13-1 amd64 Sophisticated command-line FTP/HTTP client programs ii libapache2-mod-php7.1 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 server-side, HTML-embedded scripting language (Apache 2 module) ii libc6:amd64 2.19-0ubuntu6.13 amd64 Embedded GNU C Library: Shared libraries ii libcurl3:amd64 7.35.0-1ubuntu2.10 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour) ii m4 1.4.17-2ubuntu1 amd64 a macro processing language ii mysql-client 5.5.57-0ubuntu0.14.04.1 all MySQL database client (metapackage depending on the latest version) ii mysql-server 5.5.57-0ubuntu0.14.04.1 all MySQL database server (metapackage depending on the latest version) ii net-tools 1.60-25ubuntu2.1 amd64 The NET-3 networking toolkit ii nfs-kernel-server 1:1.2.8-6ubuntu1.2 amd64 support for NFS kernel server ii openssh-server 1:6.6p1-2ubuntu2.8 amd64 secure shell (SSH) server, for secure access from remote machines ii php7.1 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 all server-side, HTML-embedded scripting language (metapackage) ii php7.1-bcmath 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 Bcmath module for PHP ii php7.1-cli 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 command-line interpreter for the PHP scripting language ii php7.1-curl 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 CURL module for PHP ii php7.1-fpm 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary) ii php7.1-gd 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 GD module for PHP ii php7.1-json 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 JSON module for PHP ii php7.1-ldap 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 LDAP module for PHP ii php7.1-mbstring 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 MBSTRING module for PHP ii php7.1-mcrypt 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 libmcrypt module for PHP ii php7.1-mysql 7.1.9-1+ubuntu14.04.1+deb.sury.org+1 amd64 MySQL module for PHP ii php-gettext 1.0.11-2+deb.sury.org~trusty+1 all read gettext MO files directly, without requiring anything other than PHP ii sysv-rc-conf 0.99-7 all SysV init runlevel configuration tool for the terminal ii tar 1.27.1-1ubuntu0.1 amd64 GNU version of the tar archiving utility ii tftpd-hpa 5.2-7ubuntu3.1 amd64 HPA's tftp server ii tftp-hpa 5.2-7ubuntu3.1 amd64 HPA's tftp client ii unzip 6.0-9ubuntu1.5 amd64 De-archiver for .zip files ii vsftpd 3.0.2-1ubuntu2.14.04.1 amd64 lightweight, efficient FTP server written for security ii wget 1.15-1ubuntu1.14.04.2 amd64 retrieves files from the web ii xinetd 1:2.3.15-3ubuntu1 amd64 replacement for inetd with many enhancements ii zlib1g:amd64 1:1.2.8.dfsg-1ubuntu1 amd64 compression library - runtime Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully * Stopping FOG Computer Imaging Solution: FOGMulticastManager ...done. * Stopping FOG Computer Imaging Solution: FOGImageReplicator ...done. * Stopping FOG Computer Imaging Solution: FOGSnapinReplicator ...done. * Stopping FOG Computer Imaging Solution: FOGScheduler ...done. * Stopping FOG Computer Imaging Solution: FOGPingHosts ...done. * Stopping FOG Computer Imaging Solution: FOGSnapinHash ...done. * Stopping FOG Computer Imaging Solution: FOGImageSize ...done. mysql stop/waiting mysql start/running, process 4675 * Stopping Apache httpd web server apache2 * php7.1-fpm stop/waiting Site 001-fog disabled. To activate the new configuration, you need to run: service apache2 reload ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) * Stopping FOG Computer Imaging Solution: FOGMulticastManager ...done. * Stopping FOG Computer Imaging Solution: FOGImageReplicator ...done. * Stopping FOG Computer Imaging Solution: FOGSnapinReplicator ...done. * Stopping FOG Computer Imaging Solution: FOGScheduler ...done. * Stopping FOG Computer Imaging Solution: FOGPingHosts ...done. * Stopping FOG Computer Imaging Solution: FOGSnapinHash ...done. * Stopping FOG Computer Imaging Solution: FOGImageSize ...done. mysql stop/waiting mysql start/running, process 5033 Archive: binaries1.4.4.zip creating: packages/kernels/ inflating: packages/kernels/bzImage inflating: packages/kernels/bzImage32 creating: packages/inits/ inflating: packages/inits/init_32.xz inflating: packages/inits/init.xz creating: packages/clientfiles/ extracting: packages/clientfiles/FOGCrypt.zip extracting: packages/clientfiles/FogService.zip inflating: packages/clientfiles/SmartInstaller.exe inflating: packages/clientfiles/FOGService.msi inflating: packages/FOGService.msi ‘../packages/clientfiles/FOGCrypt.zip’ -> ‘/var/www/html/fog//client/FOGCrypt.zip’ ‘../packages/clientfiles/FOGService.msi’ -> ‘/var/www/html/fog//client/FOGService.msi’ ‘../packages/clientfiles/FogService.zip’ -> ‘/var/www/html/fog//client/FogService.zip’ ‘../packages/clientfiles/SmartInstaller.exe’ -> ‘/var/www/html/fog//client/SmartInstaller.exe’ ‘../packages/kernels/bzImage’ -> ‘/var/www/html/fog//service/ipxe/bzImage’ ‘../packages/kernels/bzImage32’ -> ‘/var/www/html/fog//service/ipxe/bzImage32’ ‘../packages/inits/init_32.xz’ -> ‘/var/www/html/fog//service/ipxe/init_32.xz’ ‘../packages/inits/init.xz’ -> ‘/var/www/html/fog//service/ipxe/init.xz’ mysqlnd mcrypt Signature ok subject=CN = 10.160.247.254 Getting CA Private Key ln: failed to create symbolic link ‘/var/www/html/fog/fog’: File exists ERROR: Module php does not exist! Considering dependency proxy for proxy_fcgi: Module proxy already enabled Module proxy_fcgi already enabled Module setenvif already enabled ERROR: Module php7.1-fpm does not exist! Module rewrite already enabled Considering dependency setenvif for ssl: Module setenvif already enabled Considering dependency mime for ssl: Module mime already enabled Considering dependency socache_shmcb for ssl: Module socache_shmcb already enabled Module ssl already enabled Enabling site 001-fog. To activate the new configuration, you need to run: service apache2 reload * Stopping Apache httpd web server apache2 * * Starting Apache httpd web server apache2 * * The apache2 configtest failed. Output of config test was: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/001-fog.conf:1 AH00526: Syntax error on line 4 of /etc/apache2/sites-enabled/001-fog.conf: ServerName takes one argument, The hostname and port of the server Action 'configtest' failed. The Apache error log may have more information. stop: Unknown instance: php7.1-fpm start/running, process 5376 * apache2 is not running php7.1-fpm start/running, process 5376 http:////fog//maintenance/backup_db.php: Invalid host name.
-
@xcvtop When posting logs, please enclose the log information in triple backticks.
Example:
```
TEXT HERE
```Then post. Otherwise it becomes very difficult to see the text and messages.
-
Your posting here:
http:////fog//maintenance/backup_db.php: Invalid host name.Notice how there’s no hostname?
You should have an ipaddress in your /opt/fog/.fogsettings file. Is this defined for your machine?
-
@tom-elliott said in Changing fog server IP address problems:
Notice how there’s no hostname?
Great eyes, I just saw that too. That is the key to why it’s not working.
-
@xcvtop said in Changing fog server IP address problems:
- Server IP Address:
- Server Subnet Mask:
- Interface: eth0
And I still think ipaddress is blank in
/opt/fog/.fogsettings
-
@tom-elliott
IP address is there## Created by the FOG Installer ## Version: 1.3.5 ## Install time: Thu 10 Mar 2016 15:28:32 GMT Ipaddress='10.160.240.60' interface='eth0' routeraddress='# option routers x.x.x.x;' plainrouter='' dnsaddress='option domain-name-servers 127.0.1.1;' dnsbootimage='127.0.1.1'
-
@xcvtop I wrote a tool that updates the IP: https://github.com/FOGProject/fog-community-scripts/tree/master/updateIP
-
@xcvtop Change
Ipaddress
toipaddress
-
@wayne-workman His
ipaddress
variable is incorrect. I don’t know if your script would fix that. -
@tom-elliott It would. My script only needs the system IP address to already be correct. It makes fog use whatever is set.
-
@tom-elliott
thanks i must of changed it somehow, i would of never noticed that,thanks for your help
-
@xcvtop So it works now?
-
@tom-elliott yep its working thanks for all your help guys