Vertica 6.0.2 failing to install

Moderator: NorbertKrupa

Post Reply
trefalgar
Newbie
Newbie
Posts: 2
Joined: Tue Jul 23, 2013 6:10 pm

Vertica 6.0.2 failing to install

Post by trefalgar » Tue Jul 23, 2013 6:35 pm

vertica-6.0.2-0.x86_64.RHEL5.rpm, single server (non-cluster), RH ES 5

Code: Select all

Vertica Analytic Database 6.0.2-0 Installation Tool
Starting installation tasks...
Getting system information for cluster (this may take a while)....
        'Unable to connect as this user'

Updating Nodes that are UP

Removing <IP> from hosts list
Error: '<IP>'
Traceback (most recent call last):
  File "/opt/vertica/bin/verticaInstall.py", line 1006, in <module>
    v = profiles[localhost].vertica
KeyError: '<IP>'
Installation failed.
I've looked around in the python (which I admittedly don't know) to try to track down the problem.

Code: Select all

        if self.username != pwd.getpwuid(os.getuid())[0]:
           self.su = True
           x = self.execute("date", hide=True)
           if not x[0]:
              raise adapter.SSHException("Unable to connect as this user")
The if statement doesn't look right to me, after reading up on getpwuid, but as I said, I don't know python.

Am I on the right track with where the problem may be? Any suggestions on correcting this error condition?

T

trefalgar
Newbie
Newbie
Posts: 2
Joined: Tue Jul 23, 2013 6:10 pm

Re: Vertica 6.0.2 failing to install

Post by trefalgar » Tue Jul 23, 2013 8:30 pm

The issue was `sudo su` versus `sudo su -`

From a user's perspective, this is a failing of the installer since we're talking about environmental variables. If an environmental variable isn't set, and needs to be, the error should reflect that (or should be required in the documentation).

Of course, maybe I'm missing something that clarifies the problem ;)

T

Post Reply

Return to “Vertica Installation”