Skip to main content

Error codes

This topic describes error messages that may occur during obshell usage and provides solutions.

The error codes of obshell use strings with literal meanings to facilitate user understanding. When an operation fails, you can view the corresponding error code in the obshell.log log file and then refer to the Solution section in the following table for troubleshooting.

info

If an error occurs while using obshell Dashboard, you can also view the HTTP response result by using the browser developer tools to obtain the error code (errCode).

Error codeError messageDescriptionSolution
Agent.AlreadyInitializedAgent already initializedThe obshell node has already been initializedPlease contact the OceanBase technical support team for troubleshooting.
Agent.Current.UnderMaintenanceAgent is under maintenanceThe current obshell node is under maintenanceWait for the maintenance task to finish, or use task commands/APIs to roll back, retry, or skip the failed maintenance task.
Agent.Daemon.StartFailedDaemon start failedFailed to start the daemon processPlease contact the OceanBase technical support team for troubleshooting.
Agent.Daemon.ServeOnUnixSocketFailedDaemon serve on socket listener failedThe daemon process failed to serve on the socket listenerPlease contact the OceanBase technical support team for troubleshooting.
Agent.Identify.NotSupportOperation'%s' is '%s', instead of '%s', does not support this operationThe current node identity does not support this operationPlease check the node identity and try again.
Agent.Identify.UnknownUnknown agent identity: %sThe identity of the obshell node is unknownPlease contact the OceanBase technical support team for troubleshooting.
Agent.Info.NotEqualAgent info not equal, input is %v, meta is %vThe obshell node information does not matchPlease check the obshell node information.
Agent.IP.InconsistentWithOBServerAgent IP inconsistent with observerThe obshell node IP does not match the seekdb node IPPlease check the IP configuration.
Agent.Load.OBConfigFailedLoad ob config from config file failedFailed to load seekdb configuration from the config filePlease check the configuration file.
Agent.NotInitializedAgent not initializedThe obshell node has not been initializedPlease initialize the corresponding obshell node first.
Agent.OBVersionNotSupportedUnsupported ob version '%s', the minimum supported version is '%s'The current OceanBase seekdb version is not supportedPlease use a supported OceanBase seekdb version.
Agent.OceanBase.DB.NotOcsThe current database is not ocsThe current database is not OCSPlease contact the OceanBase technical support team for troubleshooting.
Agent.OceanBase.NotHoldAgent is not holding OceanBase seekdbThe obshell node does not have an OceanBase seekdb connectionPlease restart the obshell node and try again.
Agent.Oceanbase.Password.LoadFailedCheck password of root in sqlite failedFailed to check the root password in SQLitePlease contact the OceanBase technical support team for troubleshooting.
Agent.OceanBase.UselessThe current database is uselessThe current OceanBase seekdb is unavailablePlease check whether OceanBase seekdb is available.
Agent.Package.NotFoundPackage %v is not foundThe installation package could not be foundPlease check the installation package and try again.
Agent.Rebuild.PortNotSameAgent port is not the same, agent port in all_agents: %d, agent port now: %dThe obshell node ports are inconsistentRebuild obshell using the same port.
Agent.Rebuild.VersionNotSameAgent version is not the same, agent version in all_agents: %s, agent version now: %sobshell version inconsistencyRebuild obshell using the same version.
Agent.Response.DataEmptyResponse data is emptyResponse data is emptyPlease contact the OceanBase technical support team for troubleshooting.
Agent.Response.DataFormatInvalidResponse data is not mapResponse data format is invalidPlease contact the OceanBase technical support team for troubleshooting.
Agent.RPC.RequestErrorRequest [%s]%s to %s error: %vError occurred when sending internal request between nodesPlease contact the OceanBase technical support team for troubleshooting.
Agent.RPC.RequestFailedRequest [%s]%s to %s failed: %sFailed to send internal request between nodesPlease contact the OceanBase technical support team for troubleshooting.
Agent.ServeOnTcpSocketFailedServe on tcp listener failedFailed to serve on TCP listenerPlease contact the OceanBase technical support team for troubleshooting.
Agent.ServeOnUnixSocketFailedServe on unix listener failedFailed to serve on Unix listenerPlease check system resources and permissions.
Agent.Sqlite.DB.NotInitThe sqlite db is not initializedSQLite database not initializedPlease contact the OceanBase technical support team for troubleshooting.
Agent.Start.ObserverFailedStart observer via flag failedFailed to start seekdbPlease check seekdb configuration.
Agent.Start.WithInvalidInfoAgent start with invalid info: %vobshell start information is invalidPlease check the startup parameters.
Agent.TakeOverFailedTake over or rebuild failedTakeover or rebuild failedPlease contact the OceanBase technical support team for troubleshooting.
Agent.TCP.Listener.CreateFailedCreate tcp listerner failedFailed to create TCP listenerPlease contact the OceanBase technical support team for troubleshooting.
Agent.UnderMaintenanceDag%s is under maintenance by dag [%s:%s]Current obshell node is under maintenanceWait for the maintenance task to complete, or use task commands/APIs to rollback, retry, or skip the failed maintenance task.
Agent.UnderMaintenance%s is under maintenanceCurrent obshell node is under maintenanceWait for the maintenance task to complete, or use task commands/APIs to rollback, retry, or skip the failed maintenance task.
Agent.Unix.Socket.Listener.CreateFailedCreate unix socket listerner failedFailed to create Unix socket listenerPlease contact the OceanBase technical support team for troubleshooting.
Agent.Upgrade.KillOldServerTimeoutWait obshell server killed timeoutTimeout while waiting for obshell server terminationPlease contact the OceanBase technical support team for troubleshooting.
Agent.Upgrade.ToLowerVersionTarget version %s is not greater than current version %s. Please verify if the params have been filled out correctlyUpgrade target version is not higher than the current versionPlease verify that the parameters are correctly filled in and provide a valid target version.
Agent.Version.Inconsistentobshell version is not consistent between %s(%s) and %s(%s)obshell version inconsistencyPlease use obshell with consistent versions.
Cli.FlagRequiredRequired flag(s) "%s" not setRequired command options not setPlease configure all required options.
Cli.NotFound%s not foundCorresponding resource not foundPlease check if the resource exists.
Cli.OperationCancelledOperation cancelledOperation cancelledPlease re-execute the operation as needed.
Cli.UnixSocket.RequestFailedRequest unix-socket [%s]%s failed: %vUnix socket request failedPlease contact the OceanBase technical support team for troubleshooting.
Cli.Upgrade.NoValidTargetBuildVersionFoundNo valid target build version in pkg_directory found by '%s'No valid target build version foundPlease check the installation packages in the directory or provide a specific version number.
Cli.Upgrade.PackageNotFoundInPathNo valid %s package found in %sNo valid installation package foundPlease check the package location.
Cli.UsageErrorIncorrect usage: %sCommand usage errorPlease check the command syntax. You can use the -h/--help option for help information on the corresponding command.
Common.BadRequestBad request: %vInvalid requestPlease check the request parameters and try again.
Common.BindJsonFailedBind JSON failed: %vFailed to bind JSONPlease check the JSON format and try again.
Common.DirNotEmptyDir '%s' is not emptyDirectory is not emptyPlease check the directory and try again.
Common.FileNotExistFile '%s' does not existFile does not existPlease check the file path and try again.
Common.FilePermissionDeniedNo read/write permission for file '%s'No read/write permission for the filePlease ensure you have read/write permissions for the file before retrying.
Common.IllegalArgumentIllegal argumentInvalid argumentPlease check the arguments and try again.
Common.InvalidAddress'%s' is not a valid addressInvalid addressPlease check the address and try again.
Common.InvalidIp'%s' is not a valid IP addressInvalid IP addressPlease check the IP address and try again.
Common.InvalidPathPath '%s' is not valid: %sInvalid path formatPlease check the path format and try again.
Common.InvalidPortThe port '%s' is invalid, must in (1024, 65535].Invalid portPlease check the port. Valid port range is (1024, 65535].
Common.InvalidTimeDurationTime duration '%s' is invalid: %sInvalid time durationPlease check the time duration and try again.
Common.NotFoundElement not found: %vAPI request not foundPlease check if the URI is correct.
Common.PathNotDir'%s' is not a directoryThe configured path is not a directoryPlease check the path and try again.
Common.PathNotExist'%s' does not existPath does not existPlease check the path and try again.
Common.UnauthorizedUnauthorizedAuthentication failedPlease check permissions and try again.
Common.UnexpectedUnexpected error: %sUnexpected errorPlease contact the OceanBase technical support team for troubleshooting.
Environment.DiskSpaceNotEnoughThe remaining disk space is insufficient, the remaining disk space is %d, and the required disk space is %dInsufficient disk spacePlease free up disk space and try again, or switch to another disk with sufficient space.
Gorm.NoRowAffected%s: no row affectedThis operation did not make any changes to the OceanBase databasePlease contact the OceanBase technical support team for troubleshooting.
Log.FileNameExtensionMismatchedFile name '%s' extension mismatchedFile extension does not matchPlease contact the OceanBase technical support team for troubleshooting.
Log.FileNamePrefixMismatchedFile name '%s' prefix mismatchedFile name prefix does not matchPlease contact the OceanBase technical support team for troubleshooting.
Log.WriteExceedMaxSizeWrite length %d exceeds maximum file size %dWrite length exceeds maximum file sizePlease contact the OceanBase technical support team for troubleshooting.
MySQL.ErrorOccur error when execute sqlError occurred while executing SQLPlease contact the OceanBase technical support team for troubleshooting.
OB.Binary.Version.UnexpectedUnexpected observer binary version.OceanBase database version is unexpectedPlease contact the OceanBase technical support team for troubleshooting.
SeekDB.MinorFreezeTimeoutMinor freeze timeoutMinor Freeze timeoutPlease contact the OceanBase technical support team for troubleshooting.
SeekDB.NotInitializedseekdb has not been initialized, please initialize it firstseekdb has not been initializedPlease contact the OceanBase technical support team for troubleshooting.
SeekDB.Password.IncorrectThe seekdb root password is incorrectThe provided seekdb root user password is incorrectPlease check the password and try again.
SeekDB.UnderMaintenanceseekdb is under maintenance, please try again laterseekdb is under maintenanceWait for the maintenance task to complete, or use task commands/APIs to rollback, retry, or skip the failed maintenance task.
SeekDB.UnderMaintenanceWithDagseekdb is under maintenance by DAG: %sseekdb is under maintenanceWait for the maintenance task to complete, or use task commands/APIs to rollback, retry, or skip the failed maintenance task.
SeekDB.Database.NotExistDatabase %s of tenant %sThe specified database does not exist in seekdbPlease configure an existing database and try again.
SeekDB.Compaction.Status.NotIdleseekdb is in '%s' status, operation not allowedseekdb is not in idle statusPlease wait until it is idle before trying the operation again.
SeekDB.Process.CheckFailedCheck seekdb process exist: %sFailed to check seekdb processPlease contact the OceanBase technical support team for troubleshooting.
SeekDB.Process.NotExistseekdb process does not existseekdb process does not existPlease start the seekdb process and try again.
SeekDB.Variable.EmptyVariable name or value is empty.Variable name or value is emptyPlease check the configured variable and try again.
SeekDB.Variable.InvalidVariable '%s' is invalid: %sInvalid variablePlease check the variable and try again.
SeekDB.Variable.Name.EmptyVariable name is emptyVariable name is emptyPlease provide a valid variable name.
SeekDB.Variable.NotExistVariable '%s' is not foundVariable does not existPlease check whether the variable exists.
SeekDB.User.Name.EmptyUser name is emptyUser name cannot be emptyPlease provide a valid user name.
SeekDB.Privilege.NotSupportedUnsupported privilege %sOperation privilege not supportedPlease configure the required privileges for the user.
Package.Compression.NotSupportedUnsupported compression '%s', the supported compression is 'xz'Unsupported package compression formatThe supported compression format is xz. Please visit OceanBase Download Center to download the corresponding installation package and re-upload.
Package.Format.InvalidUnsupported payload format '%s', the supported payload format is 'cpio'Unsupported payload formatThe supported payload format is cpio. Please visit OceanBase Download Center to download the corresponding installation package and re-upload.
Package.NameMismatchRPM package name %s not match %sPackage name mismatchPlease check the package name.
Package.ReleaseFormat.InvalidRelease format %s is illegalRelease format is invalidPlease visit OceanBase Download Center to download the corresponding installation package and re-upload.
Package.ReleaseInvalidRPM package release %s not match formatPackage release version does not meet format requirementsPlease check the package format requirements.
Request.Body.Decrypt.AES.ContentLength.InvalidDecrypted string length is not a multiple of the block sizeDecrypted string length is not a multiple of the block sizePlease check the encrypted body in the HTTP request (using AES encryption).
Request.Body.Decrypt.AES.KeyAndIv.InvalidAES key and iv size errorAES key and IV size errorPlease provide a valid key and IV in the request header.
Request.Body.Decrypt.AES.NoKeyNo key for aesMissing AES keyPlease contact the OceanBase technical support team for troubleshooting.
Request.Body.Decrypt.SM4.NoKeyNo key for sm4Missing SM4 keyPlease contact the OceanBase technical support team for troubleshooting.
Request.Body.ReadFailedFailed to read request body: %sFailed to read HTTP request bodyPlease contact the OceanBase technical support team for troubleshooting.
Request.File.MissingFile %s in the request is missing: %sMissing file in requestPlease check the requested file.
Request.Header.NotFoundX-OCS-Header not found in http request header.X-OCS-Header not found in HTTP request headerPlease set the correct X-OCS-Header in the HTTP request header to authenticate.
Request.Header.Type.InvalidHeader type errorHeader type errorHTTP header type is invalid; please check the HTTP request header and try again.
Request.Method.NotSupport%s method not supportMethod not supportedPlease contact the OceanBase technical support team for troubleshooting.
Request.Query.Param.EmptyQuery param %s is emptyQuery parameter is emptyPlease provide the path parameter and try again.
Request.Query.Param.IllegalQuery param %s is illegalQuery parameter is invalidPlease provide a valid query parameter and try again.
Security.Authentication.ExpiredAuthentication expiredAuthentication information has expiredPlease update the authentication information and try again.
Security.Authentication.File.Sha256MismatchFile sha256 mismatchFile SHA256 value mismatchThe file in the request does not match the SHA256 in the HTTP header. Please check and re-upload.
Security.Authentication.Header.DecryptFailedDecrypt http header failed: %sFailed to decrypt HTTP request headerPlease check if the encryption public key is correct.
Security.Authentication.Header.UriMismatchURI mismatchURI in request header does not match actual request URIPlease check the request URI set in the HTTP header and try again.
Security.Authentication.IncorrectSeekDBPasswordseekdb root password is incorrectIncorrect root user password in seekdb instancePlease check the root user password in seekdb and try again after confirming it is correct.
Security.Authentication.Timestamp.InvalidInvalid timestamp: %s, err: %sInvalid timestampPlease provide a valid timestamp in the HTTP header and try again.
Security.Authentication.UnauthorizedAuthentication failedAuthentication failedPlease check your request and try again.
Security.User.PermissionDeniedPermission deniedInsufficient user permissionsPlease contact the OceanBase technical support team for troubleshooting.
Task.Dag.Operator.CancelFinishedDagFailed to cancel dag: dag is finishedCannot cancel a finished DAGOnly DAGs in the RUNNING state can be canceled.
Task.Dag.Operator.CancelNotAllowedFailed to cancel dag: node %s can not cancelThe DAG contains nodes that cannot be canceledPlease contact the OceanBase technical support team for troubleshooting.
Task.Dag.Operator.NotSupportNot support operator %sUnsupported DAG operationPlease perform a supported task operation.
Task.Dag.Operator.PassNotAllowedFailed to pass dag: node %s can not passThe DAG contains nodes that cannot be skippedPlease contact the OceanBase technical support team for troubleshooting.
Task.Dag.Operator.PassNotFailedDagFailed to pass dag: dag is not failedCannot skip a DAG that is not in the failed stateOnly failed DAGs can be skipped.
Task.Dag.Operator.RetryNotAllowedFailed to set dag retry: node %s can not retryThe DAG contains nodes that cannot be retriedPlease contact the OceanBase technical support team for troubleshooting.
Task.Dag.Operator.RetryNotFailedDagFailed to set dag retry: dag state is not failedCannot retry a DAG that is not in the failed stateOnly failed DAGs can be retried.
Task.Dag.Operator.RollbackNotAllowedFailed to set dag rollback: node %s can not rollbackThe DAG contains nodes that cannot be rolled backPlease contact the OceanBase technical support team for troubleshooting.
Task.Dag.Operator.RollbackNotFailedDagFailed to set dag rollback: dag state is not failedCannot roll back a DAG that is not in the failed stateOnly failed DAGs can be rolled back.
Task.Dag.PassTimeoutPass %d timeout after %d secondsTask skip operation timed outPlease contact the OceanBase technical support team for troubleshooting.
Task.Dag.State.InvalidInvalid dag state '%d'Invalid task statePlease contact the OceanBase technical support team for troubleshooting.
Task.Data.ConvertFailedConvert %s failed: %sFailed to convert task dataPlease contact the OceanBase technical support team for troubleshooting.
Task.Data.NotSetData %s is not setRequired task data not setPlease contact the OceanBase technical support team for troubleshooting.
Task.GenericID.InvalidInvalid id: %sInvalid generic IDPlease provide a valid generic ID.
Task.LocalData.ConvertFailedConvert %s failed: %sFailed to convert local task dataPlease check the local data format and try again.
Task.LocalData.NotSetTask local data %s not setRequired local task data not setPlease contact the OceanBase technical support team for troubleshooting.
Task.Node.Operator.NotSupportNot support operator %sUnsupported operationPlease perform a supported task operation.
Task.Node.Operator.PassNotAllowedFailed to pass node: node %s can not passTask node cannot be skippedTask node cannot be skipped.
Task.Node.Operator.PassNotFailedDagFailed to pass node: assigned dag is not failedCannot skip task node when DAG is not failedOnly failed task nodes can be skipped.
Task.Node.Operator.PassNotFailedNodeFailed to pass node: node %s is not failedCannot skip a task node that is not failedOnly failed task nodes can be skipped.
Task.NotFoundTask not found: %vTask not foundPlease verify the task ID and try again.
Task.Param.ConvertFailedConvert %s failed: %sFailed to convert task parameterPlease contact the OceanBase technical support team for troubleshooting.
Task.Param.NotSetParam %s is not setRequired task parameter not setPlease contact the OceanBase technical support team for troubleshooting.
Task.RemoteTask.FailedRemote task %s %s failedRemote task failedPlease contact the OceanBase technical support team for troubleshooting.
Task.SubDag.NotAllAdvancedSub dag of agents: %v not advanced, main dag failedSome Agent subtasks failed to advancePlease check and resolve the blocked subtasks.
Task.SubDag.NotAllCreatedSub dag of agents: %v not created, main dag failedSome Agent subtasks failed to be createdPlease check the availability and connectivity of the Agents.
Task.SubDag.NotAllPassedNot all sub dag passed, main dag failedSome Agent subtasks failed to be skippedPlease check and resolve the failed subtasks.
Task.SubDag.NotAllReadySub dag of agents: %v not ready, can not advance main dagSome Agent subtasks are not readyPlease wait until all subtasks are ready, or check for issues.
Task.SubDag.NotAllSucceedSub dag of agents: %v failed, main dag failedSome Agent subtasks failedPlease check and resolve the failed subtasks.
Task.Template.EmptyTask template is emptyTask template is emptyPlease contact the OceanBase technical support team for troubleshooting.