Closed linwaiwai closed 4 months ago
执行命令:docker run --name opengauss --privileged=true -d -e GS_PASSWORD=Enmo@123 enmotech/opengauss:latest
报错:
2024-06-12 09:35:33 2024-06-12 01:35:33.450 [unknown] [unknown] localhost 281472587694112 0[0:0#0] 0 [BACKEND] LOG: gaussdb: fsync file "/var/lib/opengauss/data/gaussdb.state.temp" success 2024-06-12 09:35:33 2024-06-12 01:35:33.450 [unknown] [unknown] localhost 281472587694112 0[0:0#0] 0 [BACKEND] LOG: create gaussdb state file success: db state(STARTING_STATE), server mode(Normal), connection index(1) 2024-06-12 09:35:33 2024-06-12 01:35:33.481 [unknown] [unknown] localhost 281472587694112 0[0:0#0] 0 [BACKEND] LOG: max_safe_fds = 978, usable_fds = 1000, already_open = 12 2024-06-12 09:35:33 2024-06-12 01:35:33.482 [unknown] [unknown] localhost 281472587694112 0[0:0#0] 0 [BACKEND] LOG: user configure file is not found, it will be created. 2024-06-12 09:35:33 2024-06-12 01:35:33.484 [unknown] [unknown] localhost 281472587694112 0[0:0#0] 0 [BACKEND] LOG: the configure file /usr/local/opengauss/etc/gscgroup_omm.cfg doesn't exist or the size of configure file has changed. Please create it by root user! 2024-06-12 09:35:33 2024-06-12 01:35:33.484 [unknown] [unknown] localhost 281472587694112 0[0:0#0] 0 [BACKEND] LOG: Failed to parse cgroup config file. 2024-06-12 09:35:34 [2024-06-12 01:35:34.354][179][][gs_ctl]: waitpid 183 failed, exitstatus is 256, ret is 2 2024-06-12 09:35:34 2024-06-12 09:35:34 [2024-06-12 01:35:34.354][179][][gs_ctl]: stopped waiting 2024-06-12 09:35:34 [2024-06-12 01:35:34.354][179][][gs_ctl]: could not start server 2024-06-12 09:35:34 Examine the log output.
the same issue here. https://github.com/enmotech/enmotech-docker-opengauss/issues/34 please try opengauss-lite. https://hub.docker.com/repository/docker/enmotech/opengauss-lite/general
执行命令:docker run --name opengauss --privileged=true -d -e GS_PASSWORD=Enmo@123 enmotech/opengauss:latest
报错:
2024-06-12 09:35:33 2024-06-12 01:35:33.450 [unknown] [unknown] localhost 281472587694112 0[0:0#0] 0 [BACKEND] LOG: gaussdb: fsync file "/var/lib/opengauss/data/gaussdb.state.temp" success 2024-06-12 09:35:33 2024-06-12 01:35:33.450 [unknown] [unknown] localhost 281472587694112 0[0:0#0] 0 [BACKEND] LOG: create gaussdb state file success: db state(STARTING_STATE), server mode(Normal), connection index(1) 2024-06-12 09:35:33 2024-06-12 01:35:33.481 [unknown] [unknown] localhost 281472587694112 0[0:0#0] 0 [BACKEND] LOG: max_safe_fds = 978, usable_fds = 1000, already_open = 12 2024-06-12 09:35:33 2024-06-12 01:35:33.482 [unknown] [unknown] localhost 281472587694112 0[0:0#0] 0 [BACKEND] LOG: user configure file is not found, it will be created. 2024-06-12 09:35:33 2024-06-12 01:35:33.484 [unknown] [unknown] localhost 281472587694112 0[0:0#0] 0 [BACKEND] LOG: the configure file /usr/local/opengauss/etc/gscgroup_omm.cfg doesn't exist or the size of configure file has changed. Please create it by root user! 2024-06-12 09:35:33 2024-06-12 01:35:33.484 [unknown] [unknown] localhost 281472587694112 0[0:0#0] 0 [BACKEND] LOG: Failed to parse cgroup config file. 2024-06-12 09:35:34 [2024-06-12 01:35:34.354][179][][gs_ctl]: waitpid 183 failed, exitstatus is 256, ret is 2 2024-06-12 09:35:34 2024-06-12 09:35:34 [2024-06-12 01:35:34.354][179][][gs_ctl]: stopped waiting 2024-06-12 09:35:34 [2024-06-12 01:35:34.354][179][][gs_ctl]: could not start server 2024-06-12 09:35:34 Examine the log output.