请问opengauss如何手工安装(单机)呢,非OM的方式,好像官网文档没用这方面的介绍。
看看这个,一主一备非OM方式安装,希望能给你启发
评论
有用 0[omm@host134 software]$ gs_initdb --pgdata=/opt/opengauss/data --nodename=primary --encoding=UTF-8 --locale=en_US.UTF-8
The files belonging to this database system will be owned by user "omm".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.UTF-8".
The default text search configuration will be set to "english".
could not create directory /var/log/omm: Permission denied
fixing permissions on existing directory /opt/opengauss/data ... ok
初始化提示需要/var/log/omm这个目录,请问什么原因呢?
评论
有用 0[omm@host134 software]$ gs_ctl start -D /opt/opengauss/data -Z single_node -l /opt/opengauss/pg_log
could not create directory /var/log/omm: Permission denied
[2022-07-19 10:40:14.265][17643][][gs_ctl]: gs_ctl started,datadir is /opt/opengauss/data
[2022-07-19 10:40:14.391][17643][][gs_ctl]: waiting for server to start...
./bin/sh: /opt/opengauss/pg_log: Is a directory
[2022-07-19 10:40:15.392][17643][][gs_ctl]: waitpid 17646 failed, exitstatus is 256, ret is 2
2022-07-19 10:41:47.702 [unknown] [unknown] localhost 139987865873472 0[0:0#0] 0 [BACKEND] FATAL: could not create lock file "/opt/huawei/tmp/.
s.PGSQL.5432.lock": No such file or directory
启动的时候报需要/opt/huawei/tmp/ 这个目录
评论
有用 0
墨值悬赏


