[root@ocenbase profile]# /bin/bash /home/admin/oceanbase/profile/oceanbase-service.sh start
oceanbase service started at 2024-10-12 16:35:44
change etc owner to root
daemon process with PID 2279 is running.
The agent service is exist
The observer has been installed before
observer PID file not found.
2024-10-15T08:45:13.908 INFO [11261] [F000000000000000] [executor/executor.go:283] try to execute task 17044
2024-10-15T08:45:13.908 INFO [11261] [F000000000000000] [executor/executor.go:318] execute task 17044, execute
2024-10-15T08:45:13.908 INFO [11261] [F000000000000000] [task/task.go:303] task 17044 Inform all agents to start observer execute log: Inform 10.10.20.37:2886 to create the task
2024-10-15T08:45:13.908 INFO [11261] [F000000000000000] [ob/sub_dag.go:95] main dag id is 20168432677028862843
2024-10-15T08:45:13.908 INFO [11261] [F000000000000000] [ob/stop_obsvr.go:138] check if in maintenance
2024-10-15T08:45:13.908 ERROR [11261] [F000000000000000] [ob/stop_obsvr.go:146] get last maintenance dag id failed fields:, error=“param mainDagId not set”
2024-10-15T08:45:13.908 ERROR [11261] [F000000000000000] [task/task.go:301] task 17044 Inform all agents to start observer execute log: ERROR: OcsAgentError: code = 1010, message = Known error: agent is under maintenance
2024-10-15T08:45:13.913 INFO [11261] [F000000000000000] [executor/executor.go:263] finishing local task 17044
2024-10-15T08:45:13.928 INFO [11261] [F000000000000000] [executor/executor.go:278] finish task 17044 end
2024-10-15T08:45:14.262 INFO [11261] [F000000000000000] [oceanbase/builder.go:71] try connect oceanbase: 1
2024-10-15T08:45:14.262 INFO [11261] [F000000000000000] [oceanbase/loader.go:163] open oceanbase failed fields:, error=“dial tcp 127.0.0.1:2881: connect: connection refused”
2024-10-15T08:45:14.262 INFO [11261] [F000000000000000] [oceanbase/loader.go:79] loadOceanbaseInstanceWithoutDBNameUntilSucc last error is initialize oceanbase failed: observer process not exist
2024-10-15T08:45:14.262 INFO [11261] [F000000000000000] [oceanbase/loader.go:85] init oceanbase instance without db name failed
2024-10-15T08:45:14.976 INFO [11261] [LS00000000000000] [scheduler/dag_handler.go:35] advance dag 2843
2024-10-15T08:45:14.976 INFO [11261] [LS00000000000000] [scheduler/node_handler.go:25] advance node 17044
2024-10-15T08:45:14.976 INFO [11261] [LS00000000000000] [scheduler/task_handler.go:39] advanceTask: node 17044 operator 1
2024-10-15T08:45:14.976 INFO [11261] [LS00000000000000] [scheduler/task_handler.go:79] sub task 17044 state 5
2024-10-15T08:45:14.976 INFO [11261] [LS00000000000000] [scheduler/task_handler.go:52] ready Task num 0, isFinished true, isSucceed true
2024-10-15T08:45:15.263 INFO [11261] [F000000000000000] [oceanbase/builder.go:71] try connect oceanbase: 1
2024-10-15T08:45:15.263 INFO [11261] [F000000000000000] [oceanbase/loader.go:163] open oceanbase failed fields:, error=“dial tcp 127.0.0.1:2881: connect: connection refused”
2024-10-15T08:45:15.263 INFO [11261] [F000000000000000] [oceanbase/loader.go:79] loadOceanbaseInstanceWithoutDBNameUntilSucc last error is initialize oceanbase failed: observer process not exist
2024-10-15T08:45:15.263 INFO [11261] [F000000000000000] [oceanbase/loader.go:85] init oceanbase instance without db name failed
2024-10-15T08:45:16.054 INFO [11261] [LS00000000000000] [scheduler/dag_handler.go:35] advance dag 2843
2024-10-15T08:45:16.054 INFO [11261] [LS00000000000000] [scheduler/node_handler.go:25] advance node 17045
2024-10-15T08:45:16.062 INFO [11261] [LS00000000000000] [scheduler/task_handler.go:39] advanceTask: node 17045 operator 1
2024-10-15T08:45:16.062 INFO [11261] [LS00000000000000] [scheduler/task_handler.go:79] sub task 17045 state 1
2024-10-15T08:45:16.066 INFO [11261] [LS00000000000000] [scheduler/task_handler.go:52] ready Task num 1, isFinished false, isSucceed true
2024-10-15T08:45:16.066 INFO [11261] [LS00000000000000] [scheduler/task_handler.go:55] ready sub task 17045 operator 1
2024-10-15T08:45:16.066 INFO [11261] [F000000000000000] [executor/pool.go:58] add task 17045 to ExecutorPool
2024-10-15T08:45:16.066 INFO [11261] [F000000000000000] [executor/executor.go:129] try to start task 17045
2024-10-15T08:45:16.070 INFO [11261] [F000000000000000] [executor/executor.go:135] start to task 17045 execute
2024-10-15T08:45:16.070 INFO [11261] [F000000000000000] [executor/executor.go:283] try to execute task 17045
2024-10-15T08:45:16.070 INFO [11261] [F000000000000000] [executor/executor.go:318] execute task 17045, execute
2024-10-15T08:45:16.070 ERROR [11261] [F000000000000000] [task/task.go:301] task 17045 Make sure all agents are ready execute log: ERROR: check sub dag created failed: Not all tasks created. main dag failed
2024-10-15T08:45:16.070 WARN [11261] [F000000000000000] [executor/executor.go:137] task 17045 execute error fields: error=“check sub dag created failed: Not all tasks created. main dag failed”
2024-10-15T08:45:16.070 INFO [11261] [F000000000000000] [executor/executor.go:263] finishing local task 17045
2024-10-15T08:45:16.074 INFO [11261] [F000000000000000] [executor/executor.go:278] finish task 17045 end
2024-10-15T08:45:16.264 INFO [11261] [F000000000000000] [oceanbase/builder.go:71] try connect oceanbase: 1
2024-10-15T08:45:16.265 INFO [11261] [F000000000000000] [oceanbase/loader.go:163] open oceanbase failed fields: error=“dial tcp 127.0.0.1:2881: connect: connection refused”
2024-10-15T08:45:16.265 INFO [11261] [F000000000000000] [oceanbase/loader.go:79] loadOceanbaseInstanceWithoutDBNameUntilSucc last error is initialize oceanbase failed: observer process not exist
2024-10-15T08:45:16.265 INFO [11261] [F000000000000000] [oceanbase/loader.go:85] init oceanbase instance without db name failed
2024-10-15T08:45:17.145 INFO [11261] [LS00000000000000] [scheduler/dag_handler.go:35] advance dag 2843
2024-10-15T08:45:17.145 INFO [11261] [LS00000000000000] [scheduler/node_handler.go:25] advance node 17045
2024-10-15T08:45:17.145 INFO [11261] [LS00000000000000] [scheduler/task_handler.go:39] advanceTask: node 17045 operator 1
2024-10-15T08:45:17.145 INFO [11261] [LS00000000000000] [scheduler/task_handler.go:79] sub task 17045 state 4
2024-10-15T08:45:17.145 INFO [11261] [LS00000000000000] [scheduler/task_handler.go:52] ready Task num 0, isFinished true, isSucceed false
2024-10-15T08:45:17.265 INFO [11261] [F000000000000000] [oceanbase/builder.go:71] try connect oceanbase: 1
2024-10-15T08:45:17.266 INFO [11261] [F000000000000000] [oceanbase/loader.go:163] open oceanbase failed fields:, error=“dial tcp 127.0.0.1:2881: connect: connection refused”
2024-10-15T08:45:17.266 INFO [11261] [F000000000000000] [oceanbase/loader.go:79] loadOceanbaseInstanceWithoutDBNameUntilSucc last error is initialize oceanbase failed: observer process not exist
2024-10-15T08:45:17.266 INFO [11261] [F000000000000000] [oceanbase/loader.go:85] init oceanbase instance without db name failed
2024-10-15T08:45:18.267 INFO [11261] [F000000000000000] [oceanbase/builder.go:71] try connect oceanbase: 1
2024-10-15T08:45:18.267 INFO [11261] [F000000000000000] [oceanbase/loader.go:163] open oceanbase failed fields:, error=“dial tcp 127.0.0.1:2881: connect: connection refused”
2024-10-15T08:45:18.267 INFO [11261] [F000000000000000] [oceanbase/loader.go:79] loadOceanbaseInstanceWithoutDBNameUntilSucc last error is initialize oceanbase failed: observer process not exist
2024-10-15T08:45:18.267 INFO [11261] [F000000000000000] [oceanbase/loader.go:85] init oceanbase instance without db name failed
2024-10-15T08:45:19.053 INFO [11261] [c2150814f097d546] [common/middleware.go:168] API request: [GET /api/v1/task/dag/20168432677028862843, client=, traceId=c2150814f097d546]
2024-10-15T08:45:19.055 INFO [11261] [c2150814f097d546] [common/middleware.go:242] API response OK: [GET /api/v1/task/dag/20168432677028862843, client=, traceId=c2150814f097d546, duration=2, status=200, data=&{GenericDTO:0xc000ac53d0 DagDetail:0xc000a90be0}]
2024-10-15T08:45:19.290 INFO [11261] [F000000000000000] [oceanbase/builder.go:71] try connect oceanbase: 1
2024-10-15T08:45:13.908 INFO [11261] [F000000000000000] [task/task.go:303] task 17044 Inform all agents to start observer execute log: Inform 10.10.20.37:2886 to create the task。
选用的127.0.0.1,这一步突然采用了网卡ip。是否之前安装集群过然后未删除干净。