Resolving Pgsql Startup due to DNS issue

Resolving Pgsql Startup due to DNS issue

1. Stop the OpManager service and wait till all java/postgres processes are closed. (If postgres process doesn't exit for a long time, do not kill the process, instead, run StopPgsql.bat from cmd and wait for the process to terminate.) 

2. Navigate to the /etc/hosts [in case of linux] (or) the C:\Windows\System32\drivers\etc\hosts [in case of windows] file, take a backup of the same under a different location and edit it as follows: 
127.0.0.1 localhost opmanager-test
<Server_IP> opmanager-test.domain.com opmanager-test
Note : Here, opmanager-test is the hostname of the machine and opmanager-test.domain.com is the FQDN. Make sure that the hosts file contains only the above 2 entries.

3. Rename logs under OpManager/ folder as logs_old and create a fresh logs folder.

4. Restart the machine in which OpManager is installed and check if the behavior is updated.

                  New to ADSelfService Plus?

                    • Related Articles

                    • Standalone DB Connector in OpManager (PgSQL)

                      The below KB is applicable for all editions & from version 12.6.262 and above. Please follow this on Support team request. Question: How to connect to OpManager PgSQL Database via command prompt? Solution: Please follow the below steps to connect the ...
                    • Xen VMs Tab will be empty due to disk name is lengthy

                      Xen discovery issue:  Virtual Machines tab will be empty in the host snapshot page due to the Disk name is exceeded more than 100, and the below exception will be found in stderr log Caused by: java.sql.SQLException: Batch entry 21 INSERT INTO ...
                    • Steps to Check the Data Collection Issue

                      Steps to check the data collection issue :- Generate threadDump using any one of the following url http://opmanager:port/GenerateThreadDump.do http://opmanager:port/servlet/GenerateThreadDump Analyse the threaddump for any BLOCKED threads If there is ...
                    • How to install OpManager Central and Probe on a Windows server (PGSQL)

                    • Polling (IP address/DNS name)

                      OpManager allows you to choose the polling method for the discovered devices - IP Address or DNS Name. By default, the IP Address is selected. If you choose DNS Name, the device's IP address is updated every 6 hours. There are two ways to change the ...