Error Message
could not connect to database
connection refused
server closed the connection unexpectedly
Explanation
You probably have hostname resolution problems.
Workaround
Check /opt/vertica/config/dbname.conf for unknown. Make sure you have followed the instructions in the Configure Hostname Resolution section of the Installation Guide.