DX Application Performance Management

 View Only
  • 1.  postgresql database inaccessible

    Posted Feb 10, 2016 09:09 AM

    I have this issue on my wily how do I resolve it?

    postgresql database inaccessible



  • 2.  Re: postgresql database inaccessible

    Broadcom Employee
    Posted Feb 10, 2016 09:29 AM

    Hi,

     

    There are a few things here that could be the cause.

     

    1. Postgres is not running

    2. If Postgres is on another server, can the EM server connect to that other server?  Run a telnet from the EM server to the Postgres server to ensure communication is ok.  Also check if a firewall is blocking it.

    3. Check your <EM Home>/config/tess-db-cfg.xml and check if the parameters are correct, especially the url.

    4. Put your EM in DEBUG and restart.  Once you see that an attempt to connect to the db has happened, upload your log here and we can give it a quick look.

     

    Thanks,
    Matt



  • 3.  Re: postgresql database inaccessible

    Broadcom Employee
    Posted Feb 10, 2016 10:01 AM

    On the APM CE MOM GUI there is a test database button. Are you able to access it that way?

    What is the operation before the error? Is this a temporary or ongoing condition?

    What does the pg.logs say on the database side?

    Also looking at the database supportability metrics in the Investigator may help.

     

    Please review Matt's and these comments and advise next steps.



  • 4.  Re: postgresql database inaccessible

    Broadcom Employee
    Posted Feb 10, 2016 04:23 PM

    If everything suggested so far does not help you can also check the .../data/pg_log/postgresql-<date>.log file for any messages indicating why the EM connection is failing.



  • 5.  Re: postgresql database inaccessible

    Posted Feb 18, 2016 03:04 PM

    check the configuration file on Postgresql

         /wilydb/database/data/pg_hba.conf

    To insure that the accessing IP addresses are listed.  If they are not, add the source IP addresses and restart postgresql.

     

    Hope that helps,

    Billy



  • 6.  Re: postgresql database inaccessible

    Posted Feb 18, 2016 03:17 PM

    Thank you all so much for your contribution.

     

    This issue is resolved.

     

     

    Daniel Addo