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

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

Scheduled Pinned Locked Moved Solved
FOG Problems
5
10
6.0k
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.
  • R
    Raymond Bell Testers
    last edited by Raymond Bell Jan 27, 2017, 2:07 PM Jan 27, 2017, 7:58 PM

    fog@Fog-Server-15:~/Downloads/trunk/bin$ lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 15.10
    Release: 15.10
    Codename: wily

    I have tried the commands listed here with no success!

    https://forums.fogproject.org/topic/6427/problem-updating-to-trunk-stopping-web-service-failed

    root@Fog-Server-15:/home/fog/Downloads/trunk/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.3.3 Installer/Updater
    
    
     * Found FOG Settings from previous install at: /opt/fog/.fogsettings
    
     * Performing upgrade using these settings
    
    
      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
     ***  break the installation and you will have to remove the files yourself
     ***  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 7.1..........Done
    
       ######################################################################
       #     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: 10.24.28.18
     * Server Subnet Mask: 255.255.192.0
     * Interface: ens160
     * Installation Type: Normal Server
     * Donate: 0
     * 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. 10.24.28.18)
     * Option 067/filename is the bootfile: (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.
    
     * 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 php7.1-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: gzip......................................(Already Installed)
     * Skipping package: htmldoc...................................(Already Installed)
     * Skipping package: lftp......................................(Already Installed)
     * Skipping package: libapache2-mod-php7.1.....................(Does not exist)
     * 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....................................(Does not exist)
     * Skipping package: php7.1-bcmath.............................(Does not exist)
     * Skipping package: php7.1-cli................................(Does not exist)
     * Skipping package: php7.1-curl...............................(Does not exist)
     * Skipping package: php7.1-fpm................................(Does not exist)
     * Skipping package: php7.1-gd.................................(Does not exist)
     * Skipping package: php7.1-json...............................(Does not exist)
     * Skipping package: php7.1-ldap...............................(Does not exist)
     * Skipping package: php7.1-mbstring...........................(Does not exist)
     * Skipping package: php7.1-mcrypt.............................(Does not exist)
     * Skipping package: php7.1-mysql..............................(Does not exist)
     * Skipping package: php7.1-mysqlnd............................(Does not exist)
     * Installing package: php-gettext.............................OK
     * 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: 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: 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 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
     * Setting up and starting MySQL...............................OK
     * Backing up user reports.....................................Done
     * Stopping web service........................................Failed!
    root@Fog-Server-15:/home/fog/Downloads/trunk/bin# ^C
    

    Raymond Bell
    WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

    1 Reply Last reply Reply Quote 0
    • R
      Raymond Bell Testers
      last edited by Raymond Bell Jan 27, 2017, 3:50 PM Jan 27, 2017, 9:50 PM

      Tried the new 1.3.4 update and same issue failed to stop web services.

      Raymond Bell
      WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by Wayne Workman Jan 27, 2017, 7:37 PM Jan 28, 2017, 1:31 AM

        @Tom-Elliott I just created a Ubuntu 15.10 vm and installed FOG 1.3.4 on it, got the same issue. It’s related to php-fpm. Below is the error_log from the installer.

        0_1485567064256_fog_error_1.3.4.log

        IMHO with the limited time that we have, focus should be on Ubuntu’s latest LTS version.

        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/

        Tom ElliottT 1 Reply Last reply Jan 28, 2017, 2:33 AM Reply Quote 0
        • Tom ElliottT
          Tom Elliott @Wayne Workman
          last edited by Jan 28, 2017, 2:33 AM

          @Wayne-Workman I know what the problem is. You’re getting a failure at php-fpm, but this is not the “cause” of the problem. The “problem” is php packages are not available on non-lts versions of Ubuntu.

          I learned this today thanks to this posting and chatting with @Raymond-Bell.

          This means, php files from ondrej are not provided for Ubuntu < 12, 13, 15 (Currently).

          I’m trying to think of a logical way to correct this behavior so people aren’t being required to jump to specified versions every 2 years or so. That said, there is not much I can do to fix this for people. At least I haven’t found a valid way to do this. I can get php files to be installed, but one of them fails (and I suspect it’s php-gettext) which then fails when the system tries to install any missed packages from earlier.

          This “install any missed” is to ensure we have a semi failsafe method in the case some of the installed files had dependecies that were not met during the first test.

          Just giving insight here for others who might run into the issues described.

          This is one example of one of the reasons we like to know the OS Version when something is reported. (Even if it seems strange and unrelated.)

          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
          • R
            Raymond Bell Testers
            last edited by Jan 28, 2017, 6:46 PM

            @Tom-Elliott @Wayne-Workman
            I am doing the upgrade now and will let you know how it goes…

            Raymond Bell
            WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

            Tom ElliottT 1 Reply Last reply Jan 28, 2017, 6:46 PM Reply Quote 0
            • Tom ElliottT
              Tom Elliott @Raymond Bell
              last edited by Jan 28, 2017, 6:46 PM

              @Raymond-Bell Thanks, keep us posted.

              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

              R 1 Reply Last reply Jan 28, 2017, 6:47 PM Reply Quote 1
              • R
                Raymond Bell Testers @Tom Elliott
                last edited by Jan 28, 2017, 6:47 PM

                @Tom-Elliott will do

                Raymond Bell
                WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott
                  last edited by Jan 28, 2017, 8:19 PM

                  Updating did indeed fix the issue. There was another minor issue after this point but it was in relation to ALTER USER and localhost and 127.0.0.1.

                  Once the ALTER User was applied to both local host elements all started working properly.

                  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
                  • B
                    bastienV
                    last edited by Sebastian Roth Oct 5, 2017, 10:39 AM Oct 5, 2017, 1:20 PM

                    la seul solution que j’ai trouvé est de supprimer le fichier fogsettings dans le dossier /opt/fog.
                    ce fichier garde en mémoire de mauvais paramètres.
                    Je suis passé avec cette méthode d’un Fog 1.3.0 a un fog 1.4.4

                    Moderator edited to add translation:
                    the only solution I found is to delete the fogsettings file in the / opt / fog folder.
                    this file keeps bad settings in memory.
                    I went with this method of a Fog 1.3.0 has a fog 1.4.4

                    1 Reply Last reply Reply Quote 0
                    • S
                      shabbir
                      last edited by Nov 5, 2019, 7:24 AM

                      I got below error during installation:

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

                      I installed apache/httpd service then re-run installation and everything was perfect.

                      If anyone gets error during apache/httpd installation then open epel.repo from below location and change https –> http in mirrorlist link.
                      vi /etc/yum.repos.d/epel.repo

                      Hope this helps everyone.

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

                      244

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project