<?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 Re: org.postgresql.util.PSQLException: in Insight Remote Support</title>
    <link>https://community.hpe.com/t5/insight-remote-support/org-postgresql-util-psqlexception/m-p/4498751#M2289</link>
    <description>I have the same issue with PostgreSQL&lt;BR /&gt;&lt;BR /&gt;Spoke to our HP ASCE, he told me HP has numerous issues with WEBES 5.6 and Postgre&lt;BR /&gt;&lt;BR /&gt;they advised to uninstall WEBES in RSSWM, using the WEBES cleanup tool (found on WEBES website) afterwards, which will clean the registry and try a new install&lt;BR /&gt;&lt;BR /&gt;If this does not sort this out, they advised me to collect all relevant logs for analyzing&lt;BR /&gt;&lt;BR /&gt;Keep you informed&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 24 Sep 2009 09:22:12 GMT</pubDate>
    <dc:creator>Witron_1</dc:creator>
    <dc:date>2009-09-24T09:22:12Z</dc:date>
    <item>
      <title>org.postgresql.util.PSQLException:</title>
      <link>https://community.hpe.com/t5/insight-remote-support/org-postgresql-util-psqlexception/m-p/4498749#M2287</link>
      <description>org.postgresql.util.PSQLException:connection refused.check that host name and port are correct and that the postmaster is accepting tcp/ip connections</description>
      <pubDate>Wed, 16 Sep 2009 15:51:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/insight-remote-support/org-postgresql-util-psqlexception/m-p/4498749#M2287</guid>
      <dc:creator>kewisvijay</dc:creator>
      <dc:date>2009-09-16T15:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: org.postgresql.util.PSQLException:</title>
      <link>https://community.hpe.com/t5/insight-remote-support/org-postgresql-util-psqlexception/m-p/4498750#M2288</link>
      <description>how does this error occur?&lt;BR /&gt;Do you have problems connecting to the webUI of WEBES 5.6 ???</description>
      <pubDate>Thu, 24 Sep 2009 09:11:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/insight-remote-support/org-postgresql-util-psqlexception/m-p/4498750#M2288</guid>
      <dc:creator>Witron_1</dc:creator>
      <dc:date>2009-09-24T09:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: org.postgresql.util.PSQLException:</title>
      <link>https://community.hpe.com/t5/insight-remote-support/org-postgresql-util-psqlexception/m-p/4498751#M2289</link>
      <description>I have the same issue with PostgreSQL&lt;BR /&gt;&lt;BR /&gt;Spoke to our HP ASCE, he told me HP has numerous issues with WEBES 5.6 and Postgre&lt;BR /&gt;&lt;BR /&gt;they advised to uninstall WEBES in RSSWM, using the WEBES cleanup tool (found on WEBES website) afterwards, which will clean the registry and try a new install&lt;BR /&gt;&lt;BR /&gt;If this does not sort this out, they advised me to collect all relevant logs for analyzing&lt;BR /&gt;&lt;BR /&gt;Keep you informed&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Sep 2009 09:22:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/insight-remote-support/org-postgresql-util-psqlexception/m-p/4498751#M2289</guid>
      <dc:creator>Witron_1</dc:creator>
      <dc:date>2009-09-24T09:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: org.postgresql.util.PSQLException:</title>
      <link>https://community.hpe.com/t5/insight-remote-support/org-postgresql-util-psqlexception/m-p/4498752#M2290</link>
      <description>HP ASCE was not able to help with provided tools&lt;BR /&gt;So I went through all logs and found a workaround to fix it:&lt;BR /&gt;Problem is, that Postgre SQL is not installed properly. you can check this as you will not find any postgres.exe processes running.&lt;BR /&gt;WEBES install log will report:&lt;BR /&gt;&lt;BR /&gt;Proceeding with WEBES 5.6 Installation..." &lt;BR /&gt;"PostgreSQL Registry Key=""HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-8.3" /v Version &lt;BR /&gt;"PostgreSQL Version=8.3"  &lt;BR /&gt;"PostgreSQL 8.3 is Found on this system. The PostgreSQL 8.3 Installation is skipped..." &lt;BR /&gt;"Postgre SQL 8.3 installed on this system was not installed during previous WEBES installations..." &lt;BR /&gt;"Postgre SQL 8.3 is already found installed on this Server. The existing Postgre SQL install has not been carried out by WEBES."  &lt;BR /&gt;"WEBES 5.6 requires Postgre SQL 8.3 for its functioning. Please follow the below mentioned instructions to create the WEBES Databases and enable WEBES Functionality. " &lt;BR /&gt;"1. Edit the following line in the file in C:\Program Files\HP\CM\Installers\WEBES\CreateWEBESDBs.bat. set PGPASSWORD=Webe$rules8552 .Replace Webe$rules8552 with the super password used during Postgre SQL Installation. " &lt;BR /&gt;"2. Execute C:\Program Files\HP\CM\Installers\WEBES\CreateWEBESDBs.bat" &lt;BR /&gt;"3. net Start Desta_Service " &lt;BR /&gt;PostgreSQL Data Directory PATH Query=C:\WINDOWS\system32\reg.exe QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-8.3" /v Version &lt;BR /&gt;"PostgreSQL Data Directory =" &lt;BR /&gt;PSQLCMD PATH Query=C:\WINDOWS\system32\reg.exe QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-8.3" /v "Base Directory" &lt;BR /&gt;"PSQLCMD PATH VALUE =C:\Program Files/PostgreSQL/8.3\bin\psql" &lt;BR /&gt;"Now running CreateWEBESDBs.bat for creating the WEBES databases..." &lt;BR /&gt;"The destadb database is not created" &lt;BR /&gt;"The ed database is not created" &lt;BR /&gt;"The me database is not created" &lt;BR /&gt;"The wbemdb database is not created" &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The logs advises to follow steps 1 to 3. Well, the password is correct, so there is no need to change it. Once you will execute CREATEWEBESDBS.bat (as advised in the log) you will receive another error, indicating "-h" is not recognized as an internal command. Another logical error from HP as they have forgotten to provide the correct parameters.&lt;BR /&gt;So you have to execute CREATEWEBESDBS.bat like follows:&lt;BR /&gt;&lt;BR /&gt;createWEBESDBs.bat "C:\Program Files/PostgreSQL/8.3\bin\psql"&lt;BR /&gt;&lt;BR /&gt;Then the batch is executed, but comes back with the following errors:&lt;BR /&gt;&lt;BR /&gt;C:\Program Files\HP\CM\Installers\WEBES&amp;gt;rem&lt;BR /&gt;C:\Program Files\HP\CM\Installers\WEBES&amp;gt;rem Now logging to Postgre SQL. And crea&lt;BR /&gt;ting the required databases...&lt;BR /&gt;C:\Program Files\HP\CM\Installers\WEBES&amp;gt;rem&lt;BR /&gt;C:\Program Files\HP\CM\Installers\WEBES&amp;gt;set PGPORT=7950&lt;BR /&gt;C:\Program Files\HP\CM\Installers\WEBES&amp;gt;set PGPASSWORD=Webe$rules8552&lt;BR /&gt;C:\Program Files\HP\CM\Installers\WEBES&amp;gt;"C:\Program Files/PostgreSQL/8.3\bin\psq&lt;BR /&gt;l" -h localhost -p 7950 -U postgres -c "CREATE ROLE ""WEBES"" WITH SUPERUSER LOG&lt;BR /&gt;IN PASSWORD 'Webe$rules8552' CREATEDB";&lt;BR /&gt;psql: could not connect to server: Connection refused (0x0000274D/10061)&lt;BR /&gt;        Is the server running on host "localhost" and accepting&lt;BR /&gt;        TCP/IP connections on port 7950?&lt;BR /&gt;C:\Program Files\HP\CM\Installers\WEBES&amp;gt;"C:\Program Files/PostgreSQL/8.3\bin\psq&lt;BR /&gt;l" -h localhost -p 7950 -U postgres -c "DROP DATABASE IF EXISTS destadb";&lt;BR /&gt;psql: could not connect to server: Connection refused (0x0000274D/10061)&lt;BR /&gt;        Is the server running on host "localhost" and accepting&lt;BR /&gt;        TCP/IP connections on port 7950?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And so on...&lt;BR /&gt;&lt;BR /&gt;So when verifying within netstat, you will see no listening port 7950, so the above script cannot execute successfully and your setup will not work:&lt;BR /&gt;&lt;BR /&gt;These steps will fix this issue finally:&lt;BR /&gt;1.execute POSTGRESQL.EXE within C:\Program Files\HP\CM\Installers\WEBES&lt;BR /&gt;2.POSTGRESQL.EXE will report a found installation configured with port 7950 , which will be updated&lt;BR /&gt;3.Provide the password "Webe$rules8552" as found in WEBES InstallLog and finish the installation.&lt;BR /&gt;4. check, if port 7950 is now LISTENING in netstat&lt;BR /&gt;5. If so, continue with&lt;BR /&gt;cmd&amp;gt;&lt;BR /&gt;cd "C:\Program Files\HP\CM\Installers\WEBES"&lt;BR /&gt;C:\Program Files\HP\CM\Installers\WEBES&amp;gt;createWEBESDBs.bat "C:\Program Files/PostgreSQL/8.3\bin\psql"&lt;BR /&gt;the batch  file is now executing without errors&lt;BR /&gt;6. Reboot server and log on to WEBES UI</description>
      <pubDate>Thu, 24 Sep 2009 12:20:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/insight-remote-support/org-postgresql-util-psqlexception/m-p/4498752#M2290</guid>
      <dc:creator>Witron_1</dc:creator>
      <dc:date>2009-09-24T12:20:10Z</dc:date>
    </item>
  </channel>
</rss>

