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

503 Service Unavailable

Scheduled Pinned Locked Moved
FOG Problems
4
12
1.7k
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
    msi Testers
    last edited by Jun 8, 2018, 2:37 PM

    Hi,
    I am using FOG 1.5.4 on a CentOS 7.4 VM. Recently, We moved our data center from one location to another and I had to change the IP on the .fogsettings file. Since I still couldn’t login, decided to reinstall by renaming the .fogsettings as it suggested below:
    https://wiki.fogproject.org/wiki/index.php/Uninstall_FOG
    I did all of this accept for removing the database. Also noticed that /etc/init.d/FOGImageReplicator /etc/init.d/FOGMulticastManager /etc/init.d/FOGScheduler are missing. Please help me on this. We need to keep the database.

    1 Reply Last reply Reply Quote 0
    • Q
      Quazz Moderator
      last edited by Jun 8, 2018, 2:56 PM

      FOG uses the IP at many locations.

      https://wiki.fogproject.org/wiki/index.php?title=Migrate_FOG

      Should contain the necessary steps for a proper migration, afaik.

      M 1 Reply Last reply Jun 8, 2018, 8:47 PM Reply Quote 1
      • M
        msi Testers @Quazz
        last edited by msi Jun 8, 2018, 2:50 PM Jun 8, 2018, 8:47 PM

        hi! @Quazz
        Looks like the document is for migrating into a new machine. I am trying to use the same VM. I think it lost the connection to the database. After re-running the installfog.sh, it asked to go to web browser to update the database; it’s not giving me that option.

        G 1 Reply Last reply Jun 8, 2018, 9:32 PM Reply Quote 0
        • G
          george1421 Moderator @msi
          last edited by Jun 8, 2018, 9:32 PM

          @msi hopefully you didn’t drop the fog database. ??

          You took things a bit to far, rehoming the fog server’s IP can be changed manually in about 5 minutes. Do you have a way to put the fog server back to the way it was before you started?

          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 2 Replies Last reply Jun 11, 2018, 6:22 PM Reply Quote 0
          • W
            Wayne Workman
            last edited by Jun 9, 2018, 12:21 AM

            There’s also a script that will update all the spots with the new IP: 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/

            M 1 Reply Last reply Jun 22, 2018, 5:12 PM Reply Quote 1
            • M
              msi Testers @george1421
              last edited by Jun 11, 2018, 6:22 PM

              @george1421 That’s the only thing I didn’t do. I might still has the configuration (.fogsettings) file. How do you want me to proceed?

              1 Reply Last reply Reply Quote 0
              • M
                msi Testers @george1421
                last edited by Jun 13, 2018, 4:28 PM

                hi @george1421,
                So how can we fix it? Correct me if I am wrong @george1421, there is issue with cpu related process that is casing the FOG performance.
                Thanks.

                G 1 Reply Last reply Jun 13, 2018, 4:46 PM Reply Quote 0
                • G
                  george1421 Moderator @msi
                  last edited by george1421 Jun 13, 2018, 10:46 AM Jun 13, 2018, 4:46 PM

                  @msi yes, there is something causing polkit and dbus on your system to consume a lot of fog server resources. This isn’t a fog issue but a VM/host system issue.

                  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 2 Replies Last reply Jun 13, 2018, 7:45 PM Reply Quote 0
                  • M
                    msi Testers @george1421
                    last edited by Jun 13, 2018, 7:45 PM

                    @george1421 So, I am installing a new Hyper-v. would be able to guide me to use the existing database from the old machine? I know I should follow the Migrate_FOG document. Is there anything else I should do after installation of CentOS and current FOG?
                    thanks.

                    1 Reply Last reply Reply Quote 0
                    • M
                      msi Testers @george1421
                      last edited by Jun 15, 2018, 6:54 PM

                      @george1421 Hi,
                      I have followed the migration document. It’s giving me the same error

                      1 Reply Last reply Reply Quote 0
                      • M
                        msi Testers @Wayne Workman
                        last edited by msi Jun 22, 2018, 2:23 PM Jun 22, 2018, 5:12 PM

                        @wayne-workman I have restored the VM and ran updateIP.sh, still getting the same error. I checked the .fogsettings config file. it only updated the ipaddress; didn’t change routeraddress, plainrouter, and dns address.

                        W 1 Reply Last reply Jun 25, 2018, 2:00 PM Reply Quote 0
                        • W
                          Wayne Workman @msi
                          last edited by Wayne Workman Jun 25, 2018, 8:00 AM Jun 25, 2018, 2:00 PM

                          @msi said in 503 Service Unavailable:

                          didn’t change routeraddress, plainrouter, and dns address.

                          Those settings only affect DHCP on the fog server (If you’re using fog for DHCP). They would not affect web gui operation.

                          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
                          1 / 1
                          • First post
                            4/12
                            Last post

                          185

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project