License文件过期的处理
当用户执行gbase -uroot -p命令输入密码后,发现无法登录GBase 8a,并且出现如下提示信息,说明GBase 8a的授权文件已经过期。具体如下:
|
$ gbase
-uroot -p Enter
password: ERROR
8224 (HY000): (GBA-01LC-0001) License is out of date. |
如果用户希望继续使用GBase 8a,那么需要使用gbase用户运行如下程序:gbase_gethostkey,本地生成一个32字符的host串:
|
$
gbase_gethostkey hostkey:
9a482beffd2a4a9cff664881ba680bcf |
用户将32字符的host串文件发送给数据库厂商(请将您的hostkey文件发到license@gbase.cn中,同时,需要在mail中附上安装GBase 8a产品所使用的操作系统名称及版本),数据库厂商最终为用户提供授权文件(32字符的license串),用户将授权文件拷贝到$GBASE_BASE/config/目录下。具体如下:$GBASE_BASE/config/gbase.lic文件中(如果不存在gbase.lic,需要手工建立)。
拷贝完毕后,重新登录GBase 8a,出现gbase>的提示符,说明授权文件验证成功,用户可以继续使用GBase 8a产品。
|
$ gbase
-uroot -p Enter password: GBase
client 8.5.1.2 build 27952. Copyright (c) 2004-2013, GBase. All Rights Reserved. gbase> USE gbase; Query
OK, 0 rows affected gbase> |




