Gbase8a安装时常见问题

1.     Gcinstall.py(line 2669) -- SetSusEnv.py must be executed before cluster is installed, not executed nodes ...

需要在所有安装节点上都执行下这个脚本SetSysEnv.py,以root用户执行

# python SetSysEnv.py --dbaUser=gbase --installPrefix=/opt

/opt为gbase8a安装目录

2.     缺少依赖包compat-db47

yum install compat-db47

3.     没有权限,Permission denied

# chmod 777 /opt

4.     Gbase8a集群服务无法启动时,查看防火墙状态

# systemctl stop firewalld         (关闭防火墙)

# systemctl disable firewalld

Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.

Removed symlink /etc/systemd/system/basic.target.wants/firewalld.service.

# vim /etc/selinux/config      (编辑配置文件)

SELINUX=disabled

5.     ssh服务找不到Unit ssh.service could not be found.

$ sudo service ssh status

Unit ssh.service could not be found.

$ sudo ps -e|grep ssh

$ sudo apt install openssh-server

$ sudo service ssh status

● ssh.service - OpenBSD Secure Shell server

   Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)

   Active: active (running) since Thu 2021-04-15 13:28:06 CST; 42s ago

     Docs: man:sshd(8)

           man:sshd_config(5)

 Main PID: 21169 (sshd)

    Tasks: 1 (limit: 4915)

   CGroup: /system.slice/ssh.service

           └─21169 /usr/sbin/sshd –D

$ sudo /etc/init.d/ssh start

[ ok ] Starting ssh (via systemctl): ssh.service.    

6.     升级过程中报错

刷新快照,刷新快照操作可多执行几次。

$ cd /opt/gcware/data/gcware

$ python

Python 2.7.5 (default, Nov 16 2020, 22:23:17)

[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux2

Type "help", "copyright", "credits" or "license" for more information.

>>> import gcware

>>> gcware.flush_statemachine()

1

>>> quit()

posted on   数据派  阅读(20)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· .NET10 - 预览版1新功能体验(一)
历史上的今天:
2022-01-10 MySQL调优篇 | 逻辑架构解读(1)
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示