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

    Unable to connect to Web Interface. Git trunk(8245)

    Scheduled Pinned Locked Moved FOG Problems
    20 Posts 3 Posters 3.4k Views
    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.
    • F
      foggee @Tom Elliott
      last edited by

      @Tom-Elliott

      Filesystem     1K-blocks    Used Available Use% Mounted on
      udev             2055700       4   2055696   1% /dev
      tmpfs             413064    1072    411992   1% /run
      /dev/sda1      119594212 6673176 106822964   6% /
      none                   4       0         4   0% /sys/fs/cgroup
      none                5120       0      5120   0% /run/lock
      none             2065316      76   2065240   1% /run/shm
      none              102400      72    102328   1% /run/user
      

      0_1466725925947_upload-66ce7109-dd49-49cc-a760-4ffbe1238766
      I know that Apache is the main component for accessing web interface, correct me if I’m wrong. I also have a feeling that log I posted is wrong because of the timestamp dated back to June 6th. I’m trying to find a log for today but could not find it anywhere…

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @foggee
        last edited by Wayne Workman

        @foggee What if you uninstall apache, then delete that file, then reinstall?

        apt-get remove apache2 -y;rm -f /etc/apache2/apache2.conf;apt-get install apache2 -y

        I feel you are wanting to fix it rather than rebuild it, but keep in mind that you could probably have already rebuilt the server with the time you’ve spent on this.

        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/

        F 1 Reply Last reply Reply Quote 0
        • F
          foggee @Wayne Workman
          last edited by

          @Wayne-Workman

          Have tried removing Apache2, uninstalled FOG as a whole, then retrying the installations but I’m still back to the “Unable to Connect” page.

          Does this mean anything to you? Could this be the reason why I cannot access web interface?

          root@FogServer:~/git/fogproject/bin# sudo service apache2 stop
           * Stopping web server apache2                                                  * 
          root@FogServer:~/git/fogproject/bin# sudo service apache2 start
           * Starting web server apache2                                                  * 
           * The apache2 configtest failed.
          Output of config test was:
          apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/mods-enabled/authz_default.load: No such file or directory
          Action 'configtest' failed.
          The Apache error log may have more information.
          
          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @foggee
            last edited by

            @foggee But did you delete that file?

            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/

            F 1 Reply Last reply Reply Quote 0
            • F
              foggee @Wayne Workman
              last edited by

              @Wayne-Workman

              I did delete the .conf file.

              As of right now, the fog installer is asking me to update database schema by entering fog management. And I cannot access the web interface to do so.

              Any other ideas? I’d be more the willing to try anything you throw at me…

              I wish I know which are the main components that allow me to access the web interface to the fogserver so I can dig in there and dissect each component.

              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @foggee
                last edited by

                @foggee You can try to tell the installer to update the DB, instead of using the web interface. idk if it will work or not.
                just add the -y argument.
                ./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!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

                F 1 Reply Last reply Reply Quote 0
                • F
                  foggee @Wayne Workman
                  last edited by

                  @Wayne-Workman

                  But the database isn’t the reason why I cannot see the web interface, right?

                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman @foggee
                    last edited by

                    @foggee Right, but it needs updated one way or another.

                    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/

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      foggee @Wayne Workman
                      last edited by

                      @Wayne-Workman

                      Gotcha.

                      I just ran ./installfog.sh -y

                      Updating Database...................................Failed!
                      
                      

                      How can I verify that Apache2 is running correctly and that it’s doing what its suppose to do?

                      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                      • Wayne WorkmanW
                        Wayne Workman @foggee
                        last edited by

                        @foggee type the IP of the server into a browser, you should get an Apache test page if it’s working.

                        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/

                        F 1 Reply Last reply Reply Quote 0
                        • F
                          foggee @Wayne Workman
                          last edited by

                          @Wayne-Workman

                          Hmm…yeah
                          I’m getting the “unable to connect” page, same as below.

                          Can I ask for your expertise to help me troubleshoot Apache2? I feel like this is where should start but I have no idea how to, as I already uninstalled, deleted .conf file.

                          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                          • Wayne WorkmanW
                            Wayne Workman @foggee
                            last edited by

                            @foggee If you have time at 4:00 Central Standard, I can try to help via Team Viewer with you.

                            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/

                            F 1 Reply Last reply Reply Quote 0
                            • F
                              foggee @Wayne Workman
                              last edited by

                              @Wayne-Workman

                              Unfortunately being at work will not allow me to do so, even when this is work related. I sent you an email for the FOG session tomorrow, hoping that it will get me out of this hole…

                              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman @foggee
                                last edited by

                                @foggee If it were me, and I couldn’t figure it out, I’d have just rebuilt the server.

                                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/

                                F 1 Reply Last reply Reply Quote 0
                                • F
                                  foggee @Wayne Workman
                                  last edited by

                                  @Wayne-Workman

                                  Some quick questions regarding that.

                                  If I rebuild the VM session, which is the best version of Ubuntu to be on? And when I start installing FOG, do I go straight to trunk or should I install 1.2.0 first then trunk it.

                                  Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                  • Wayne WorkmanW
                                    Wayne Workman @foggee
                                    last edited by

                                    @foggee There are mixed thoughts about the best version of Ubuntu. IMO, I’d go with 16. There are special steps that need included (search the forums for “Ubuntu 16”), but after that it’s good to go. Ubuntu 14 will work without modification.

                                    You do not need to install 1.2.0. You can go straight to trunk.

                                    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/

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

                                    109

                                    Online

                                    12.2k

                                    Users

                                    17.4k

                                    Topics

                                    155.6k

                                    Posts
                                    Copyright © 2012-2025 FOG Project