<?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 Issue installing latest VAN; possible postgreSQL error? in Software Defined Networking</title>
    <link>https://community.hpe.com/t5/software-defined-networking/issue-installing-latest-van-possible-postgresql-error/m-p/6732488#M1743</link>
    <description>&lt;P&gt;&amp;nbsp;I'm trying to run HP VAN on Ubuntu 12.04, using VMware Fusion and giving the VM plenty of resources (8GB RAM, 4 cores). &amp;nbsp;The install appears to run to completion but I can't get to the GUI; the log shows some PSQL exceptions that might be the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;All browsers fail to connect, reporting:&lt;/P&gt;&lt;P class="p3"&gt;ERR_SSL_VERSION_OR_CIPHER_MISMATCH&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;The port is not listening:&lt;/P&gt;&lt;P class="p1"&gt;brandonh@precise:~$ netstat -nl | grep 8843&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;… and the log shows PostgreSQL errors, which might be the root cause of the breakage:&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;sudo cat /var/log/sdn/virgo/logs/log.log | grep -i except&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;[2015-04-14 10:31:22.320] INFO&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;System Bundle Shutdown &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;System.out&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;[EL Info]: UnitOfWork(1494023401)--Communication failure detected when attempting to perform read query outside of a transaction. Attempting to retry query. Error was: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.1.v20130918-f2b9fc5): org.eclipse.persistence.exceptions.DatabaseException&lt;/P&gt;&lt;P class="p1"&gt;[2015-04-14 10:31:22.320] INFO&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;System Bundle Shutdown &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;System.out&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Internal Excepion: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Full details of the commands I ran are at the bottom. &amp;nbsp;Anyone have any ideas? &amp;nbsp;Thanks in advance.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;#!/bin/bash&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# Install script for HP VAN on Ubuntu 12.04&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# Instructions from &lt;A target="_blank" href="http://h20564.www2.hp.com/hpsc/doc/public/display?docId=c04495134"&gt;http://h20564.www2.hp.com/hpsc/doc/public/display?docId=c04495134&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# Make sure to transfer over the controller zip first:&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# # Transfer over VAN_SDN_Controller_2.4.6_hp-van-sdn-ctlr-2.4.6-x64.zip:&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# scp ~/Downloads/VAN_SDN_Controller_2.4.6_hp-van-sdn-ctlr-2.4.6-x64.zip precise:~/&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# Give it lots of resources (8 GB RAM, 4 cores); apparently it may not start up w/o enough.&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;set -e&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# To address “failed to Fetch” issues during apt-get update:&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo rm -rf /var/lib/apt/lists/&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo apt-get -y update&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo apt-get install -y python-software-properties ubuntu-cloud-keyring&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo add-apt-repository -y cloud-archive:icehouse&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo apt-get -y update&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo apt-get install -y keystone&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo apt-get install -y unzip&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;unzip VAN_SDN_Controller_2.4.6_hp-van-sdn-ctlr-2.4.6-x64.zip&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo dpkg --unpack hp-sdn-ctl_2.4.6.0627_amd64.deb&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo apt-get install -f -y&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo dpkg -l hp-sdn-ctl | grep ii&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo service sdnc start&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sleep 60&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo service sdnc status | grep running&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# Workaround to update python for config_local_keystone script to work:&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# See&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# Suggestion to run ‘sudo apt-get update after adding icehouse repo”:&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# &lt;A target="_blank" href="https://community.hpe.com/t5/SDN-Discussions/Local-keystone-credential-script-fails-with-2-4-3-0595/td-p/6669102#.VS1JoxPF9L4"&gt;http://h30499.www3.hp.com/t5/SDN-Discussions/Local-keystone-credential-script-fails-with-2-4-3-0595/td-p/6669102#.VS1JoxPF9L4&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo apt-get upgrade&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# Proxy setup:&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# Is this needed?&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;unset https_proxy http_proxy&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo /opt/sdn/admin/config_local_keystone&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# Try connection, in browser:&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;&lt;A target="_blank" href="https://172.16.49.133:8443/sdn/ui/"&gt;https://172.16.49.133:8443/sdn/ui/&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# DOES NOT WORK&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# Or locally&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;&lt;A target="_blank" href="https://172.16.49.133:8443/sdn/ui/"&gt;https://127.0.0.1:8443/sdn/ui/&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Apr 2015 17:52:37 GMT</pubDate>
    <dc:creator>brandonh</dc:creator>
    <dc:date>2015-04-14T17:52:37Z</dc:date>
    <item>
      <title>Issue installing latest VAN; possible postgreSQL error?</title>
      <link>https://community.hpe.com/t5/software-defined-networking/issue-installing-latest-van-possible-postgresql-error/m-p/6732488#M1743</link>
      <description>&lt;P&gt;&amp;nbsp;I'm trying to run HP VAN on Ubuntu 12.04, using VMware Fusion and giving the VM plenty of resources (8GB RAM, 4 cores). &amp;nbsp;The install appears to run to completion but I can't get to the GUI; the log shows some PSQL exceptions that might be the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;All browsers fail to connect, reporting:&lt;/P&gt;&lt;P class="p3"&gt;ERR_SSL_VERSION_OR_CIPHER_MISMATCH&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;The port is not listening:&lt;/P&gt;&lt;P class="p1"&gt;brandonh@precise:~$ netstat -nl | grep 8843&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;… and the log shows PostgreSQL errors, which might be the root cause of the breakage:&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;sudo cat /var/log/sdn/virgo/logs/log.log | grep -i except&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;[2015-04-14 10:31:22.320] INFO&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;System Bundle Shutdown &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;System.out&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;[EL Info]: UnitOfWork(1494023401)--Communication failure detected when attempting to perform read query outside of a transaction. Attempting to retry query. Error was: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.1.v20130918-f2b9fc5): org.eclipse.persistence.exceptions.DatabaseException&lt;/P&gt;&lt;P class="p1"&gt;[2015-04-14 10:31:22.320] INFO&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;System Bundle Shutdown &lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;System.out&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;Internal Excepion: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Full details of the commands I ran are at the bottom. &amp;nbsp;Anyone have any ideas? &amp;nbsp;Thanks in advance.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;#!/bin/bash&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# Install script for HP VAN on Ubuntu 12.04&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# Instructions from &lt;A target="_blank" href="http://h20564.www2.hp.com/hpsc/doc/public/display?docId=c04495134"&gt;http://h20564.www2.hp.com/hpsc/doc/public/display?docId=c04495134&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# Make sure to transfer over the controller zip first:&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# # Transfer over VAN_SDN_Controller_2.4.6_hp-van-sdn-ctlr-2.4.6-x64.zip:&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# scp ~/Downloads/VAN_SDN_Controller_2.4.6_hp-van-sdn-ctlr-2.4.6-x64.zip precise:~/&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# Give it lots of resources (8 GB RAM, 4 cores); apparently it may not start up w/o enough.&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;set -e&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# To address “failed to Fetch” issues during apt-get update:&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo rm -rf /var/lib/apt/lists/&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo apt-get -y update&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo apt-get install -y python-software-properties ubuntu-cloud-keyring&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo add-apt-repository -y cloud-archive:icehouse&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo apt-get -y update&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo apt-get install -y keystone&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo apt-get install -y unzip&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;unzip VAN_SDN_Controller_2.4.6_hp-van-sdn-ctlr-2.4.6-x64.zip&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo dpkg --unpack hp-sdn-ctl_2.4.6.0627_amd64.deb&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo apt-get install -f -y&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo dpkg -l hp-sdn-ctl | grep ii&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo service sdnc start&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sleep 60&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo service sdnc status | grep running&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# Workaround to update python for config_local_keystone script to work:&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# See&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# Suggestion to run ‘sudo apt-get update after adding icehouse repo”:&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# &lt;A target="_blank" href="https://community.hpe.com/t5/SDN-Discussions/Local-keystone-credential-script-fails-with-2-4-3-0595/td-p/6669102#.VS1JoxPF9L4"&gt;http://h30499.www3.hp.com/t5/SDN-Discussions/Local-keystone-credential-script-fails-with-2-4-3-0595/td-p/6669102#.VS1JoxPF9L4&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo apt-get upgrade&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# Proxy setup:&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# Is this needed?&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;unset https_proxy http_proxy&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;sudo /opt/sdn/admin/config_local_keystone&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# Try connection, in browser:&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;&lt;A target="_blank" href="https://172.16.49.133:8443/sdn/ui/"&gt;https://172.16.49.133:8443/sdn/ui/&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# DOES NOT WORK&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;# Or locally&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;FONT face="andale mono,times"&gt;&lt;A target="_blank" href="https://172.16.49.133:8443/sdn/ui/"&gt;https://127.0.0.1:8443/sdn/ui/&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2015 17:52:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/issue-installing-latest-van-possible-postgresql-error/m-p/6732488#M1743</guid>
      <dc:creator>brandonh</dc:creator>
      <dc:date>2015-04-14T17:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Issue installing latest VAN; possible postgreSQL error?</title>
      <link>https://community.hpe.com/t5/software-defined-networking/issue-installing-latest-van-possible-postgresql-error/m-p/6733055#M1744</link>
      <description>&lt;P&gt;&lt;SUP&gt;I tried out version 2.4.3 as well, and saw the same error.&lt;/SUP&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SUP&gt;If you'd like to try it out, I've posted a script here as a gist:&lt;/SUP&gt;&lt;/P&gt;&lt;P&gt;&lt;SUP&gt;&lt;A href="https://gist.github.com/brandonheller/5192dbe6da1a6c77ce12" target="_blank"&gt;https://gist.github.com/brandonheller/5192dbe6da1a6c77ce12&lt;/A&gt;&lt;/SUP&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2015 21:49:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/issue-installing-latest-van-possible-postgresql-error/m-p/6733055#M1744</guid>
      <dc:creator>brandonh</dc:creator>
      <dc:date>2015-04-15T21:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue installing latest VAN; possible postgreSQL error?</title>
      <link>https://community.hpe.com/t5/software-defined-networking/issue-installing-latest-van-possible-postgresql-error/m-p/6733459#M1745</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Brandon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Certifacte signing requirements for a large portion of browsers has recentaly changed, and because of this the orignal self signed version for the SDN Controller conflicts with these browsers minimum requirements. Here is the procedure for manually generating a new self signed certificate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bold Italic text is commands&lt;/P&gt;&lt;P&gt;Bold is Important notes&lt;/P&gt;&lt;P&gt;I have indented sample output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following needs to be done as root hence( I am assuming the account your are using does have sudo premissions for root)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;sudo service sdnc stop&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then the following needs to be done&amp;nbsp;as the user which&amp;nbsp;the sdn controller controller runs as(The user is the user sdn by default), since the truststore and keystore must be readable by that user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hint to become the user sdn us the following “&lt;STRONG&gt;&lt;EM&gt;sudo su – sdn”.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;cd /opt/sdn/admin&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;ls -l *store*&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;sdn@ubuntu:~/admin$ ls -l *store*&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;-rw-r----- 1 sdn sdn 1319 Mar 20 14:53 keystore&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;-rw-r----- 1 sdn sdn&amp;nbsp; 913 Mar 20 14:53 truststore&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note the permissions and ownership of the files&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here we generate a self-signed certificate with a validity period of 1780 days, after moving the old keystore and truststore away.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note you need to use the password “skyline” below unless you have changed it&lt;/STRONG&gt;. I have added it in for clarity in the commands below but it will not show when it is typed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Leave the password for the key the same as the keystore password.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;mv keystore keystore.orig&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;mv truststore truststore.orig&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;keytool -genkey -alias serverKey -keyalg rsa -keysize 2048 -keystore keystore -validity &amp;nbsp;1780&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;sdn@ubuntu:~/admin$ keytool -genkey -alias serverKey -keyalg rsa -keysize 2048 -keystore keystore&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Enter keystore password: skyline&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Re-enter new password: skyline&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;What is your first and last name?&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; [Unknown]:&amp;nbsp; 192.168.181.135&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;What is the name of your organizational unit?&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; [Unknown]:&amp;nbsp; SDNCOE&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;What is the name of your organization?&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; [Unknown]:&amp;nbsp; HP&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;What is the name of your City or Locality?&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; [Unknown]:&amp;nbsp; Amstelveen&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;What is the name of your State or Province?&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; [Unknown]:&amp;nbsp; Noord-Holland&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;What is the two-letter country code for this unit?&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; [Unknown]:&amp;nbsp; NL&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Is CN=192.168.181.135, OU=SDNCOE, O=HP, L=Amstelveen, ST=Noord-Holland, C=NL correct?&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp; [no]:&amp;nbsp; y&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Enter key password for &amp;lt;serverKey&amp;gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RETURN if same as keystore password): Just press enter here&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;sdn@ubuntu:~/admin$&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;keytool -exportcert -keystore keystore -alias serverKey -file serverkey.cer&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;sdn@ubuntu:~/admin$ keytool -exportcert -keystore keystore -alias serverKey -file serverkey.cer&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Enter keystore password:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Certificate stored in file &amp;lt;serverkey.cer&amp;gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;sdn@ubuntu:~/admin$&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;ls -ltr&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;sdn@ubuntu:~/admin$ ls -ltr&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;total 15728&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;-rwxr-x--- 1 sdn sdn&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 462 Jan 29 12:46 uninstall-dpkg&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;-rwxr-x--- 1 sdn sdn&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 486 Jan 29 12:46 startup.sh&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;-rwxr-x--- 1 sdn sdn&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1453 Jan 29 12:46 sdnpass&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;lt;SNIP&amp;gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;-rw-rw-r-- 1 sdn sdn&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2257 Apr&amp;nbsp; 9 01:51 keystore&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;-rw-rw-r-- 1 sdn sdn&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1088 Apr&amp;nbsp; 9 01:52 sdn-server.csr&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;-rw-rw-r-- 1 sdn sdn&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 903 Apr&amp;nbsp; 9 02:06 serverkey.cer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;Note you need to use the password “skyline” below unless you have changed it&lt;/STRONG&gt;. I have added it in for clarity in the commands below but it will not show when it is typed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;keytool -importcert -trustcacerts -keystore truststore -file serverkey.cer -alias CARoot&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;sdn@ubuntu:~/admin$ keytool -importcert -trustcacerts -keystore truststore -file serverkey.cer -alias CARoot&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Enter keystore password: skyline&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Re-enter new password: skyline&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Owner: CN=192.168.181.135, OU=SDNCOE, O=HP, L=Amstelveen, ST=Noord-Holland, C=NL&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Issuer: CN=192.168.181.135, OU=SDNCOE, O=HP, L=Amstelveen, ST=Noord-Holland, C=NL&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Serial number: 54a39e23&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Valid from: Thu Apr 09 01:51:25 PDT 2015 until: Wed Jul 08 01:51:25 PDT 2015&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Certificate fingerprints:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MD5:&amp;nbsp; 44:02:D6:58:C5:2A:2D:B5:F3:64:9B:40:6D:9B:1D:10&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SHA1: C7:59:89:31:9D:79:C9:D5:3A:22:D7:36:C7:43:2D:1B:88:5B:54:5E&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SHA256: E9:5D:1E:06:02:25:17:3F:C4:D9:97:C4:28:27:E6:87:2F:BC:B4:C9:E1:47:17:57:FF:33:1B:23:86:41:A5:B0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Signature algorithm name: SHA256withRSA&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Version: 3&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Extensions:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;#1: ObjectId: 2.5.29.14 Criticality=false&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;SubjectKeyIdentifier [&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;KeyIdentifier [&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;0000: 82 FD 72 7D 83 60 88 C0&amp;nbsp;&amp;nbsp; DA 67 7D 6A 03 12 11 B7&amp;nbsp; ..r..`...g.j....&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;0010: 27 C7 EC D9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '...&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;]&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;]&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Trust this certificate? [no]:&amp;nbsp; yes&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Certificate was added to keystore&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;sdn@ubuntu:~/admin$&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As the user root hence, you might need to type “logout” here to switch to the account you usually log in which has sudo capbilities.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;sudo service sdnc start&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Gerhard Roets&lt;/P&gt;&lt;P&gt;HP SDN COE Team&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2015 18:34:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/issue-installing-latest-van-possible-postgresql-error/m-p/6733459#M1745</guid>
      <dc:creator>Gerhard Roets</dc:creator>
      <dc:date>2015-04-16T18:34:25Z</dc:date>
    </item>
  </channel>
</rss>

