<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic PostgreSQL (server doen't listen) in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/postgresql-server-doen-t-listen/m-p/102994#M6013</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having problems when I try to access to the databes in PostgreSQL. In ArcCatalog and in Postgre Program. The server has installed: Windows Server 2008 R2 Standard 64bit PostgreSQL 8.3 PostGIS 1.2.3 for PostgreSQL 8.3 ArcGIS Desktop 9.3 ArcSDE for PostgreSQL. This is the error that a get [ATTACH=CONFIG]13236[/ATTACH]. I try to restart the service&amp;nbsp; and I got this messege[ATTACH=CONFIG]13237[/ATTACH].&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried two things, but without result:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. For PostgreSQL servers starting with version 8.0, this is controlled using the �??listen _address�?� parameter in the postgresql.conf file. Here, you can enter a list of IP addresses where the server should listen on, or simply use �??*�?? to listen on all available IP addresses. RESULT: The configuration is correct&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Firewall configured correctly for Port 5432 RESULT: The configuration is correct, the firewall is Disable. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also try this.In the dbinit.sde file. This was empty so I wrote this lines with the host name and the db name: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set PGHOST=[hostname]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set PGPORT=5432&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set SDE_DATABASE=&amp;lt;database name&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After that I went to ArcCatalog and pgAdmin III and try to open the Postgre database and I got the same message 'Serverdoesn't listen"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I went to command Prompt and I run this command&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Program Files &amp;lt;x86&amp;gt;\PostgreSQL\8.3\bin&amp;gt;netstat -p TCP -a &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got the IP from the Active Connections [ATTACH=CONFIG]13238[/ATTACH] And there I couldn't see the IP running host and the connection on Port 5432 that says in the fist error messege.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I run this command, for ping 127.0.0.1:[ATTACH=CONFIG]13239[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Windows logs:[ATTACH=CONFIG]13240[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The log files of Postgres say this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:17 VET LOG: database system was interrupted while in recovery at 2012-04-03 14:39:01 VET&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:17 VET HINT: This probably means that some data is corrupted and you will have to use the last backup for recovery.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:17 VET LOG: database system was not properly shut down; automatic recovery in progress&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:17 VET LOG: redo starts at 1D/2D0689F0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:17 VET LOG: loaded library "$libdir/plugins/plugin_debugger.dll"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:17 VET FATAL: the database system is starting up&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:18 VET LOG: could not open file "pg_xlog/000000010000001D00000031" (log file 29, segment 49): No such file or directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:18 VET LOG: loaded library "$libdir/plugins/plugin_debugger.dll"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:18 VET FATAL: the database system is starting up&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:19 VET LOG: startup process (PID 2580) exited with exit code 255&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:19 VET LOG: aborting startup due to startup process failure&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any one has any idea why this is happening&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Diego Llamas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Apr 2012 11:52:48 GMT</pubDate>
    <dc:creator>DiegoLlamas</dc:creator>
    <dc:date>2012-04-04T11:52:48Z</dc:date>
    <item>
      <title>PostgreSQL (server doen't listen)</title>
      <link>https://community.esri.com/t5/data-management-questions/postgresql-server-doen-t-listen/m-p/102994#M6013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having problems when I try to access to the databes in PostgreSQL. In ArcCatalog and in Postgre Program. The server has installed: Windows Server 2008 R2 Standard 64bit PostgreSQL 8.3 PostGIS 1.2.3 for PostgreSQL 8.3 ArcGIS Desktop 9.3 ArcSDE for PostgreSQL. This is the error that a get [ATTACH=CONFIG]13236[/ATTACH]. I try to restart the service&amp;nbsp; and I got this messege[ATTACH=CONFIG]13237[/ATTACH].&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried two things, but without result:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. For PostgreSQL servers starting with version 8.0, this is controlled using the �??listen _address�?� parameter in the postgresql.conf file. Here, you can enter a list of IP addresses where the server should listen on, or simply use �??*�?? to listen on all available IP addresses. RESULT: The configuration is correct&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Firewall configured correctly for Port 5432 RESULT: The configuration is correct, the firewall is Disable. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also try this.In the dbinit.sde file. This was empty so I wrote this lines with the host name and the db name: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set PGHOST=[hostname]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set PGPORT=5432&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set SDE_DATABASE=&amp;lt;database name&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After that I went to ArcCatalog and pgAdmin III and try to open the Postgre database and I got the same message 'Serverdoesn't listen"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I went to command Prompt and I run this command&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;C:\Program Files &amp;lt;x86&amp;gt;\PostgreSQL\8.3\bin&amp;gt;netstat -p TCP -a &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got the IP from the Active Connections [ATTACH=CONFIG]13238[/ATTACH] And there I couldn't see the IP running host and the connection on Port 5432 that says in the fist error messege.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I run this command, for ping 127.0.0.1:[ATTACH=CONFIG]13239[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Windows logs:[ATTACH=CONFIG]13240[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The log files of Postgres say this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:17 VET LOG: database system was interrupted while in recovery at 2012-04-03 14:39:01 VET&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:17 VET HINT: This probably means that some data is corrupted and you will have to use the last backup for recovery.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:17 VET LOG: database system was not properly shut down; automatic recovery in progress&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:17 VET LOG: redo starts at 1D/2D0689F0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:17 VET LOG: loaded library "$libdir/plugins/plugin_debugger.dll"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:17 VET FATAL: the database system is starting up&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:18 VET LOG: could not open file "pg_xlog/000000010000001D00000031" (log file 29, segment 49): No such file or directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:18 VET LOG: loaded library "$libdir/plugins/plugin_debugger.dll"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:18 VET FATAL: the database system is starting up&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:19 VET LOG: startup process (PID 2580) exited with exit code 255&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2012-04-03 14:48:19 VET LOG: aborting startup due to startup process failure&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any one has any idea why this is happening&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Diego Llamas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2012 11:52:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/postgresql-server-doen-t-listen/m-p/102994#M6013</guid>
      <dc:creator>DiegoLlamas</dc:creator>
      <dc:date>2012-04-04T11:52:48Z</dc:date>
    </item>
  </channel>
</rss>

