gpt4 book ai didi

linux - Vertica rpm 安装失败

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:24:16 24 4
gpt4 key购买 nike

我正在尝试将 3 节点 Vertica 集群升级到最新版本 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

最佳答案

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

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

更一般地说,如果由于某些 Vertica 进程仍在运行而导致安装失败,则在您的进程列表中搜索“vertica”通常会找到它。默认情况下,Vertica 安装到/opt/vertica。

关于linux - Vertica rpm 安装失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37948620/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com