涉及版本:
GBase8a_MPP_Cluster-License-MultiInstance-9.5.3.011-redhat7.3-x86_64.tar.bz2
問題現象:
在安裝V9系列多實體版本時,如果是license版本,需要獲取主機hostid,在執行命令時,會報錯:
[root@node1 gcinstall]# ./gethostsid -n 192.168.56.175 -f test.txt -ugbase -pgbase
Traceback (most recent call last):
File "./gethostsid", line 189, in <module>
with open('/tmp/getfingertmpmergefile_%s'%(host), 'rb') as r:
IOError: [Errno 2] No such file or directory: '/tmp/getfingertmpmergefile_192.168.56.175'
uj5u.com熱心網友回復:
問題原因:該主機之前可能安裝過v8系列的版本,在tmp目錄下,殘留gcgenfinger檔案,該檔案權限和v9系列copy過來的權限不一致,因此報該錯誤。
解決方法:
洗掉該檔案,即可。
rm -f gcgenfinger
[root@node1 gcinstall]# ./gethostsid -n 192.168.56.175 -f test.txt -uroot -proot123
======================================================================
Successful node nums: 1
======================================================================
[root@node1 gcinstall]# cat test.txt
{"HWADDR":"08:00:27:B2:91:3F","SOCKETS":1,"ARCHITECTURE":"x86_64","BYTE ORDER":"Little Endian","MODEL":"58","THREADS":2,"CPUS":2,"NNNODES":1,"CONFUSE DATA":"ima3amlneg@2iZb"}
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/10304.html
標籤:其他數據庫
上一篇:exists多表查詢問題
