[root@yqocp ~]# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES f9342bb3e7d2 reg.docker.alibaba-inc.com/oceanbase/ocp-all-in-one:3.3.4-20221202162515 "/usr/bin/supervisor…" 7 hours ago Up 7 hours ocp d7fb7d0791b1 reg.docker.alibaba-inc.com/antman/ob-docker:OB2277_OBP329_x86_20230330 "/root/init.sh" 8 hours ago Up 8 hours metadb [root@yqocp ~]# docker logs -f --tail 100 ocp 2023-06-27 17:13:59,867 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message. 2023-06-27 17:13:59,868 INFO Included extra file "/etc/supervisor/conf.d/base.conf" during parsing 2023-06-27 17:13:59,868 INFO Included extra file "/etc/supervisor/conf.d/ocp.conf" during parsing 2023-06-27 17:13:59,874 INFO RPC interface 'supervisor' initialized 2023-06-27 17:13:59,875 INFO supervisord started with pid 1 2023-06-27 17:14:00,878 INFO spawned: 'crond' with pid 9 2023-06-27 17:14:00,880 INFO spawned: 'rsyslog' with pid 10 2023-06-27 17:14:00,883 INFO spawned: 'ocp-server_00' with pid 11 2023-06-27 17:14:00,885 INFO spawned: 'ocp-obproxy_00' with pid 12 2023-06-27 17:14:00,887 INFO spawned: 'ic-server_00' with pid 13 2023-06-27 17:14:01,093 INFO exited: ocp-server_00 (exit status 1; not expected) 2023-06-27 17:14:02,096 INFO spawned: 'ocp-server_00' with pid 75 2023-06-27 17:14:02,097 INFO success: ocp-obproxy_00 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-06-27 17:14:02,097 INFO success: ic-server_00 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-06-27 17:14:02,299 INFO exited: ocp-server_00 (exit status 1; not expected) 2023-06-27 17:14:04,302 INFO spawned: 'ocp-server_00' with pid 127 2023-06-27 17:14:04,525 INFO exited: ocp-server_00 (exit status 1; not expected) 2023-06-27 17:14:07,945 INFO spawned: 'ocp-server_00' with pid 183 2023-06-27 17:14:08,126 INFO exited: ocp-server_00 (exit status 1; not expected) 2023-06-27 17:14:09,128 INFO gave up: ocp-server_00 entered FATAL state, too many start retries too quickly 2023-06-27 17:14:10,946 INFO success: crond entered RUNNING state, process has stayed up for > than 10 seconds (startsecs) 2023-06-27 17:14:10,947 INFO success: rsyslog entered RUNNING state, process has stayed up for > than 10 seconds (startsecs) 2023-06-27 17:15:00,914 INFO exited: ic-server_00 (exit status 0; expected) ^C [root@yqocp ~]# docker logs -f --tail 1000 ocp 2023-06-27 17:13:59,867 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message. 2023-06-27 17:13:59,868 INFO Included extra file "/etc/supervisor/conf.d/base.conf" during parsing 2023-06-27 17:13:59,868 INFO Included extra file "/etc/supervisor/conf.d/ocp.conf" during parsing 2023-06-27 17:13:59,874 INFO RPC interface 'supervisor' initialized 2023-06-27 17:13:59,875 INFO supervisord started with pid 1 2023-06-27 17:14:00,878 INFO spawned: 'crond' with pid 9 2023-06-27 17:14:00,880 INFO spawned: 'rsyslog' with pid 10 2023-06-27 17:14:00,883 INFO spawned: 'ocp-server_00' with pid 11 2023-06-27 17:14:00,885 INFO spawned: 'ocp-obproxy_00' with pid 12 2023-06-27 17:14:00,887 INFO spawned: 'ic-server_00' with pid 13 2023-06-27 17:14:01,093 INFO exited: ocp-server_00 (exit status 1; not expected) 2023-06-27 17:14:02,096 INFO spawned: 'ocp-server_00' with pid 75 2023-06-27 17:14:02,097 INFO success: ocp-obproxy_00 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-06-27 17:14:02,097 INFO success: ic-server_00 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-06-27 17:14:02,299 INFO exited: ocp-server_00 (exit status 1; not expected) 2023-06-27 17:14:04,302 INFO spawned: 'ocp-server_00' with pid 127 2023-06-27 17:14:04,525 INFO exited: ocp-server_00 (exit status 1; not expected) 2023-06-27 17:14:07,945 INFO spawned: 'ocp-server_00' with pid 183 2023-06-27 17:14:08,126 INFO exited: ocp-server_00 (exit status 1; not expected) 2023-06-27 17:14:09,128 INFO gave up: ocp-server_00 entered FATAL state, too many start retries too quickly 2023-06-27 17:14:10,946 INFO success: crond entered RUNNING state, process has stayed up for > than 10 seconds (startsecs) 2023-06-27 17:14:10,947 INFO success: rsyslog entered RUNNING state, process has stayed up for > than 10 seconds (startsecs) 2023-06-27 17:15:00,914 INFO exited: ic-server_00 (exit status 0; expected) ^C [root@yqocp ~]# docker logs -f --tail 1000 metadb + OB_DIR=/home/admin/oceanbase + OBPROXY_DIR=/home/admin/oceanbase/obproxy + LOG_DIR=/home/admin/oceanbase/log + '[' '!' -e /home/admin/oceanbase/log ']' + mkdir -p /home/admin/oceanbase/log + chown admin:admin /home/admin/oceanbase/log + cd /root + '[' '!' -f /home/admin/oceanbase/bin/observer ']' + rpm -i oceanbase.rpm + '[' '!' -f /home/admin/oceanbase/obproxy/bin/obproxy ']' + cpio -D /home/admin/oceanbase/tmp -di + rpm2cpio obproxy.rpm 216339 blocks + mv /home/admin/oceanbase/tmp/opt/taobao/install/obproxy-3.2.9.0 /home/admin/oceanbase/obproxy + rm -rf /home/admin/oceanbase/tmp + exec supervisord /usr/lib/python2.7/site-packages/supervisor/options.py:475: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security. 'Supervisord is running as root and it is searching ' 2023-06-27 16:44:20,911 INFO Set uid to user 0 succeeded 2023-06-27 16:44:20,911 INFO Set uid to user 0 succeeded 2023-06-27 16:44:20,917 INFO RPC interface 'supervisor' initialized 2023-06-27 16:44:20,917 INFO RPC interface 'supervisor' initialized 2023-06-27 16:44:20,917 CRIT Server 'unix_http_server' running without any HTTP authentication checking 2023-06-27 16:44:20,917 CRIT Server 'unix_http_server' running without any HTTP authentication checking 2023-06-27 16:44:20,918 INFO supervisord started with pid 1 2023-06-27 16:44:20,918 INFO supervisord started with pid 1 2023-06-27 16:44:21,929 INFO spawned: 'ocpagent' with pid 19 2023-06-27 16:44:21,929 INFO spawned: 'ocpagent' with pid 19 2023-06-27 16:44:21,935 INFO spawned: 'sshd' with pid 20 2023-06-27 16:44:21,935 INFO spawned: 'sshd' with pid 20 2023-06-27 16:44:21,940 INFO spawned: 'observer' with pid 21 2023-06-27 16:44:21,940 INFO spawned: 'observer' with pid 21 2023-06-27 16:44:21,946 INFO spawned: 'obproxy' with pid 23 2023-06-27 16:44:21,946 INFO spawned: 'obproxy' with pid 23 2023-06-27 16:44:21,951 INFO spawned: 'change_password' with pid 24 2023-06-27 16:44:21,951 INFO spawned: 'change_password' with pid 24 2023-06-27 16:44:21,954 INFO exited: ocpagent (exit status 0; expected) 2023-06-27 16:44:21,954 INFO exited: ocpagent (exit status 0; expected) 2023-06-27 16:44:21,955 INFO success: observer entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2023-06-27 16:44:21,955 INFO success: observer entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2023-06-27 16:44:21,955 INFO success: obproxy entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2023-06-27 16:44:21,955 INFO success: obproxy entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2023-06-27 16:44:21,955 INFO success: change_password entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2023-06-27 16:44:21,955 INFO success: change_password entered RUNNING state, process has stayed up for > than 0 seconds (startsecs) 2023-06-27 16:44:22,553 INFO exited: change_password (exit status 0; expected) 2023-06-27 16:44:22,553 INFO exited: change_password (exit status 0; expected) 2023-06-27 16:44:27,567 INFO success: sshd entered RUNNING state, process has stayed up for > than 5 seconds (startsecs) 2023-06-27 16:44:27,567 INFO success: sshd entered RUNNING state, process has stayed up for > than 5 seconds (startsecs) [root@yqocp ~]# [root@yqocp ~]# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES f9342bb3e7d2 reg.docker.alibaba-inc.com/oceanbase/ocp-all-in-one:3.3.4-20221202162515 "/usr/bin/supervisor…" 7 hours ago Up 7 hours ocp d7fb7d0791b1 reg.docker.alibaba-inc.com/antman/ob-docker:OB2277_OBP329_x86_20230330 "/root/init.sh" 8 hours ago Up 8 hours metadb [root@yqocp ~]# docker inspect --format '{{.LogPath}}' f9342bb3e7d2 /docker/containers/f9342bb3e7d2929458b23b807a5df44b0423b53555b60c40d7d72973a42e812c/f9342bb3e7d2929458b23b807a5df44b0423b53555b60c40d7d72973a42e812c-json.log [root@yqocp ~]# cat /docker/containers/f9342bb3e7d2929458b23b807a5df44b0423b53555b60c40d7d72973a42e812c/f9342bb3e7d2929458b23b807a5df44b0423b53555b60c40d7d72973a42e812c-json.log {"log":"2023-06-27 17:13:59,867 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.\n","stream":"stdout","time":"2023-06-27T09:13:59.868693778Z"} {"log":"2023-06-27 17:13:59,868 INFO Included extra file \"/etc/supervisor/conf.d/base.conf\" during parsing\n","stream":"stdout","time":"2023-06-27T09:13:59.868793852Z"} {"log":"2023-06-27 17:13:59,868 INFO Included extra file \"/etc/supervisor/conf.d/ocp.conf\" during parsing\n","stream":"stdout","time":"2023-06-27T09:13:59.86880018Z"} {"log":"2023-06-27 17:13:59,874 INFO RPC interface 'supervisor' initialized\n","stream":"stdout","time":"2023-06-27T09:13:59.875152844Z"} {"log":"2023-06-27 17:13:59,875 INFO supervisord started with pid 1\n","stream":"stdout","time":"2023-06-27T09:13:59.875637133Z"} {"log":"2023-06-27 17:14:00,878 INFO spawned: 'crond' with pid 9\n","stream":"stdout","time":"2023-06-27T09:14:00.878699941Z"} {"log":"2023-06-27 17:14:00,880 INFO spawned: 'rsyslog' with pid 10\n","stream":"stdout","time":"2023-06-27T09:14:00.881255835Z"} {"log":"2023-06-27 17:14:00,883 INFO spawned: 'ocp-server_00' with pid 11\n","stream":"stdout","time":"2023-06-27T09:14:00.883652092Z"} {"log":"2023-06-27 17:14:00,885 INFO spawned: 'ocp-obproxy_00' with pid 12\n","stream":"stdout","time":"2023-06-27T09:14:00.885864209Z"} {"log":"2023-06-27 17:14:00,887 INFO spawned: 'ic-server_00' with pid 13\n","stream":"stdout","time":"2023-06-27T09:14:00.89061337Z"} {"log":"2023-06-27 17:14:01,093 INFO exited: ocp-server_00 (exit status 1; not expected)\n","stream":"stdout","time":"2023-06-27T09:14:01.093635815Z"} {"log":"2023-06-27 17:14:02,096 INFO spawned: 'ocp-server_00' with pid 75\n","stream":"stdout","time":"2023-06-27T09:14:02.097634641Z"} {"log":"2023-06-27 17:14:02,097 INFO success: ocp-obproxy_00 entered RUNNING state, process has stayed up for \u003e than 1 seconds (startsecs)\n","stream":"stdout","time":"2023-06-27T09:14:02.097660956Z"} {"log":"2023-06-27 17:14:02,097 INFO success: ic-server_00 entered RUNNING state, process has stayed up for \u003e than 1 seconds (startsecs)\n","stream":"stdout","time":"2023-06-27T09:14:02.097665871Z"} {"log":"2023-06-27 17:14:02,299 INFO exited: ocp-server_00 (exit status 1; not expected)\n","stream":"stdout","time":"2023-06-27T09:14:02.299245691Z"} {"log":"2023-06-27 17:14:04,302 INFO spawned: 'ocp-server_00' with pid 127\n","stream":"stdout","time":"2023-06-27T09:14:04.304417965Z"} {"log":"2023-06-27 17:14:04,525 INFO exited: ocp-server_00 (exit status 1; not expected)\n","stream":"stdout","time":"2023-06-27T09:14:04.526372093Z"} {"log":"2023-06-27 17:14:07,945 INFO spawned: 'ocp-server_00' with pid 183\n","stream":"stdout","time":"2023-06-27T09:14:07.945572264Z"} {"log":"2023-06-27 17:14:08,126 INFO exited: ocp-server_00 (exit status 1; not expected)\n","stream":"stdout","time":"2023-06-27T09:14:08.127250936Z"} {"log":"2023-06-27 17:14:09,128 INFO gave up: ocp-server_00 entered FATAL state, too many start retries too quickly\n","stream":"stdout","time":"2023-06-27T09:14:09.128956207Z"} {"log":"2023-06-27 17:14:10,946 INFO success: crond entered RUNNING state, process has stayed up for \u003e than 10 seconds (startsecs)\n","stream":"stdout","time":"2023-06-27T09:14:10.94731421Z"} {"log":"2023-06-27 17:14:10,947 INFO success: rsyslog entered RUNNING state, process has stayed up for \u003e than 10 seconds (startsecs)\n","stream":"stdout","time":"2023-06-27T09:14:10.947340436Z"} {"log":"2023-06-27 17:15:00,914 INFO exited: ic-server_00 (exit status 0; expected)\n","stream":"stdout","time":"2023-06-27T09:15:00.914887751Z"} [root@yqocp ~]# [root@yqocp ~]# docker logs f9342bb3e7d2 2023-06-27 17:13:59,867 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message. 2023-06-27 17:13:59,868 INFO Included extra file "/etc/supervisor/conf.d/base.conf" during parsing 2023-06-27 17:13:59,868 INFO Included extra file "/etc/supervisor/conf.d/ocp.conf" during parsing 2023-06-27 17:13:59,874 INFO RPC interface 'supervisor' initialized 2023-06-27 17:13:59,875 INFO supervisord started with pid 1 2023-06-27 17:14:00,878 INFO spawned: 'crond' with pid 9 2023-06-27 17:14:00,880 INFO spawned: 'rsyslog' with pid 10 2023-06-27 17:14:00,883 INFO spawned: 'ocp-server_00' with pid 11 2023-06-27 17:14:00,885 INFO spawned: 'ocp-obproxy_00' with pid 12 2023-06-27 17:14:00,887 INFO spawned: 'ic-server_00' with pid 13 2023-06-27 17:14:01,093 INFO exited: ocp-server_00 (exit status 1; not expected) 2023-06-27 17:14:02,096 INFO spawned: 'ocp-server_00' with pid 75 2023-06-27 17:14:02,097 INFO success: ocp-obproxy_00 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-06-27 17:14:02,097 INFO success: ic-server_00 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2023-06-27 17:14:02,299 INFO exited: ocp-server_00 (exit status 1; not expected) 2023-06-27 17:14:04,302 INFO spawned: 'ocp-server_00' with pid 127 2023-06-27 17:14:04,525 INFO exited: ocp-server_00 (exit status 1; not expected) 2023-06-27 17:14:07,945 INFO spawned: 'ocp-server_00' with pid 183 2023-06-27 17:14:08,126 INFO exited: ocp-server_00 (exit status 1; not expected) 2023-06-27 17:14:09,128 INFO gave up: ocp-server_00 entered FATAL state, too many start retries too quickly 2023-06-27 17:14:10,946 INFO success: crond entered RUNNING state, process has stayed up for > than 10 seconds (startsecs) 2023-06-27 17:14:10,947 INFO success: rsyslog entered RUNNING state, process has stayed up for > than 10 seconds (startsecs) 2023-06-27 17:15:00,914 INFO exited: ic-server_00 (exit status 0; expected) [root@yqocp ~]# [root@yqocp ~]# docker exec -it ocp bash [root@yqocp admin]# pgrep -a java [root@yqocp admin]# exit