• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    The bleeding edge with SVN3318 and a virgin Debian 8.0.0

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    6
    22
    9.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Wayne WorkmanW
      Wayne Workman
      last edited by

      I think I might just setup a Debian box in my house and just let Tom use it lol.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        There was a typo that had the line

        fi
        

        At line 632 that had a numeric 5 appended to the end of it.

        It is currently corrected for.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • sudburrS
          sudburr
          last edited by sudburr

          SVN 3504 on Debian 8.0.0

          It looks like this forum’s editor doesn’t like square brackets. I replaced all instances with ordinary parentheses to make it work. On the bright side, I can paste the entire log without running into a character limit.

          Checked out revision 3504.
          
                 ..#######:.    ..,#,..     .::##::.
            .:######          .:;####:......;#;..
            ...##...        ...##;,;##::::.##...
               ,#          ...##.....##:::##     ..::
               ##    .::###,,##.   . ##.::#.:######::.
            ...##:::###::....#. ..  .#...#. #...#:::.
            ..:####:..    ..##......##::##  ..  #
                #  .      ...##:,;##;:::#: ... ##..
               .#  .       .:;####;::::.##:::;#:..
                #                     ..:;###..
          
            ###########################################
            #     FOG                                 #
            #     Free Computer Imaging Solution      #
            #                                         #
            #     http://www.fogproject.org/          #
            #                                         #
            #     Credits:                            #
            #     http://fogproject.org/Credits       #
            #     GNU GPL Version 3                   #
            ###########################################
          
            Version: 1.3.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)2
          
            Starting Debian / Ubuntu / Kubuntu / Edubuntu Installtion.
          
            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) n
          
            What is the IP address to be used by this FOG Server? (172.19.244.22)
          
            Would you like to setup a router address for the DHCP server? (Y/n) n
          
            Would you like to setup a DNS address for
                the DHCP server and client boot image? (Y/n) n
          
            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 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
          
            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:
          
            http://fogproject.org/?q=cryptocurrency
          
            Would you like to donate computer resources to the FOG Project? (y/N) 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 http://www.fogproject.org/wiki
          
          
            Here are the settings FOG will use:
                   Base Linux: Debian
                   Detected Linux Distribution: Debian
                   Installation Type: Normal Server
                   Server IP Address: 172.19.244.22
                   DHCP router Address:
                   DHCP DNS Address:
                   Interface: eth0
                   Using FOG DHCP: 0
                   Internationalization: 0
                   Image Storage Location:
                   MySQL Connection Type:
                   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. 172.19.244.22)
                             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
            * Packages to be installed:  apache2 php5 php5-json php5-gd php5-cli php5-curl mysql-server mysql-client tftpd-hpa tftp-hpa nfs-kernel-server vsftpd net-tools wget xinetd sysv-rc-conf tar gzip build-essential cpp gcc g++ m4 htmldoc lftp openssh-server php-gettext php5-mcrypt php5-mysqlnd curl libc6 libcurl3 zlib1g
          
            * Installing package: apache2
            * Installing package: php5
            * Skipping package: php5-json (Already installed)
            * Installing package: php5-gd
            * Skipping package: php5-cli (Already installed)
            * 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...
          The following extra packages will be installed:
            libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
            libterm-readkey-perl mysql-client-5.5 mysql-common mysql-server-5.5
            mysql-server-core-5.5
          Suggested packages:
            libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl
            libipc-sharedcache-perl tinyca
          The following NEW packages will be installed:
            libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
            libterm-readkey-perl mysql-client-5.5 mysql-common mysql-server
            mysql-server-5.5 mysql-server-core-5.5
          0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
          Need to get 8,588 kB of archives.
          After this operation, 95.7 MB of additional disk space will be used.
          Get:1 http://security.debian.org/ jessie/updates/main mysql-common all 5.5.43-0+deb8u1 (74.2 kB)
          Get:2 http://ftp3.nrc.ca/debian/ jessie/main libdbi-perl amd64 1.631-3+b1 (816 kB)
          Get:3 http://ftp3.nrc.ca/debian/ jessie/main libdbd-mysql-perl amd64 4.028-2+b1 (119 kB)
          Get:4 http://ftp3.nrc.ca/debian/ jessie/main libterm-readkey-perl amd64 2.32-1+b1 (28.0 kB)
          Get:5 http://ftp3.nrc.ca/debian/ jessie/main libhtml-template-perl all 2.95-1 (66.8 kB)
          Get:6 http://security.debian.org/ jessie/updates/main libmysqlclient18 amd64 5.5.43-0+deb8u1 (663 kB)
          Get:7 http://security.debian.org/ jessie/updates/main mysql-client-5.5 amd64 5.5.43-0+deb8u1 (1,653 kB)
          Get:8 http://security.debian.org/ jessie/updates/main mysql-server-core-5.5 amd64 5.5.43-0+deb8u1 (3,333 kB)
          Get:9 http://security.debian.org/ jessie/updates/main mysql-server-5.5 amd64 5.5.43-0+deb8u1 (1,762 kB)
          Get:10 http://security.debian.org/ jessie/updates/main mysql-server all 5.5.43-0+deb8u1 (72.5 kB)
          Preconfiguring packages ...
          Fetched 8,588 kB in 5s (1,653 kB/s)
                                             Selecting previously unselected package mysql-common.
          (Reading database ... 34889 files and directories currently installed.)
          Preparing to unpack .../mysql-common_5.5.43-0+deb8u1_all.deb ...
          Unpacking mysql-common (5.5.43-0+deb8u1) ...
          Selecting previously unselected package libmysqlclient18:amd64.
          Preparing to unpack .../libmysqlclient18_5.5.43-0+deb8u1_amd64.deb ...
          Unpacking libmysqlclient18:amd64 (5.5.43-0+deb8u1) ...
          Selecting previously unselected package libdbi-perl.
          Preparing to unpack .../libdbi-perl_1.631-3+b1_amd64.deb ...
          Unpacking libdbi-perl (1.631-3+b1) ...
          Selecting previously unselected package libdbd-mysql-perl.
          Preparing to unpack .../libdbd-mysql-perl_4.028-2+b1_amd64.deb ...
          Unpacking libdbd-mysql-perl (4.028-2+b1) ...
          Selecting previously unselected package libterm-readkey-perl.
          Preparing to unpack .../libterm-readkey-perl_2.32-1+b1_amd64.deb ...
          Unpacking libterm-readkey-perl (2.32-1+b1) ...
          Selecting previously unselected package mysql-client-5.5.
          Preparing to unpack .../mysql-client-5.5_5.5.43-0+deb8u1_amd64.deb ...
          Unpacking mysql-client-5.5 (5.5.43-0+deb8u1) ...
          Selecting previously unselected package mysql-server-core-5.5.
          Preparing to unpack .../mysql-server-core-5.5_5.5.43-0+deb8u1_amd64.deb ...
          Unpacking mysql-server-core-5.5 (5.5.43-0+deb8u1) ...
          Processing triggers for man-db (2.7.0.2-5) ...
          Setting up mysql-common (5.5.43-0+deb8u1) ...
          Selecting previously unselected package mysql-server-5.5.
          (Reading database ... 35249 files and directories currently installed.)
          Preparing to unpack .../mysql-server-5.5_5.5.43-0+deb8u1_amd64.deb ...
          Unpacking mysql-server-5.5 (5.5.43-0+deb8u1) ...
          Selecting previously unselected package libhtml-template-perl.
          Preparing to unpack .../libhtml-template-perl_2.95-1_all.deb ...
          Unpacking libhtml-template-perl (2.95-1) ...
          Selecting previously unselected package mysql-server.
          Preparing to unpack .../mysql-server_5.5.43-0+deb8u1_all.deb ...
          Unpacking mysql-server (5.5.43-0+deb8u1) ...
          Processing triggers for systemd (215-17) ...
          Processing triggers for man-db (2.7.0.2-5) ...
          Setting up libmysqlclient18:amd64 (5.5.43-0+deb8u1) ...
          Setting up libdbi-perl (1.631-3+b1) ...
          Setting up libdbd-mysql-perl (4.028-2+b1) ...
          Setting up libterm-readkey-perl (2.32-1+b1) ...
          Setting up mysql-client-5.5 (5.5.43-0+deb8u1) ...
          Setting up mysql-server-core-5.5 (5.5.43-0+deb8u1) ...
          Setting up mysql-server-5.5 (5.5.43-0+deb8u1) ...
          150602  9:35:26 (Warning) Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
          150602  9:35:26 (Note) /usr/sbin/mysqld (mysqld 5.5.43-0+deb8u1) starting as process 5586 ...
          Setting up libhtml-template-perl (2.95-1) ...
          Setting up mysql-server (5.5.43-0+deb8u1) ...
          Processing triggers for libc-bin (2.19-18) ...
          Processing triggers for systemd (215-17) ...
          
            * Installing package: mysql-client
            * Installing package: tftpd-hpa
            * Installing package: tftp-hpa
            * Installing package: nfs-kernel-server
            * Installing package: vsftpd
            * Skipping package: net-tools (Already installed)
            * Skipping package: wget (Already installed)
            * Installing package: xinetd
            * Installing package: sysv-rc-conf
            * Skipping package: tar (Already installed)
            * Skipping package: gzip (Already installed)
            * Installing package: build-essential
            * Skipping package: cpp (Already installed)
            * Skipping package: gcc (Already installed)
            * Skipping package: g++ (Already installed)
            * Skipping package: m4 (Already installed)
            * Installing package: htmldoc
            * Installing package: lftp
            * Skipping package: openssh-server (Already installed)
            * Installing package: php-gettext
            * Installing package: php5-mcrypt
            * Installing package: php5-mysqlnd
            * Installing package: curl
            * Skipping package: libc6 (Already installed)
            * Skipping package: libcurl3 (Already installed)
            * Skipping package: zlib1g (Already installed)
          
            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-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: php5-mcrypt...OK
            * Checking package: php5-mysqlnd...OK
            * Checking package: curl...OK
            * Checking package: libc6...OK
            * Checking package: libcurl3...OK
            * Checking package: zlib1g...OK
          
            Configuring services.
          
          
               What is the storage location for your images directory? (/images)
          
               What mysql connection type would you like? (MYSQLI_ASYNC)
                   MYSQLI_STORE_RESULT is normal
                   MYSQLI_ASYNC is what is Defaulted and recommended
                    Any value not equal to MYSQLI_ASYNC and not blank will use store result
            * Setting up fog user...OK
            * Setting up and starting MySql...OK
            * Backing up user reports...OK
            * Did you leave the mysql password blank during install? (Y/n) n
          
            * Please enter your mysql password:
            * Please re-enter your mysql password:
            * Setting up and starting Apache Web Server...OK
            * Changing permissions on apache log files...OK
            * Downloading kernels and inits...OK
            * Downloading New FOG Client file...OK
            You still need to install/update your database schema.
            This can be done by opening a web browser and going to:
          
                http://172.19.244.22/fog/management
          
            Press (Enter) key when database is updated/installed.
          
            * Setting up storage...OK
            * Setting up and starting DHCP Server...Skipped
            * Setting up and starting TFTP and PXE Servers...OK
            * Setting up and starting VSFTP Server...OK
            * Setting up sudo settings...OK
            * Setting up FOG Snapins...OK
            * Setting up and building UDPCast...OK
            * Installing init scripts...OK
            * Setting up FOG Services...OK
            * Setting up FOG Utils...OK
            * Starting FOG Multicast Management Server...OK
            * Starting FOG Image Replicator Server...OK
            * Starting FOG Task Scheduler Server...OK
            * Starting FOG Snapin Replicator Server...OK
            * Setting up and starting NFS Server...OK
            * Linking /opt/fog/log to /var/log/fog...OK
            * Linking /opt/fog/service/etc to /etc/fog...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 SSL FOG Server...OK
          
            Setup complete!
          
            You can now login to the FOG Management Portal using
            the information listed below.  The login information
            is only if this is the first install.
          
            This can be done by opening a web browser and going to:
          
                http://172.19.244.22/fog/management
          
                Default User:
                       Username: fog
                       Password: password
          
          root@debian:/opt/trunk/bin#
          
          

          So far so good.

          [ Standing in between extinction in the cold and explosive radiating growth ]

          ch3iC 1 Reply Last reply Reply Quote 0
          • ch3iC
            ch3i Moderator @sudburr
            last edited by

            @sudburr It’s seem to be ok on the log, it’s working ?

            1 Reply Last reply Reply Quote 0
            • sudburrS
              sudburr
              last edited by

              I’ll let ya know shortly. I’m reproducing and documenting the entire process, including for Debian 8.0.0.

              [ Standing in between extinction in the cold and explosive radiating growth ]

              1 Reply Last reply Reply Quote 1
              • sudburrS
                sudburr
                last edited by sudburr

                Basically,

                1. Exported my Fog Configuration settings from my existing development fog (svn 3477) on Ubuntu 14.04.2
                2. shutdown the vm
                3. attached existing development .vhdx image drives to new Debian 8.0.0 svn 3504 based Hyper-V 2012 R2 virtual machine.
                4. Fired that mother up
                5. ran my changename and fog mobilization scripts
                6. updated the IP address for the two storage nodes (default, other) pointing to the two .vhdx purpose drives ( mounted as /images and /other )
                7. imported the saved configuration and then the verified usernames/passwords for tftp, management, unix etc.
                8. Doing a quick image as I type this. booyah

                Also tested:
                de-registration
                quick registration
                Task deploy (download)

                [ Standing in between extinction in the cold and explosive radiating growth ]

                1 Reply Last reply Reply Quote 1
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  Is it safe to “solve” the thread though?

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 0
                  • sudburrS
                    sudburr
                    last edited by sudburr

                    I’m happy enough to leave it as my development fog.

                    I did not notice any hiccups or gotchas during installation or import.

                    So yes, I think this is solved. 😃

                    Thx for all of your hard work getting FOG up to speed for us bleeding edge types.

                    [ Standing in between extinction in the cold and explosive radiating growth ]

                    1 Reply Last reply Reply Quote 2
                    • tomtomT
                      tomtom
                      last edited by

                      With SVN 3540 on Debian 8.1 I still have the following installation-error:

                      Starting FOG Multicast Management Server...Failed!
                      

                      Greeds and Thanks!

                      Tom ElliottT 1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott @tomtom
                        last edited by

                        @tomtom did you actually go and update the database? If the database is not prepared before the services start or stop you will see this error.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        1 Reply Last reply Reply Quote 1
                        • tomtomT
                          tomtom
                          last edited by

                          Hi Tom,
                          i updatet the database before.
                          After debian-restart, i checked status of

                          • /etc/init.d/FOGMulticastManager
                          • /etc/init.d/FOGScheduler
                          • /etc/init.d/FOGImageReplicator

                          They are alle running!

                          BUT: now i’m getting error when trying to perform full host registration and inventory:

                          kernelpanic.png

                          1 Reply Last reply Reply Quote 0
                          • X
                            xvierc
                            last edited by

                            The problem with the service start error seems to be that $linuxReleaseName in .install.sh evaluates to “Debian GNU/Linux”, not “Debian” as the scripts expect. After setting $linuxReleaseName manually in .install.sh, everything worked fine for me.

                            1 Reply Last reply Reply Quote 1
                            • 1
                            • 2
                            • 1 / 2
                            • First post
                              Last post

                            189

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project