Vertica rpm安装失败

时间:2016-06-21 15:28:52

标签: linux rpm vertica

我正在尝试将3节点Vertica cluseter升级到最新版本7.2.3。我尝试运行以下命令:

rpm -Uvh vertica-7.2.3-0.x86_64.RHEL6.rpm

然而,这失败并出现以下错误:

Preparing...                ###########################################  [100%]
ERROR: AdminTools process still running.
ERROR: You must quit adminTools prior to upgrade.
dbadmin 1456 1455 0 14:22 ? 00:00:00 /opt/vertica/oss/python/bin/python     /opt/vertica/bin/adminTools -t command_host -cstart
error: %pre(vertica-7.2.3-0.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping vertica-7.2.3-0

我没有运行任何AdminTools进程。但是,我不确定是否有人打开了正在运行的屏幕。如何强制关闭AdminTools流程?

[更新1]

ps auxwww | grep -i admin

的输出
root       925  0.0  0.0 103244   892 pts/3    S+   21:01   0:00 grep -i admin
dbadmin   1440  0.0  0.0 106060  1368 ?        Ss   14:22   0:00 /bin/bash       /opt/vertica/agent/agent.sh /opt/vertica/config/users/dbadmin/agent.conf
dbadmin   1451  0.8  0.0 1381652 43228 ?       Sl   14:22   3:24 /opt/vertica/oss/python/bin/python ./simply_fast.py
root      1455  0.0  0.0 155712  1768 ?        S    14:22   0:00 su -l    dbadmin -c /opt/vertica/bin/adminTools -t command_host -cstart
dbadmin   1456  0.0  0.0 432844 21740 ?        Ss   14:22   0:00  /opt/vertica/oss/python/bin/python /opt/vertica/bin/adminTools -t command_host -cstart
dbadmin   1526  0.0  0.0  59820  3748 pts/1    Ss+  14:23   0:00 /usr/bin/ssh -oConnectTimeout=30 -o TCPKeepAlive=no -o ServerAliveInterval=15 -o ServerAliveCountMax=2 -o StrictHostKeyChecking=no -o BatchMode=yes -l dbadmin 10.164.97.8
dbadmin   1527  0.0  0.0  59820  3748 pts/2    Ss+  14:23   0:00 /usr/bin/ssh -oConnectTimeout=30 -o TCPKeepAlive=no -o ServerAliveInterval=15 -o ServerAliveCountMax=2 -o StrictHostKeyChecking=no -o BatchMode=yes -l dbadmin 10.164.97.9
dbadmin  30185  0.0  0.0 101428   596 ?        Ss   17:36   0:02 /opt/vertica/bin/rsync --daemon --config=/tmp/vbr_rsyncd/vbr_rsyncd.conf --port=50000

1 个答案:

答案 0 :(得分:0)

错误输出包括有问题的PID:

  

错误:您必须在升级之前退出adminTools   dbadmin 1456 1455 0 14:22? 00:00:00 / opt / vertica / oss / python / bin / python / opt / vertica / bin / adminTools -t command_host -cstart

更一般地说,如果由于某些Vertica进程仍在运行而导致安装失败,那么请点击" vertica"在您的流程列表中通常会找到它。默认情况下,Vertica会安装到/ opt / vertica。