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

                    • 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)

                    • Unable to start OpManager - PGSQL

                      Sometimes OpManager will not start when the server ran out of disk space in the pg_xlog directory. It will not be possible to retrieve the connection to OpManager database. The files present under OpManager\pgsql\data\pg_xlog get disappeared in such ...
                    • Database Migration - MySQL to PgSQL

                      The DB migration from MySQL to PgSQL involves taking a PgSQL compatible backup, re-installing the product with PgSQL database and restoring the backup. The procedure for the above is a little tedious and time consuming in version 9 & 10. So, please ...