What to do when I get locked out from the gateway after making a change in the authentication?
The gateway saves backup copies of setup XML files when changes are made through the Gateway Setup Editor by default. This article assumes the setup XML files are accessible on the gateway’s local file system (rather than remotely on Gateway Hub or ITRS Analytics (Obcerv). You should be able to regain access after reverting the changes and restarting the gateway. If the affected gateway has a standby gateway configured, both primary and standby gateway should be stopped and the XML files reverted. We are providing the general steps below:
-
Login to the gateway server on a SSH / Telnet session
-
Locate the gateway setup XML files and find out where configuration changes were previously made. The XML files are text based and can be opened with a text editor. The Gateway Authentication section should be inside the XML tags ```
3. Locate a directory named "**cache**" which should be under the gateway startup directory.
4. Stop primary and standby gateways.
5. Revert the changes to the XML files, and remove/rename the "**cache**" directory.
6. Start primary and standby gateways again.
You should be able to regain access after the gateways are started back up.