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

Can't load web portal, PXE boot fails

Scheduled Pinned Locked Moved Solved
FOG Problems
2
10
2.6k
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.
  • M
    Merilious
    last edited by Merilious Aug 17, 2017, 9:31 AM Aug 16, 2017, 8:30 PM

    Server
    • FOG Version: Not sure
    • OS: Ubuntu 16.04
    Client
    • Service Version:
    • OS: Win10
    Description

    Sorry for the lack of description info. I believe I am running FOG 1.3.x but forgot how to check what version it is. Spent a good few weeks building an awesome FOG server with the help of the good people of these forums, and used it quite a bit, but then it sat idle for the past month. Just enough time to forget how to traverse and work with Linux/Fog (SHAME!). I tried accessing the web portal and it does not get to the login page, but if I just use the IP without the /fog/management it connects to a FOG page with a couple of links. Also, PXE booting fails with the following error messages (screenshot included):

    • input/output error (http://ipxe.org/1d0c6439)
    • Could not boot:
    • Chainloading failed

    I tried doing a little research and saw maybe a mysql database error, but I could not run some of the terminal statements listed. I also saw to maybe try reinstalling FOG but wanted to checkin before doing so. Not sure if that would remove my previous images and pc objects in FOG. Any help getting me back in and up and running would be greatly appreciated and thank you ahead of time.
    0_1502915431019_Screen Shot 2017-08-16 at 3.13.14 PM.png

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator @Merilious
      last edited by george1421 Aug 16, 2017, 3:12 PM Aug 16, 2017, 9:12 PM

      @merilious Since it WAS working and magically, IS NOT working AND you are running ubuntu this thread probably applies: https://forums.fogproject.org/topic/10006/ubuntu-is-fog-s-enemy

      But before you go and follow this thread blindly lets get some background information.

      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!

      1 Reply Last reply Reply Quote 0
      • G
        george1421 Moderator
        last edited by Aug 16, 2017, 9:07 PM

        ok I want you to run the following command from a windows computer browser.

        http://10.100.10.22/fog/service/ipxe/boot.php?mac=00:1c:42:86:14:c4
        Post the output here.

        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!

        M 1 Reply Last reply Aug 16, 2017, 9:11 PM Reply Quote 0
        • M
          Merilious @george1421
          last edited by Aug 16, 2017, 9:11 PM

          @george1421

          “A valid database connection could not be made”

          G 2 Replies Last reply Aug 16, 2017, 9:12 PM Reply Quote 0
          • G
            george1421 Moderator @Merilious
            last edited by george1421 Aug 16, 2017, 3:12 PM Aug 16, 2017, 9:12 PM

            @merilious Since it WAS working and magically, IS NOT working AND you are running ubuntu this thread probably applies: https://forums.fogproject.org/topic/10006/ubuntu-is-fog-s-enemy

            But before you go and follow this thread blindly lets get some background information.

            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!

            1 Reply Last reply Reply Quote 0
            • G
              george1421 Moderator @Merilious
              last edited by Aug 16, 2017, 9:14 PM

              @merilious I want you to open a linux command prompt and review the settings in /opt/fog/.fogsettings especially the field snmysqlpass what is the value currently?

              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!

              M 1 Reply Last reply Aug 16, 2017, 9:23 PM Reply Quote 0
              • M
                Merilious @george1421
                last edited by Aug 16, 2017, 9:23 PM

                @george1421

                snmysqlpass=‘’

                Also, the FOG version up top states:
                Version: 1.4.0-RC-8
                Install time: Tue 25 Apr 2017 04:50:18 PM CDT

                G 1 Reply Last reply Aug 16, 2017, 9:25 PM Reply Quote 0
                • G
                  george1421 Moderator @Merilious
                  last edited by Aug 16, 2017, 9:25 PM

                  @merilious OK I just wanted to make sure that the password was blank. Then the instructions in the thread are spot on. Go ahead and follow the steps. Then you probably should update to current 1.4.0 had several issues with single disk resizable that was fixed in 1.4.1. But for now you need to get control of your fog 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!

                  M 1 Reply Last reply Aug 16, 2017, 10:10 PM Reply Quote 1
                  • M
                    Merilious @george1421
                    last edited by Aug 16, 2017, 10:10 PM

                    @george1421

                    That did it! I ran the remove unattended updates at the bottom as well.
                    So now to update the FOG install. Just to make sure I do this correctly I run the following correct?

                    git clone https://github.com/FOGProject/fogproject.git /root/fogproject .
                    
                    cd /root/fogproject/bin
                    
                    ./installfog.sh
                    

                    Or should the install line be:

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

                    Just grabbing info from around the Wiki and stuff.

                    G 1 Reply Last reply Aug 16, 2017, 10:31 PM Reply Quote 0
                    • G
                      george1421 Moderator @Merilious
                      last edited by Aug 16, 2017, 10:31 PM

                      @merilious Do you already have a fogproject directory? If you are on an RC release I might say yes.

                      It might be in /root/fogproject or /opt/fogproject depending on who’s instructions you followed. If you can find that fogproject directory, then the update process is simple.

                      cd /root/fogproject
                      git pull
                      git checkout master
                      cd bin
                      ./installfog.sh
                      

                      You will need to do a checkout master because you were on a rc branch.

                      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!

                      M 1 Reply Last reply Aug 17, 2017, 2:19 PM Reply Quote 0
                      • M
                        Merilious @george1421
                        last edited by Aug 17, 2017, 2:19 PM

                        @george1421

                        I am now fully operational and up to date to boot! Thank you very much for your time Mr. George1421! It’s much appreciated.

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

                        197

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project