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

Removing the apache and php packages........................Failed

Scheduled Pinned Locked Moved Solved
FOG Problems
4
13
4.1k
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.
  • W
    Wayne Workman @thiagotw
    last edited by Sep 25, 2017, 7:56 PM

    @thiagotw Looks like you’re not root when you run the installer.

    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/

    T 1 Reply Last reply Sep 25, 2017, 8:27 PM Reply Quote 0
    • T
      thiagotw @Wayne Workman
      last edited by Sep 25, 2017, 8:27 PM

      @wayne-workman Should i use sudo ./installfog.sh ? because i did and got the same error.

      W 1 Reply Last reply Sep 25, 2017, 8:49 PM Reply Quote 0
      • W
        Wayne Workman @thiagotw
        last edited by Sep 25, 2017, 8:49 PM

        @thiagotw Sudo might work - I recommend actually becoming root first. Like this:

        sudo -i
        # Navigate to fogproject/bin
        ./installfog.sh
        

        The first line makes you root properly, it does an actual full login and sets the right environment variables for root.

        Does this server have internet access? Can you ping www.google.com or 8.8.8.8 ?

        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/

        T 1 Reply Last reply Sep 25, 2017, 11:35 PM Reply Quote 0
        • T
          thiagotw @Wayne Workman
          last edited by Sep 25, 2017, 11:35 PM

          @wayne-workman Thx for the fast answer,
          So i did what you suggest, but still get the same error.
          I remembered something that happened during the ubuntu update, an error, which damaged some packages,
          so I used sudo apt-get remove apache2 to remove apache and those damaged files manually it worked .
          However I was not sure how much damage was, so I reinstalled everything.

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Sep 26, 2017, 4:36 AM

            @thiagotw What do you see when running sudo apt-get -f install? Any errors? If not try apt-get install apache2 libapache2-mod-php7.1 php7.1 and see what happens. I am sure you will see an error.

            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

            T 1 Reply Last reply Sep 26, 2017, 12:10 PM Reply Quote 1
            • T
              thiagotw @Sebastian Roth
              last edited by Sep 26, 2017, 12:10 PM

              @sebastian-roth Hi! Thx for answer, you guys are great! i think you can mark this topic as solved, i did a different method for fix, but your method probably going to work too.

              T 1 Reply Last reply Sep 26, 2017, 12:13 PM Reply Quote 0
              • T
                Tom Elliott @thiagotw
                last edited by Sep 26, 2017, 12:13 PM

                @thiagotw Please explain what method you chose so others might be able to try it too.

                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

                T 1 Reply Last reply Sep 26, 2017, 12:15 PM Reply Quote 0
                • T
                  thiagotw @Tom Elliott
                  last edited by Sep 26, 2017, 12:15 PM

                  @tom-elliott sure! i´ts on my 3rd message already, sorry i forgot to Code the text.

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom Elliott
                    last edited by Sep 26, 2017, 12:16 PM

                    So just to clarify,

                    You ran:

                    sudo apt-get remove apache2
                    

                    Then everything worked?

                    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

                    T 1 Reply Last reply Sep 26, 2017, 12:19 PM Reply Quote 0
                    • T
                      thiagotw @Tom Elliott
                      last edited by thiagotw Sep 26, 2017, 6:20 AM Sep 26, 2017, 12:19 PM

                      @tom-elliott Yah, Thx for the attention. Now step two Configuring Fog for the first time for my local network scenario. I will open new topic for that tho.

                      1 Reply Last reply Reply Quote 0
                      • W
                        Wayne Workman
                        last edited by Sep 26, 2017, 1:13 PM

                        I find that answer difficult to believe - looking at the log in the first post, there were lots more failures than apache.

                        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/

                        T 1 Reply Last reply Sep 26, 2017, 1:34 PM Reply Quote 0
                        • T
                          thiagotw @Wayne Workman
                          last edited by Sep 26, 2017, 1:34 PM

                          @wayne-workman Like i said, i remove all damaged files manually, where the base command was sudo apt-get remove xxxxx Also I may use sudo apt-get xxxx and sudo apt-get upgrade xxxx Sorry if i don´t detail my fix steps very well, my english isn’t good 😞

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

                          213

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project