• 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.
    • Wayne WorkmanW
      Wayne Workman @thiagotw
      last edited by

      @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/

      thiagotwT 1 Reply Last reply Reply Quote 0
      • thiagotwT
        thiagotw @Wayne Workman
        last edited by

        @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

          @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

          thiagotwT 1 Reply Last reply Reply Quote 1
          • thiagotwT
            thiagotw @Sebastian Roth
            last edited by

            @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.

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

              @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

              thiagotwT 1 Reply Last reply Reply Quote 0
              • thiagotwT
                thiagotw @Tom Elliott
                last edited by

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

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

                  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

                  thiagotwT 1 Reply Last reply Reply Quote 0
                  • thiagotwT
                    thiagotw @Tom Elliott
                    last edited by thiagotw

                    @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
                    • Wayne WorkmanW
                      Wayne Workman
                      last edited by

                      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/

                      thiagotwT 1 Reply Last reply Reply Quote 0
                      • thiagotwT
                        thiagotw @Wayne Workman
                        last edited by

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

                        222

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project