银河麒麟桌面操作系统 V10(SP1)
版本:2203
内核:linux5.4.18-53-generic
CPU:phytium,D2000/8
root@junli-kaitianm740z:/opt/software# ldd --version
ldd (Ubuntu GLIBC 2.31-0kylin9.1k20.5) 2.31
使用的 openGauss_3.1.1 极简版
=====================================================
文件夹权限:
root@junli-kaitianm740z:/opt/software/openGauss# ll
总用量 40
drwx------ 9 omm dbgroup 4096 5月 17 21:58 ./
drwxrwxrwx 3 omm root 4096 5月 17 21:57 ../
drwxrwxrwx 2 omm dbgroup 4096 1月 6 09:42 bin/
drwxrwxrwx 3 omm dbgroup 4096 1月 6 09:42 etc/
drwxrwxrwx 3 omm dbgroup 4096 1月 6 09:42 include/
drwxrwxrwx 4 omm dbgroup 4096 1月 6 09:42 jre/
drwxrwxrwx 5 omm dbgroup 4096 1月 6 09:42 lib/
drwxrwxrwx 5 omm dbgroup 4096 1月 6 09:42 share/
drwxrwxrwx 2 omm dbgroup 4096 5月 17 22:16 simpleInstall/
-rwxrwxrwx 1 omm dbgroup 32 1月 6 09:42 version.cfg*
=====================================================
$ ./install.sh -w "J12345678@" -p 8848 && source ~/.bashrc
[step 1]: check parameter
[step 2]: check install env and os setting
[step 3]: change_gausshome_owner
[step 4]: set environment variables
QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 1001
[step 6]: init datanode
Illegal instruction (core dumped)
no data was returned by command ""/opt/software/openGauss/bin/gaussdb" -V"
The program "gaussdb" is needed by gs_initdb but was not found in the
same directory as "/opt/software/openGauss/bin/gs_initdb".
Check your installation.
sed:无法读取 /opt/software/openGauss/data/single_node/postgresql.conf:没有那个文件或目录
[step 7]: start datanode
[2023-05-17 22:16:32.052][248863][][gs_ctl]: gs_ctl started,datadir is /opt/software/openGauss/data/single_node
[2023-05-17 22:16:32.052][248863][][gs_ctl]: can't create lock file "/opt/software/openGauss/data/single_node/pg_ctl.lock" : 没有那个文件或目录import sql file
Would you like to create a demo database (yes/no)? yes
Load demoDB failed, you can check load.log for more details.
=====================================================
对应的load.log报错信息:
failed to connect Unknown:5432.
./install.sh:行 318: 241087 非法指令 (核心已转储)gsql -d postgres -p $port -f school.sql
failed to connect Unknown:5432.
./install.sh:行 318: 241091 非法指令 (核心已转储)gsql -d postgres -p $port -f finance.sql
墨值悬赏

评论

