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

    fogserver changed ip, now cant login

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    3
    15
    1.3k
    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.
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth

      @p4cm4n Don’t have much of an idea yet. Can you try accessIng the web UI using different browsers and doing so from different machines. Makes a difference?

      Do you know how to use browser developer tools to look at the traffic? In Firefox hit F12 to open the Tools and switch to the network tab. Now reload the page and see where exactly it hangs. Take a screenshot and post here.

      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

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

        Have you seen this tool? https://github.com/FOGProject/fog-community-scripts/tree/master/updateIP

        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/

        P 1 Reply Last reply Reply Quote 1
        • P
          p4cm4n @Wayne Workman
          last edited by

          @Wayne-Workman never before. i’ll check it out - thanks.

          the makefogmobile project would help me out probably too (for little one and done labs here and there)
          Thanks for that!

          i’ll see if it helps my current issue. if not i’ll just reinstall them all.

          1 Reply Last reply Reply Quote 1
          • S
            Sebastian Roth Moderator
            last edited by

            @p4cm4n said:

            i’ll see if it helps my current issue. if not i’ll just reinstall them all.

            Feel free to do a reinstall but from my humble opinion we’d all learn more from trying to find out what’s causing the slow web UI response and fix it.

            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

            P 1 Reply Last reply Reply Quote 0
            • P
              p4cm4n @Sebastian Roth
              last edited by

              @Sebastian-Roth i’m more than willing to troubleshoot - didn’t want to waste your guy’s time.
              considering I will be going through this exact process (maybe with less than 5 storage nodes per site however) about 12 times at the different schools i will be maintaining, i’m all for fixing.
              i have opened up both SSH and web gui to the outside, and am available to be pointed in whichever direction.
              further troubleshooting from me, i pulled up chrome inspector on the site locally and saw that scripts were taking a long time, along with something else which i forget at the moment.

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by

                @p4cm4n said in fogserver changed ip, now cant login:

                i have opened up both SSH and web gui to the outside

                Wouldn’t do that. We can join you in a Teamviewer session on notice. Will you be around in the next hours? I can try to squeeze in a short session. Contact me on chat here in the forums.

                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

                P 1 Reply Last reply Reply Quote 1
                • P
                  p4cm4n @Sebastian Roth
                  last edited by

                  @Sebastian-Roth only reason i did that was because i wasn’t on site.
                  sorry though, wasn’t available because someone in my company decided to do some vlan changing without letting anyone know/testing.
                  i’ll be available whenever probably, i’ll check in.

                  P 1 Reply Last reply Reply Quote 0
                  • P
                    p4cm4n @p4cm4n
                    last edited by

                    @p4cm4n the reason ended up being that in config.class.php the page still had database_host as the old IP address
                    my thanks go out to sebastian who helped me out with this

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

                      For future readers, the updateIP tool also covers updating the config.class.php 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/

                      P 1 Reply Last reply Reply Quote 1
                      • P
                        p4cm4n @Wayne Workman
                        last edited by

                        @Wayne-Workman perfect chance to ask - will updateip tool, or makefogmobile both work on storage nodes as well?

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

                          @p4cm4n In the case of storage nodes, the fog server that hosts the database has to be updated with the remote node’s new IP address. So to answer your question, No. Though since the database credentials are present on the storage node, some alterations to the scripts could make this possible.

                          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

                          184

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project