503 Service Unavailable
-
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. -
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.
-
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. -
@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?
-
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
-
@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?
-
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. -
@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.
-
@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. -
@george1421 Hi,
I have followed the migration document. It’s giving me the same error -
@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.
-
@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.