DR upgrade failed
search cancel

DR upgrade failed

book

Article ID: 256809

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

Running the dr_validate.sh was successful.

But when running the dr_install.sh we are getting an error about the system resolving to multiple address, and one of those is the loopback (127.0.0.1).


Mapping hostnames in --hosts (-s) to addresses...
        drhostname resolved to multiple (2) addresses: (IPv4...) 10.10.10.23, 127.0.0.1 (IPv6...) <none>
        Error: Unable to resolve 'drhostname'
Installation FAILED with errors.

Installation stopped before any changes were made.

Vertica installation ....................................................[FAIL]
The installation will now exit.
===============================================================================
Script finished - ./dr_install.sh
===============================================================================

 

Environment

DxNetops Vertica: All Supported Versions

Cause

In the /etc/hosts file had an incorrect entry for the IPv6 loopback address:


::1     drhostname.domain.tld drhostname


Resolution

Correctly configure /etc/hosts.

The IPv6 loopback should only be associated with the localhost. Example:

::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

 

Example of hosts file before fix:

127.0.0.1  localhost localhost.localdomain localhost4 localhost4.localdomain4
 ::1        localhost localhost.localdomain localhost6 localhost6.localdomain6
 ::1        drhostname.domain.tld drhostname

 

Example of hosts file after fix

127.0.0.1  localhost localhost.localdomain localhost4 localhost4.localdomain4
 ::1        localhost localhost.localdomain localhost6 localhost6.localdomain6
#::1       drhostname.domain.tld drhostname