暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

Gbase8a安装时常见问题

VV_刺头王 2022-03-16
1801

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()

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论