Problem Upgrading from .32 to 1.1.2



  • I am trying to upgrade from .32 to 1.1.2 and I get this message.
    [COLOR=#ff0000][SIZE=3]* Setting up and starting MySql…Failed![/SIZE][/COLOR]
    [COLOR=#000000]I dont know what the mysql password is if it has one. Below it the foginstall.log file.[/COLOR]

    [COLOR=#ff0000][SIZE=3][COLOR=#000000]Thanks,[/COLOR][/SIZE][/COLOR]

    Script started on Tue 15 Jul 2014 11:04:00 AM CDT

    Ubuntu

    …#######:. …,#,… .::##::.

    .:###### .:;####:…;#;…

    …##… …##;,;##::::.##…

    ,# …##…##:::## …::

    .::###,##. . ##.::#.:######::.

    …##:::###::…#. … .#…#. #…#:::.

    …:####:… …##…##::## … #

    . …##:,;##;:::#: … ##…

    .# . .:;####;::::.##:::;#:…

    …:;###…

    ###########################################

    FOG

    Free Computer Imaging Solution

    [url]http://www.fogproject.org/[/url]

    Developers:

    Chuck Syperski

    Jian Zhang

    Peter Gilchrist

    Tom Elliott

    GNU GPL Version 3

    ###########################################

    Version: 1.1.1 Installer/Updater

    • Found FOG Settings from previous install at: /opt/fog/.fogsettings

    • Performing upgrade using these settings…

    Starting Debian / Ubuntu / Kubuntu / Edubuntu Installtion.

    Would you like to donate computer resources to the FOG Project

    to mine cryptocurrency? This will only take place during active

    tasks and should NOT have any impact on performance of your

    imaging or other tasks. The currency will be used to pay for

    FOG Project expenses and to support the core developers working

    on the project. For more information see:

    [url]http://fogproject.org/?q=cryptocurrency[/url]

    Would you like to donate computer resources to the FOG Project? [y/N]

    #####################################################################

    FOG now has everything it needs to setup your server, 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 on Redhat or with sudo on Ubuntu.

    ** Notice ** Redhat users will need to disable SELinux and iptables in

    order to use FOG

    Please see our wiki for more information at [url]http://www.fogproject.org/wiki[/url]

    Here are the settings FOG will use:

    Base Linux: Debian

    Detected Linux Distribution: Ubuntu

    Installation Type: Normal Server

    Server IP Address: 192.168.131.50

    DHCP router Address:

    DHCP DNS Address:

    Interface: eth0

    Using FOG DHCP: 0

    Internationalization: 0

    Donate: 0

    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

    On a Windows DHCP server you must set:

    option 066 & 067

    Option 066 is the IP of the FOG Server: (e.g. 192.168.131.50)

    Option 067 is the undionly.kpxe file: (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.

    • Preparing apt-get

    • Installing package: apache2

    • Installing package: php5

    • Installing package: php5-json

    • Installing package: php5-gd

    • Installing package: php5-cli

    • Installing package: php5-mysql

    • Installing package: php5-curl

    • Installing package: mysql-server

    We are about to install MySQL Server on

    this server, if MySQL isn’t installed already

    you will be prompted for a root password.

    Press enter to acknowledge this message.

    Reading package lists…

    Building dependency tree…

    Reading state information…

    mysql-server is already the newest version.

    0 upgraded, 0 newly installed, 0 to remove and 67 not upgraded.

    • Installing package: mysql-client

    • Installing package: tftpd-hpa

    • Installing package: tftp-hpa

    • Installing package: nfs-kernel-server

    • Installing package: vsftpd

    • Installing package: net-tools

    • Installing package: wget

    • Installing package: xinetd

    • Installing package: sysv-rc-conf

    • Installing package: tar

    • Installing package: gzip

    • Installing package: build-essential

    • Installing package: cpp

    • Installing package: gcc

    • Installing package: g++

    • Installing package: m4

    • Installing package: htmldoc

    • Installing package: lftp

    • Installing package: openssh-server

    • Installing package: php-gettext

    • Installing package: clamav-freshclam

    Confirming package installation.

    • Checking package: apache2…OK

    • Checking package: php5…OK

    • Checking package: php5-json…OK

    • Checking package: php5-gd…OK

    • Checking package: php5-cli…OK

    • Checking package: php5-mysql…OK

    • Checking package: php5-curl…OK

    • Checking package: mysql-server…OK

    • Checking package: mysql-client…OK

    • Checking package: tftpd-hpa…OK

    • Checking package: tftp-hpa…OK

    • Checking package: nfs-kernel-server…OK

    • Checking package: vsftpd…OK

    • Checking package: net-tools…OK

    • Checking package: wget…OK

    • Checking package: xinetd…OK

    • Checking package: sysv-rc-conf…OK

    • Checking package: tar…OK

    • Checking package: gzip…OK

    • Checking package: build-essential…OK

    • Checking package: cpp…OK

    • Checking package: gcc…OK

    • Checking package: g++…OK

    • Checking package: m4…OK

    • Checking package: htmldoc…OK

    • Checking package: lftp…OK

    • Checking package: openssh-server…OK

    • Checking package: php-gettext…OK

    • Checking package: clamav-freshclam…OK

    Configuring services.

    • Setting up and starting MySql…Failed!

    Script done on Tue 15 Jul 2014 11:05:21 AM CDT



  • Is there an easy way to reset the password? Is there a place to look up the password. Here is the contents of our config.php file.

    <?php

    define( “UPDSENDERPATH”, “/usr/local/sbin/udp-sender” );

    define( “MULTICASTLOGPATH”, “/opt/fog/log/multicast.log” );

    define( “MULTICASTDEVICEOUTPUT”, “/dev/tty2” );

    define( “MULTICASTSLEEPTIME”, 10 );

    define( “MULTICASTINTERFACE”, “eth0” );

    define( “UDPSENDER_MAXWAIT”, null );

    define( “MYSQL_HOST”, “” );

    define( “MYSQL_DATABASE”, “fog” );

    define( “MYSQL_USERNAME”, “” );

    define( “MYSQL_PASSWORD”, “” );

    define( “LOGMAXSIZE”, “1000000” );

    define( “REPLICATORLOGPATH”, “/opt/fog/log/fogreplicator.log” );

    define( “REPLICATORDEVICEOUTPUT”, “/dev/tty3” );

    define( “REPLICATORSLEEPTIME”, 600 );

    define( “REPLICATORIFCONFIG”, “/sbin/ifconfig” );

    define( “SCHEDULERLOGPATH”, “/opt/fog/log/fogscheduler.log” );

    define( “SCHEDULERDEVICEOUTPUT”, “/dev/tty4” );

    define( “SCHEDULERWEBROOT”, “/var/www/fog” );

    define( “SCHEDULERSLEEPTIME”, 60 );

    ?>


  • Developer

    you may need to reset the password, if you do not know it


Log in to reply
 

523
Online

39.4k
Users

11.1k
Topics

105.4k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.