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

    Ubuntu 16.04 installing fog error- stopping web service failed

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    19
    6.2k
    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.
    • K
      kirkk @Tom Elliott
      last edited by

      @Tom-Elliott I have done that for the install, it still gives the php5 error, i even purged php5 packages running it with the php7 command.

      Tom ElliottT K 2 Replies Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @kirkk
        last edited by

        @kirkk DId you upgrade to Ubuntu 16.04 from a prior 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! 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

        K 1 Reply Last reply Reply Quote 0
        • K
          kirkk @kirkk
          last edited by kirkk

          0_1467299238604_Capture.PNG

          1 Reply Last reply Reply Quote 0
          • K
            kirkk @Tom Elliott
            last edited by

            @Tom-Elliott No it is a fresh install of ubuntu 16.04

            Q 1 Reply Last reply Reply Quote 0
            • Q
              Quazz Moderator @kirkk
              last edited by

              @kirkk There’s most likely leftover files which you need to manually remove.

              I think on Ubuntu you’ll have to remove all php folders in /etc/apache2

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

                PHP 5 does not exist for Ubuntu 16.04. So this is troubling me.

                Can you run:

                sudo rm -rf /etc/php* /etc/apache* /var/www
                sudo apt-get purge libapache* php5*
                sudo apt-get autoremove --purge
                sudo apt-get update
                php_ver='7.0' php_verAdds='-7.0' ./installfog.sh -y
                

                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

                K 1 Reply Last reply Reply Quote 1
                • K
                  kirkk @Tom Elliott
                  last edited by

                  @Tom-Elliott I have run those commands and get the same error. @Quazz i couldnt find an apache2 folder in the etc/ directory

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

                    What’s output of:

                    sudo lsb_release -a

                    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

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

                      For all of these issues I think i figured it out.

                      Try this:

                      sudo -i
                      php_ver='7.0' php_verAdds='-7.0' ./installfog.sh -y
                      

                      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

                      K 1 Reply Last reply Reply Quote 1
                      • K
                        kirkk @Tom Elliott
                        last edited by

                        @Tom-Elliott 0_1467300678277_Capture.PNG

                        1 Reply Last reply Reply Quote 0
                        • K
                          kirkk @Tom Elliott
                          last edited by

                          @Tom-Elliott 0_1467301309479_Capture.PNG It got much farther this time, but stopped with this error.

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

                            @kirkk can you upload the whole log file please?

                            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

                            K 1 Reply Last reply Reply Quote 0
                            • K
                              kirkk @Tom Elliott
                              last edited by

                              @Tom-Elliott 0_1467302177879_fog_error_8325.log

                              1 Reply Last reply Reply Quote 0
                              • K
                                kirkk
                                last edited by

                                I did a fresh install again and did sudo -i and installed if from that prompt the first time, and everything worked now. It is currently up and running, thanks for all the help.

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

                                160

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project