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

Web interface doesn't open after updating to 1.2

Scheduled Pinned Locked Moved
FOG Problems
4
16
6.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.
  • T
    Tom Elliott
    last edited by Oct 8, 2014, 9:04 PM

    Here’s your problem:
    Setting up and starting Apache Web Server…Failed!

    My guess, you installed lamp during installation of the OS?

    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
    • D
      DLC
      last edited by Oct 9, 2014, 9:50 PM

      OS was already installed and running 0.32, is there a command I can run to re-install apache?

      1 Reply Last reply Reply Quote 0
      • W
        Wolfbane8653 Developer
        last edited by Oct 10, 2014, 11:53 AM

        [url]https://www.google.com/search?q=linux+reinstall+apache&rls=com.microsoft:en-US&ie=UTF-8&oe=UTF-8&startIndex=&startPage=1&gws_rd=ssl[/url]

        Without the information on your OS and its version we can’t post the exact cmd to run.

        1 Reply Last reply Reply Quote 0
        • D
          DLC
          last edited by Oct 10, 2014, 2:23 PM

          The basic commands for uninstalling apache2 didn’t work so this is what I ended up on

          sudo apt-get --purge remove apache2 apache2.2-common
          sudo apt-get --purge remove apache2.2-common
          sudo apt-get install apache2 apache2-mpm-prefork apache2.2-common libapache2-mod-php5 php5

          After doing that it was back to 0.32, so I ran the fog installer again and it worked without error, now on 1.2 with database and images intact! Hurray!

          1 Reply Last reply Reply Quote 0
          • S
            SuP3R_Ch1cKeN
            last edited by Jan 23, 2015, 4:07 PM

            I believe I’m having the same issue as the OP (“Setting up and starting Apache Web Server…Failed!” however mine has “(2)” at the end). I was trying to use the same solution but I have CentOS 6 and “sudo yum --purge remove apache2 apache2.2-common” does not work. Sorry I’m a noob with Lunix.

            FOG Server OS: CentOS 7
            FOG Version: FOG 1.2.0

            1 Reply Last reply Reply Quote 0
            • W
              Wolfbane8653 Developer
              last edited by Jan 23, 2015, 4:13 PM

              [url]http://www.cyberciti.biz/faq/uninstall-apache-redhat-centos-rhel-fedora-linux-command/[/url]

              Hope that helps!

              Edit: FYI this will Uninstall apache2. You will then need to re-install apache2 using the fog install script.

              1 Reply Last reply Reply Quote 0
              • S
                SuP3R_Ch1cKeN
                last edited by Jan 23, 2015, 4:51 PM

                Ok I uninstalled apache2 then ran the fog install script again. Failed at the same spot. Then I tried uninstalling apache2, php, MySQL, and HTTPD. Ran the fog installer again. Failed again in same spot.

                Edit: Here’s the install log:

                Version: 1.2.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) 
                

                Choice: [1]

                Staring Redhat / CentOS Installation.
                …/lib/redhat/functions.sh: line 1: n#: command not found

                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:
                [URL=‘http://www.fogproject.org/wiki/index.php?title=InstallationModes’][U][COLOR=#1155cc]http://www.fogproject.org/[/COLOR][/U]wiki/index.php?title=InstallationModes[/URL][COLOR=#555555]

                What type of installation would you like to do? [N]

                What is the IP address to be used by this FOG Server? [10.1.0.109]

                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.1.0.1]

                Would you like to setup a DNS address for the DHCP server and client boot image? [Y/n]
                What is the IP address to be used for DNS on the DHCP server and client boot image? [10.1.0.99]

                Would you like to change the default network interface from eth0?
                If you are not sure, select No. [y/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]

                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:

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

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

                ##############################[/COLOR]#######################################

                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’][U][COLOR=#1155cc]http://www.fogproject.org/wiki[/COLOR][/U][/URL]

                Here are the settings FOG will use:
                Base Linux: Redhat
                Detected Linux Distribution: CentOS
                Installation Type: Normal Server
                Server IP Address: 10.1.0.109
                DHCP router Address: 10.1.0.1
                DHCP DNS Address: 10.1.0.99
                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. 10.1.0.109) 
                       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.

                • Packages to be installed: httpd php php-cli php-common php-gd php-mysql mysql mysql-server tftp-server nfs-utils vsftpd net-tools wget xinetd tar gzip make m4 gcc gcc-c++ lftp

                • Installing package: httpd

                • Installing package: php

                • Skipping package: php-cli (Already installed)

                • Skipping package: php-common (Already installed)

                • Skipping package: php-gd (Already installed)

                • Installing package: php-mysql

                • Installing package: mysql
                  Existing lock /var/run/yum.pid: another copy is running as pid 4777.
                  Another app is currently holding the yum lock; waiting for it to exit…
                  The other application is: PackageKit
                  Memory : 19 M RSS (105 MB VSZ)
                  Started: Fri Jan 23 11:43:29 2015 - 00:06 ago
                  State : Sleeping, pid: 4777
                  Existing lock /var/run/yum.pid: another copy is running as pid 4988.
                  Another app is currently holding the yum lock; waiting for it to exit…
                  The other application is: PackageKit
                  Memory : 19 M RSS (186 MB VSZ)
                  Started: Fri Jan 23 11:43:36 2015 - 00:01 ago
                  State : Sleeping, pid: 4988
                  Another app is currently holding the yum lock; waiting for it to exit…
                  The other application is: PackageKit
                  Memory : 41 M RSS ( 88 MB VSZ)
                  Started: Fri Jan 23 11:43:36 2015 - 00:03 ago
                  State : Running, pid: 4988
                  Another app is currently holding the yum lock; waiting for it to exit…
                  The other application is: PackageKit
                  Memory : 92 M RSS (139 MB VSZ)
                  Started: Fri Jan 23 11:43:36 2015 - 00:05 ago
                  State : Sleeping, pid: 4988
                  Another app is currently holding the yum lock; waiting for it to exit…
                  The other application is: PackageKit
                  Memory : 92 M RSS (139 MB VSZ)
                  Started: Fri Jan 23 11:43:36 2015 - 00:07 ago
                  State : Sleeping, pid: 4988
                  Another app is currently holding the yum lock; waiting for it to exit…
                  The other application is: PackageKit
                  Memory : 92 M RSS (139 MB VSZ)
                  Started: Fri Jan 23 11:43:36 2015 - 00:09 ago
                  State : Sleeping, pid: 4988

                • Installing package: mysql-server

                • Skipping package: tftp-server (Already installed)

                • Skipping package: nfs-utils (Already installed)

                • Skipping package: vsftpd (Already installed)

                • Skipping package: net-tools (Already installed)

                • Skipping package: wget (Already installed)

                • Skipping package: xinetd (Already installed)

                • Skipping package: tar (Already installed)

                • Skipping package: gzip (Already installed)

                • Skipping package: make (Already installed)

                • Skipping package: m4 (Already installed)

                • Skipping package: gcc (Already installed)

                • Skipping package: gcc-c++ (Already installed)

                • Skipping package: lftp (Already installed)

                Confirming package installation.

                • Checking package: httpd…OK
                • Checking package: php…OK
                • Checking package: php-cli…OK
                • Checking package: php-common…OK
                • Checking package: php-gd…OK
                • Checking package: php-mysql…OK
                • Checking package: mysql…OK
                • Checking package: mysql-server…OK
                • Checking package: tftp-server…OK
                • Checking package: nfs-utils…OK
                • Checking package: vsftpd…OK
                • Checking package: net-tools…OK
                • Checking package: wget…OK
                • Checking package: xinetd…OK
                • Checking package: tar…OK
                • Checking package: gzip…OK
                • Checking package: make…OK
                • Checking package: m4…OK
                • Checking package: gcc…OK
                • Checking package: gcc-c++…OK
                • Checking package: lftp…OK

                Configuring services.

                • Setting up and starting MySQL…OK

                • Backing up user reports…OK

                • Did you leave the mysql password blank during install? (Y/n)

                • Setting up and starting Apache Web Server…Failed! (2)

                Script done on Fri 23 Jan 2015 11:44:41 AM EST

                FOG Server OS: CentOS 7
                FOG Version: FOG 1.2.0

                1 Reply Last reply Reply Quote 0
                • W
                  Wolfbane8653 Developer
                  last edited by Jan 23, 2015, 4:52 PM

                  Can you post your install log?

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom Elliott
                    last edited by Jan 23, 2015, 5:08 PM

                    Looks like he did.

                    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
                      SuP3R_Ch1cKeN
                      last edited by Jan 27, 2015, 2:32 PM

                      Just tried reinstalling CentOS 6.6 and it gave the same error. I’m going to try CentOS 7 later today when I have more time.

                      FOG Server OS: CentOS 7
                      FOG Version: FOG 1.2.0

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

                      146

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project