暂无图片
openGauss安装提示 cannot execute binary file: Exec format error
我来答
分享
剑暝
2023-06-16
openGauss安装提示 cannot execute binary file: Exec format error

反复安装了很多次 都是报这个问题,求大佬帮忙看一下

系统版本:

openEuler22.03

openEuler23.03



安装:
[omm@bogon simpleInstall]$ sh install.sh -w ws949368227SONG -p 10086
[step 1]: check parameter
[step 2]: check install env and os setting
[step 3]: change_gausshome_owner
[step 4]: set environment variables

/home/omm/.bashrc: line 11: ulimit: open files: cannot modify limit: Operation not permitted
[step 6]: init datanode
install.sh: line 215: /opt/software/openGauss/bin/gs_initdb: cannot execute binary file: Exec format error
sed: can't read /opt/software/openGauss/data/single_node/postgresql.conf: No such file or directory
[step 7]: start datanode
install.sh: line 221: /opt/software/openGauss/bin/gs_ctl: cannot execute binary file: Exec format error
import sql file
Would you like to create a demo database (yes/no)? yes
Load demoDB [school,finance] success.
[complete successfully]: You can start or stop the database server using:
gs_ctl start|stop|restart -D $GAUSSHOME/data/single_node -Z single_node

验证:
[omm@bogon simpleInstall]$ ps ux | grep gaussdb
omm 2492 0.0 0.0 21972 2028 pts/1 S+ 03:37 0:00 grep --color=auto gaussdb
[omm@bogon simpleInstall]$ gs_ctl query -D /opt/software/openGauss/data/single_node
-bash: /opt/software/openGauss/bin/gs_ctl: cannot execute binary file: Exec format error

我来答
添加附件
收藏
分享
问题补充
3条回答
默认
最新
DarkAthena

安装包和CPU平台不匹配

暂无图片 评论
暂无图片 有用 0
暂无图片
剑暝
题主
2023-06-19
用yum自动安装的,可以用了,之前没想到用内置的
hypsohu

操作系统:openEuler23.03   数据库  openGauss-5.0.0-openEuler-64bit.tar    使用sh install.sh -w  password出现以上“install.sh: line 223: /opt/software/openGauss/bin/gs_initdb: cannot execute binary file: Exec format error[step 7]: start datanode  install.sh: line 229: /opt/software/openGauss/bin/gs_ctl: cannot execute binary file: Exec format errorimport sql file”  请帮忙看看我应该如何处理??

暂无图片 评论
暂无图片 有用 0
DarkAthena
2023-06-22
注意区分ARM和X86平台的安装介质
hypsohu

@DarkAthena   非常感谢 已解决问题

暂无图片 评论
暂无图片 有用 0
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏