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

    Stopping web service........................................Failed!

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    5
    546
    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.
    • Z
      ziomario
      last edited by Sebastian Roth

      Hello to everybody.

      I would like to try this project and I tried to install it on my ubuntu 19.10 workstation. These are the choices that I did :

      root@ziomario-Z390-AORUS-PRO:/home/ziomario/Scaricati/Linux/fogproject-1.5.7/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
      
       * The local firewall seems to be currently enabled on your system. This can cause
       * issues on FOG servers if you are not well experienced and know what you are doing.
       * Should the installer try to disable the local firewall for you now? (y/N)
      N
       * You sure know what you are doing, just keep in mind we told you! :-)
       * Hit ENTER so we know you've read this message.
      
        What version of Linux would you like to run the installation for?
      
                1) Redhat Based Linux (Redhat, CentOS, Mageia)
                2) Debian Based Linux (Debian, Ubuntu, Kubuntu, Edubuntu)
                3) Arch Linux
      
        Choice: [2] 
      
      
      
        Starting Debian based Installation
      
      
       *** Detected a potential need to reinstall apache and php files.
       *** This will remove the /etc/php* and /etc/apache2* directories
       ***  and remove/purge the apache and php files from this system.
       *** If you're okay with this please type Y, anything else will
       ***  continue the installation, but may mean you will need to
       ***  remove the files later and make proper changes as 
       ***  necessary. (Y/N): 
      Y
       * Removing apache and php files...............................Done
       * Stopping web services.......................................Done
       * Removing the apache and php packages........................Done
       * Resetting our variables to specify php version..............Done
        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)] N
      
        We found the following interfaces on your system:
            * eno1 - 192.168.1.6/24
            * virbr0 - 192.168.122.1/24
            * tap0 - 
      
        Would you like to change the default network interface from eno1 virbr0 tap0?
        If you are not sure, select No. [y/N] y
        What network interface would you like to use? eno1
      
        Would you like to setup a router address for the DHCP server? [Y/n] Y
        What is the IP address to be used for the router on
            the DHCP server? []192.168.1.1
      
        Would you like DHCP to handle DNS? [Y/n] Y
        What DNS address should DHCP allow? [192.168.1.1] 
      
        Would you like to use the FOG server for DHCP service? [y/N] y
      
        This version of FOG has internationalization support, would  
        you like to install the additional language packs? [y/N] N
      
       *** New option 'hostname' since FOG 1.5.6 ***
      
        Would you like to change the default hostname >ziomario-Z390-AORUS-PRO<?
        The fully qualified hostname is used for the webserver certificate.
        If you are not sure, select No. [y/N] y
        Which hostname would you like to use? ziomario-Z390-AORUS-PRO
      
         ######################################################################
         #     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: Ubuntu
       * Interface: eno1
       * Server IP Address: 192.168.1.6
       * Server Subnet Mask: 255.255.255.0
       * Server Hostname: ziomario-Z390-AORUS-PRO
       * Installation Type: Normal Server
       * Internationalization: 0
       * Image Storage Location: /images
       * Using FOG DHCP: Yes
       * DHCP router Address: 192.168.1.1
      
      
       * 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 htmldoc isc-dhcp-server isolinux lftp libapache2-mod-php7.2 libc6 libcurl4 liblzma-dev m4 mariadb-client mariadb-server net-tools nfs-kernel-server openssh-server php7.2 php7.2-bcmath php7.2-cli php7.2-curl php7.2-fpm php7.2-gd php7.2-json php7.2-ldap php7.2-mbstring php7.2-mysql php7.2-mysqlnd php-gettext sysv-rc-conf tar tftpd-hpa tftp-hpa unzip vsftpd wget xinetd zlib1g 
      
      
       * Installing package: apache2.................................OK
       * 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:   genisoimage.............................(Already Installed)
       * Skipping package:   gzip....................................(Already Installed)
       * Skipping package:   htmldoc.................................(Already Installed)
       * Skipping package:   isc-dhcp-server.........................(Already Installed)
       * Skipping package:   isolinux................................(Already Installed)
       * Skipping package:   lftp....................................(Already Installed)
       * Skipping package: libapache2-mod-php7.2.....................(Does not exist)
       * Skipping package:   libc6...................................(Already Installed)
       * Skipping package:   libcurl4................................(Already Installed)
       * Skipping package:   liblzma-dev.............................(Already Installed)
       * Skipping package:   m4......................................(Already Installed)
       * Skipping package:   mariadb-client..........................(Already Installed)
       * Skipping package:   mariadb-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.2....................................(Does not exist)
       * Skipping package: php7.2-bcmath.............................(Does not exist)
       * Skipping package: php7.2-cli................................(Does not exist)
       * Skipping package: php7.2-curl...............................(Does not exist)
       * Skipping package: php7.2-fpm................................(Does not exist)
       * Skipping package: php7.2-gd.................................(Does not exist)
       * Skipping package: php7.2-json...............................(Does not exist)
       * Skipping package: php7.2-ldap...............................(Does not exist)
       * Skipping package: php7.2-mbstring...........................(Does not exist)
       * Skipping package: php7.2-mysql..............................(Does not exist)
       * Skipping package: php7.2-mysqlnd............................(Does not exist)
       * Installing package: php-gettext.............................OK
       * Skipping package: sysv-rc-conf..............................(Does not exist)
       * 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: genisoimage...............................OK
       * Checking package: gzip......................................OK
       * Checking package: htmldoc...................................OK
       * Checking package: isc-dhcp-server...........................OK
       * Checking package: isolinux..................................OK
       * Checking package: lftp......................................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: php-gettext...............................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..................................OK
       * Locking fogproject as a system account......................OK
       * Setting up fogproject password..............................OK
       * Stopping FOGMulticastManager.service Service................OK
       * Stopping FOGImageReplicator.service Service.................OK
       * Stopping FOGSnapinReplicator.service Service................OK
       * Stopping FOGScheduler.service Service.......................OK
       * Stopping FOGPingHosts.service Service.......................OK
       * Stopping FOGSnapinHash.service Service......................OK
       * Stopping FOGImageSize.service Service.......................OK
       * Is the MySQL password blank? (Y/n) n
       * Enter the MySQL password: 
       * Re-enter the MySQL password: 
       * Setting up and starting MySQL...............................Done
       * Backing up user reports.....................................Done
       * Stopping web service........................................Failed!
      

      installation stops here and I don’t know what to do next. Infact I’m not able to open the fog management page,located here :

      http://192.168.1.6/fog/management

      let me know what to do. thanks.

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @ziomario said:

        ubuntu 19.10 workstation.

        Seems like the FOG installer is not capable of running on that version yet. We’ll look into that soon.

        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

        Z 1 Reply Last reply Reply Quote 0
        • Z
          ziomario @Sebastian Roth
          last edited by ziomario

          @Sebastian-Roth

          you should upgrade your script,telling it to install this packages instead of the old versions :

          php7.3-mysqlnd
          php7.3-mysql
          php7.3-mbstring
          php7.3-ldap
          php7.3-json
          php7.3-gd
          php7.3-fpm
          php7.3-cli
          php7.3-curl
          php7.3-bcmath
          php 7.3
          php-fpm
          libapache2-mod-php
          libapache2-mod-php7.3

          sysv-rc-conf has been replaced by systemd

          even with these corrections the script does not reach the end.

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

            @ziomario Working-1.6 has been updated with the php7.3 stuff.

            Sysv-rc-conf is replaced by systemd, we know this and our scripts checkout if systemd is available. If so, we use systemd to start/stop/check the scripts.

            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
            • S
              Sebastian Roth Moderator
              last edited by Sebastian Roth

              @ziomario Thanks to Tom’s work the installer now works with Ubuntu 19.10 as well. Just finished a test install with dev-branch. Though you need to choose one of the development versions. Either go with working-1.6 (upcoming version 1.6 with new GUI) or dev-branch (latest development version of FOG 1.5.x).

              sudo -i
              cd /home/ziomario/Scaricati/Linux/
              git clone https://github.com/FOGProject/fogproject
              cd fogproject
              git checkout working-1.6
              cd bin
              ./installfog.sh
              

              Choose the version at the above command where it says “git checkout …”

              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
              • 1 / 1
              • First post
                Last post

              130

              Online

              12.1k

              Users

              17.3k

              Topics

              155.4k

              Posts
              Copyright © 2012-2024 FOG Project