2025-07-31T11:02:35.908 INFO [3102640] [F000000000000000] [cmd/handle.go:148] current obshell version is 4.2.5.0-12024121011 2025-07-31T11:02:35.908 INFO [3102640] [F000000000000000] [cmd/handle.go:171] check backup binary /data/observer/etc/obshell 2025-07-31T11:02:35.933 INFO [3102640] [F000000000000000] [cmd/handle.go:182] backup binary version is 4.2.5.0-12024121011 2025-07-31T11:02:35.955 INFO [3102640] [F000000000000000] [global/variable.go:70] homePath is /data/observer 2025-07-31T11:02:35.955 INFO [3102640] [F000000000000000] [global/variable.go:63] architecture is aarch64 2025-07-31T11:02:35.955 INFO [3102640] [F000000000000000] [daemon/process.go:56] start obshell server with args: [server --ip 10.168.206.221 --port 2886] 2025-07-31T11:02:35.955 INFO [3102640] [F000000000000000] [daemon/start_daemon.go:146] daemon is not for upgrade 2025-07-31T11:02:35.955 INFO [3102640] [F000000000000000] [daemon/stop_daemon.go:73] cleanup daemon [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. - using env: export GIN_MODE=release - using code: gin.SetMode(gin.ReleaseMode) [GIN-debug] GET /api/v1/status --> github.com/oceanbase/obshell/agent/cmd/daemon.(*Daemon).GetStatus-fm (3 handlers) 2025-07-31T11:02:35.955 INFO [3102640] [F000000000000000] [daemon/start_daemon.go:51] start daemon 2025-07-31T11:02:35.955 INFO [3102640] [F000000000000000] [daemon/start_daemon.go:125] obshell daemon pid is 3102640 2025-07-31T11:02:35.957 INFO [3102640] [F000000000000000] [daemon/daemon.go:160] set daemon state to 1 2025-07-31T11:02:35.957 INFO [3102640] [F000000000000000] [daemon/start_daemon.go:97] start socket server on /data/observer/run/daemon.sock 2025-07-31T11:02:35.957 INFO [3102640] [F000000000000000] [daemon/process.go:133] cas obshell server state from 4 to 1 2025-07-31T11:02:35.957 INFO [3102640] [F000000000000000] [daemon/process.go:138] set obshell server state to 4 2025-07-31T11:02:35.957 INFO [3102640] [F000000000000000] [daemon/start_process.go:85] start the obshell server for the 1 time 2025-07-31T11:02:35.957 INFO [3102640] [F000000000000000] [daemon/process.go:138] set obshell server state to 1 2025-07-31T11:02:35.957 INFO [3102640] [F000000000000000] [daemon/start_process.go:107] starting obshell server 2025-07-31T11:02:35.959 INFO [3102640] [F000000000000000] [daemon/start_process.go:118] obshell server pid is 3102672 2025-07-31T11:02:35.959 INFO [3102640] [F000000000000000] [daemon/process.go:138] set obshell server state to 2 2025-07-31T11:02:35.959 INFO [3102640] [F000000000000000] [daemon/process.go:128] obshell server state: 4, agent is unidentified: false 2025-07-31T11:02:36.958 INFO [3102640] [F000000000000000] [daemon/daemon.go:160] set daemon state to 2 2025-07-31T11:02:36.969 INFO [3102640] [F000000000000000] [daemon/process.go:128] obshell server state: 1, agent is unidentified: true 2025-07-31T11:02:37.918 INFO [3102640] [F000000000000000] [daemon/process.go:128] obshell server state: 1, agent is unidentified: true 2025-07-31T11:02:37.983 INFO [3102640] [F000000000000000] [daemon/process.go:128] obshell server state: 1, agent is unidentified: true 2025-07-31T11:02:38.944 INFO [3102640] [F000000000000000] [daemon/process.go:128] obshell server state: 1, agent is unidentified: true 2025-07-31T11:02:38.994 INFO [3102640] [F000000000000000] [daemon/process.go:128] obshell server state: 1, agent is unidentified: true 2025-07-31T11:02:39.968 INFO [3102640] [F000000000000000] [daemon/process.go:128] obshell server state: 2, agent is unidentified: false 2025-07-31T11:02:40.011 INFO [3102640] [F000000000000000] [daemon/process.go:128] obshell server state: 2, agent is unidentified: false 2025-07-31T11:02:40.011 INFO [3102640] [F000000000000000] [daemon/start_process.go:46] obshell server started 2025-07-31T11:02:40.011 INFO [3102640] [F000000000000000] [daemon/guard_process.go:39] daemon starts guarding obshell server 2025-07-31T15:43:28.197 INFO [3102640] [F000000000000000] [daemon/stop_daemon.go:39] signal 'terminated' received. exiting... 2025-07-31T15:43:28.197 INFO [3102640] [F000000000000000] [daemon/stop_daemon.go:49] stop daemon 2025-07-31T15:43:28.197 INFO [3102640] [F000000000000000] [daemon/daemon.go:165] cas daemon state from 2 to 3 2025-07-31T15:43:28.197 INFO [3102640] [F000000000000000] [daemon/stop_daemon.go:56] stop obshell server, state is &{2} 2025-07-31T15:43:28.197 INFO [3102640] [F000000000000000] [daemon/process.go:138] set obshell server state to 3 2025-07-31T15:43:28.197 INFO [3102640] [F000000000000000] [daemon/stop_process.go:40] stopping obshell 2025-07-31T15:43:28.197 INFO [3102640] [F000000000000000] [daemon/daemon.go:160] set daemon state to 4 2025-07-31T15:43:28.197 INFO [3102640] [F000000000000000] [daemon/stop_daemon.go:73] cleanup daemon 2025-07-31T15:43:28.197 INFO [3102640] [F000000000000000] [daemon/stop_daemon.go:76] socket /data/observer/run/daemon.sock is a socket 2025-07-31T15:43:28.820 INFO [3102640] [F000000000000000] [daemon/guard_process.go:67] obshell server stopped. state is 3. daemon no longer guard 2025-07-31T15:43:28.820 INFO [3102640] [F000000000000000] [daemon/process.go:138] set obshell server state to 4 2025-07-31T15:43:28.820 INFO [3102640] [F000000000000000] [daemon/stop_process.go:72] the stopped obshell pid is 3102672 2025-07-31T15:43:28.820 INFO [3102640] [F000000000000000] [daemon/stop_process.go:76] remove obshell pid file /data/observer/run/obshell.pid 2025-07-31T15:43:28.820 INFO [3102640] [F000000000000000] [daemon/guard_process.go:52] daemon stops guarding obshell server, send SIGTERM to daemon 2025-07-31T15:43:28.820 INFO [3102640] [F000000000000000] [daemon/stop_daemon.go:39] signal 'terminated' received. exiting... 2025-07-31T15:44:24.926 INFO [3696437] [F000000000000000] [cmd/handle.go:148] current obshell version is 4.2.5.0-12024121011 2025-07-31T15:44:24.927 INFO [3696437] [F000000000000000] [cmd/handle.go:171] check backup binary /data/observer/etc/obshell 2025-07-31T15:44:24.953 INFO [3696437] [F000000000000000] [cmd/handle.go:182] backup binary version is 4.2.5.0-12024121011 2025-07-31T15:44:24.978 INFO [3696437] [F000000000000000] [global/variable.go:70] homePath is /data/observer 2025-07-31T15:44:24.978 INFO [3696437] [F000000000000000] [global/variable.go:63] architecture is aarch64 2025-07-31T15:44:24.978 INFO [3696437] [F000000000000000] [daemon/process.go:56] start obshell server with args: [server --ip 10.168.206.221 --port 2886] 2025-07-31T15:44:24.979 INFO [3696437] [F000000000000000] [daemon/start_daemon.go:146] daemon is not for upgrade [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. - using env: export GIN_MODE=release - using code: gin.SetMode(gin.ReleaseMode) [GIN-debug] GET /api/v1/status --> github.com/oceanbase/obshell/agent/cmd/daemon.(*Daemon).GetStatus-fm (3 handlers) 2025-07-31T15:44:24.979 INFO [3696437] [F000000000000000] [daemon/stop_daemon.go:73] cleanup daemon 2025-07-31T15:44:24.979 INFO [3696437] [F000000000000000] [daemon/stop_daemon.go:76] socket /data/observer/run/daemon.sock is a socket 2025-07-31T15:44:24.979 INFO [3696437] [F000000000000000] [daemon/stop_daemon.go:78] socket /data/observer/run/daemon.sock is not connectable, remove it 2025-07-31T15:44:24.979 INFO [3696437] [F000000000000000] [daemon/stop_daemon.go:89] remove pid file /data/observer/run/daemon.pid 2025-07-31T15:44:24.979 INFO [3696437] [F000000000000000] [daemon/start_daemon.go:51] start daemon 2025-07-31T15:44:24.979 INFO [3696437] [F000000000000000] [daemon/start_daemon.go:125] obshell daemon pid is 3696437 2025-07-31T15:44:24.981 INFO [3696437] [F000000000000000] [daemon/daemon.go:160] set daemon state to 1 2025-07-31T15:44:24.981 INFO [3696437] [F000000000000000] [daemon/start_daemon.go:97] start socket server on /data/observer/run/daemon.sock 2025-07-31T15:44:24.981 INFO [3696437] [F000000000000000] [daemon/process.go:133] cas obshell server state from 4 to 1 2025-07-31T15:44:24.981 INFO [3696437] [F000000000000000] [daemon/process.go:138] set obshell server state to 4 2025-07-31T15:44:24.981 INFO [3696437] [F000000000000000] [daemon/start_process.go:85] start the obshell server for the 1 time 2025-07-31T15:44:24.981 INFO [3696437] [F000000000000000] [daemon/process.go:138] set obshell server state to 1 2025-07-31T15:44:24.981 INFO [3696437] [F000000000000000] [daemon/start_process.go:107] starting obshell server 2025-07-31T15:44:24.983 INFO [3696437] [F000000000000000] [daemon/start_process.go:118] obshell server pid is 3696540 2025-07-31T15:44:24.983 INFO [3696437] [F000000000000000] [daemon/process.go:138] set obshell server state to 2 2025-07-31T15:44:24.983 INFO [3696437] [F000000000000000] [daemon/process.go:128] obshell server state: 4, agent is unidentified: false 2025-07-31T15:44:25.982 INFO [3696437] [F000000000000000] [daemon/daemon.go:160] set daemon state to 2 2025-07-31T15:44:25.997 INFO [3696437] [F000000000000000] [daemon/process.go:128] obshell server state: 2, agent is unidentified: false 2025-07-31T15:44:25.997 INFO [3696437] [F000000000000000] [daemon/start_process.go:46] obshell server started 2025-07-31T15:44:25.997 INFO [3696437] [F000000000000000] [daemon/guard_process.go:39] daemon starts guarding obshell server 2025-07-31T15:44:26.957 INFO [3696437] [F000000000000000] [daemon/process.go:128] obshell server state: 2, agent is unidentified: false