Cant create User - Setting up fogproject user..................................Failed!



  • im installing this on the latest version of Debian (10.1.0). Everything installs up to the point of creating the user and i get the following error (2ed to last line.

    This is my first time ruining Linux so you are going to have to excuse me overlooking something stupid.

    root@for-server:/home/kelly# cd fog_stable/bin
    root@for-server:/home/kelly/fog_stable/bin# ./installfog.sh
    Installing LSB_Release as needed
     * Attempting to get release information.......................Done
    systemd
    
    
       +------------------------------------------+
       |     ..#######:.    ..,#,..     .::##::.  |
       |.:######          .:;####:......;#;..     |
       |...##...        ...##;,;##::::.##...      |
       |   ,#          ...##.....##:::##     ..:: |
       |   ##    .::###,,##.   . ##.::#.:######::.|
       |...##:::###::....#. ..  .#...#. #...#:::. |
       |..:####:..    ..##......##::##  ..  #     |
       |    #  .      ...##:,;##;:::#: ... ##..   |
       |   .#  .       .:;####;::::.##:::;#:..    |
       |    #                     ..:;###..       |
       |                                          |
       +------------------------------------------+
       |      Free Computer Imaging Solution      |
       +------------------------------------------+
       |  Credits: http://fogproject.org/Credits  |
       |       http://fogproject.org/Credits      |
       |       Released under GPL Version 3       |
       +------------------------------------------+
    
    
       Version: 1.5.7 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]
    
    
    
      Starting Debian 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:
          * ens33 - 10.22.228.171/24
    
      Would you like to change the default network interface from ens33?
      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? [10.22.228.254]
    
      Would you like DHCP to handle DNS? [Y/n]
      What DNS address should DHCP allow? [8.8.8.8]
    
      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]
    
     *** New option 'hostname' since FOG 1.5.6 ***
    
      Would you like to change the default hostname >for-server<?
      The fully qualified hostname is used for the webserver certificate.
      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: Debian
     * Detected Linux Distribution: Debian GNU/Linux
     * Interface: ens33
     * Server IP Address: 10.22.228.171
     * Server Subnet Mask: 255.255.255.0
     * Server Hostname: for-server
     * 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. 10.22.228.171)
     * 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
     * Adding repository if needed.................................OK
     * Preparing Package Manager...................................OK
     * Packages to be installed:
    
            apache2 bc build-essential cpp curl g++ gawk gcc genisoimage gzip htmldo                                                                                                                                                             c isolinux lftp libapache2-mod-php7.3 libc6 libcurl4 liblzma-dev m4 mariadb-clie                                                                                                                                                             nt mariadb-server net-tools nfs-kernel-server openssh-server php7.3 php7.3-bcmat                                                                                                                                                             h php7.3-cli php7.3-curl php7.3-fpm php7.3-gd php7.3-json php7.3-mbstring php7.3                                                                                                                                                             -mysql php7.3-mysqlnd php-gettext sysv-rc-conf tar tftpd-hpa tftp-hpa unzip vsft                                                                                                                                                             pd wget xinetd zlib1g
    
    
     * Skipping package:   apache2.................................(Already Installe                                                                                                                                                             d)
     * Skipping package:   bc......................................(Already Installe                                                                                                                                                             d)
     * Skipping package:   build-essential.........................(Already Installe                                                                                                                                                             d)
     * Skipping package:   cpp.....................................(Already Installe                                                                                                                                                             d)
     * Skipping package:   curl....................................(Already Installe                                                                                                                                                             d)
     * Skipping package:   g++.....................................(Already Installe                                                                                                                                                             d)
     * Skipping package:   gawk....................................(Already Installe                                                                                                                                                             d)
     * Skipping package:   gcc.....................................(Already Installe                                                                                                                                                             d)
     * Skipping package:   genisoimage.............................(Already Installe                                                                                                                                                             d)
     * Skipping package:   gzip....................................(Already Installe                                                                                                                                                             d)
     * Skipping package:   htmldoc.................................(Already Installe                                                                                                                                                             d)
     * Skipping package:   isolinux................................(Already Installe                                                                                                                                                             d)
     * Skipping package:   lftp....................................(Already Installe                                                                                                                                                             d)
     * Skipping package:   libapache2-mod-php7.3...................(Already Installe                                                                                                                                                             d)
     * Skipping package:   libc6...................................(Already Installe                                                                                                                                                             d)
     * Skipping package:   libcurl4................................(Already Installe                                                                                                                                                             d)
     * Skipping package:   liblzma-dev.............................(Already Installe                                                                                                                                                             d)
     * Skipping package:   m4......................................(Already Installe                                                                                                                                                             d)
     * Skipping package:   mariadb-client..........................(Already Installe                                                                                                                                                             d)
     * Skipping package:   mariadb-server..........................(Already Installe                                                                                                                                                             d)
     * Skipping package:   net-tools...............................(Already Installe                                                                                                                                                             d)
     * Skipping package:   nfs-kernel-server.......................(Already Installe                                                                                                                                                             d)
     * Skipping package:   openssh-server..........................(Already Installe                                                                                                                                                             d)
     * Skipping package:   php7.3..................................(Already Installe                                                                                                                                                             d)
     * Skipping package:   php7.3-bcmath...........................(Already Installe                                                                                                                                                             d)
     * Skipping package:   php7.3-cli..............................(Already Installe                                                                                                                                                             d)
     * Skipping package:   php7.3-curl.............................(Already Installe                                                                                                                                                             d)
     * Skipping package:   php7.3-fpm..............................(Already Installe                                                                                                                                                             d)
     * Skipping package:   php7.3-gd...............................(Already Installe                                                                                                                                                             d)
     * Skipping package:   php7.3-json.............................(Already Installe                                                                                                                                                             d)
     * Skipping package:   php7.3-mbstring.........................(Already Installe                                                                                                                                                             d)
     * Skipping package:   php7.3-mysql............................(Already Installe                                                                                                                                                             d)
     * Skipping package:   php7.3-mysql............................(Already Installe                                                                                                                                                             d)
     * Skipping package:   php-gettext.............................(Already Installe                                                                                                                                                             d)
     * Skipping package:   sysv-rc-conf............................(Already Installe                                                                                                                                                             d)
     * Skipping package:   tar.....................................(Already Installe                                                                                                                                                             d)
     * Skipping package:   tftpd-hpa...............................(Already Installe                                                                                                                                                             d)
     * Skipping package:   tftp-hpa................................(Already Installe                                                                                                                                                             d)
     * Skipping package:   unzip...................................(Already Installe                                                                                                                                                             d)
     * Skipping package:   vsftpd..................................(Already Installe                                                                                                                                                             d)
     * Skipping package:   wget....................................(Already Installe                                                                                                                                                             d)
     * Skipping package:   xinetd..................................(Already Installe                                                                                                                                                             d)
     * Skipping package:   zlib1g..................................(Already Installe                                                                                                                                                             d)
     * 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: genisoimage...............................OK
     * Checking package: gzip......................................OK
     * Checking package: htmldoc...................................OK
     * Checking package: isolinux..................................OK
     * Checking package: lftp......................................OK
     * Checking package: libapache2-mod-php7.3.....................OK
     * Checking package: libc6.....................................OK
     * Checking package: libcurl4..................................OK
     * Checking package: liblzma-dev...............................OK
     * Checking package: m4........................................OK
     * Checking package: mariadb-client............................OK
     * Checking package: mariadb-server............................OK
     * Checking package: net-tools.................................OK
     * Checking package: nfs-kernel-server.........................OK
     * Checking package: openssh-server............................OK
     * Checking package: php7.3....................................OK
     * Checking package: php7.3-bcmath.............................OK
     * Checking package: php7.3-cli................................OK
     * Checking package: php7.3-curl...............................OK
     * Checking package: php7.3-fpm................................OK
     * Checking package: php7.3-gd.................................OK
     * Checking package: php7.3-json...............................OK
     * Checking package: php7.3-mbstring...........................OK
     * Checking package: php7.3-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 fogproject user..................................Failed!**
    root@for-server:/home/kelly/fog_stable/bin# * Setting up fogproject user..................................Failed!
    

  • Moderator

    @bigmuddyfoot said in Cant create User - Setting up fogproject user..................................Failed!:

    How do i do that?

    It depends on where the fog installer is, but it would be similar to this.

    tail -20 /root/fogproject/bin/error_logs/foginstall.log

    and assuming you are installing fog 1.5.7

    tail -20 /root/fogproject/bin/error_logs/fog_error_1.5.7.log



  • @Sebastian-Roth
    How do i do that?


  • Developer

    @bigmuddyfoot Please take a look at the logs you find in fogproject/bin/error_logs/ and post the last 10 lines here.


  • Developer

    i’m not sure what went wrong here. I haven’t installed fog on a Buster system yet, but i know others have without issue.



  • @Junkhacker said in Cant create User - Setting up fogproject user..................................Failed!:

    did you create any users on the system other than the “kelly” one we see in the log?

    I did not. Im not sure i know how to do that at this point lol :)


  • Developer

    This is my first time ruining Linux so you are going to have to excuse me overlooking something stupid.

    don’t worry, we all do that at some point. lol (i think that was a typo though)

    did you create any users on the system other than the “kelly” one we see in the log?


Log in to reply
 

428
Online

6.3k
Users

13.7k
Topics

128.9k
Posts