最佳答案
具体报错?个人经验,以管理员身份运行部署监控代理。手工杀掉dbman进程。重新来
(0)
之前已管理员运行了一次,点立即备份还是出现错误,说数据库备份失败
2018-08-21 12:52:03 [INFO] [Client::connect_to_server] Starting connect to 192.168.0.98: 2810 2018-08-21 12:52:03 [INFO] [Client::connect_to_server] Established connection to 192.168.0.98: 2810 2018-08-21 12:52:03 [DEBUG] [My_Accept_Handler::handle_input] Connection established 192.168.0.98 2018-08-21 12:52:03 [DEBUG] [CDataConnStreamQueueT::deal_msg] Receive command code: 10010 2018-08-21 12:52:03 [DEBUG] [CDataConnStreamQueueT::deal_msg] Succeed to create FileTrans thread 2018-08-21 12:52:03 [INFO] [Remove] Fail to remove file: C:/Program Files/iMC/dbman\etc\dbman_bak.conf 2018-08-21 12:52:03 [INFO] [Client::connect_to_server] Starting connect to 192.168.0.100: 2810 2018-08-21 12:52:03 [INFO] [Client::connect_to_server] Established connection to 192.168.0.100: 2810 2018-08-21 12:52:03 [INFO] [CDbBackup::BackupAllDataBase] Begin to auto backup all databases 2018-08-21 12:52:03 [INFO] [CDbBackup::BackupAllDataBase] Path: 127.0.0.1@aclm_db_imc_aclm_db_20180821_125203_full.db 2018-08-21 12:52:03 [INFO] [CDbBackup::BackupOneLocalDBase] Ready to backup `C:\beifen\127.0.0.1@aclm_db_imc_aclm_db_20180821_125203_full.db' 2018-08-21 12:52:03 [DEBUG] [CDbBase::ExecSql] Input sql: BACKUP DATABASE aclm_db TO DISK = 'C:\beifen\127.0.0.1@aclm_db_imc_aclm_db_20180821_125203_full.db' WITH INIT GO 2018-08-21 12:52:03 [DEBUG] [WriteFile] Write file C:\Program Files\iMC\dbman\bin\dbop.sql. 2018-08-21 12:52:03 [INFO] [runCommand] runCommand result. ret=0.errno=121 2018-08-21 12:52:03 [DEBUG] [CDbBase::ExecSql] Exec sql log: 已为数据库 'aclm_db',文件 'PRMDATA01' (位于文件 1 上)处理了 184 页。 已为数据库 'aclm_db',文件 'PRMDATA02' (位于文件 1 上)处理了 16 页。 已为数据库 'aclm_db',文件 'PRMDATA03' (位于文件 1 上)处理了 16 页。 已为数据库 'aclm_db',文件 'LOG01' (位于文件 1 上)处理了 1 页。 BACKUP DATABASE 成功处理了 217 页,花费 0.136 秒(12.465 MB/秒)。 2018-08-21 12:52:03 [DEBUG] [Remove] Remove file: C:\Program Files\iMC\dbman\bin\dbop.sql.log 2018-08-21 12:52:03 [DEBUG] [Remove] Remove file: C:\Program Files\iMC\dbman\bin\dbop.sql 2018-08-21 12:52:03 [INFO] [CDbBackup::BackupOneLocalDBase] Success to backup 'C:\beifen\127.0.0.1@aclm_db_imc_aclm_db_20180821_125203_full.db' 2018-08-21 12:52:03 [INFO] [CDbBackup::BackupOneLocalDBase] ifAuto: 1;ifTrans: 1;bakDbIp: 192.168.0.98,bakDBReceivePath: C:\hf 2018-08-21 12:52:03 [INFO] [Client::connect_to_server] Starting connect to 192.168.0.98: 2810 2018-08-21 12:52:03 [INFO] [Client::connect_to_server] Established connection to 192.168.0.98: 2810 2018-08-21 12:52:04 [INFO] [Client::send_filetrans_msg] Receive server data ok 2018-08-21 12:52:04 [INFO] [FuncName] [CRcvFtpClient1::createCtrolConn] Received content: 220 Microsoft FTP Service 2018-08-21 12:52:07 [INFO] [FuncName] [CRcvFtpClient2::createCtrolConn] Sending content: USER 2018-08-21 12:52:07 [INFO] [FuncName] [CRcvFtpClient3::createCtrolConn] Received reponse message: 331 Password required for h3czsy. 2018-08-21 12:52:07 [INFO] [FuncName] [CRcvFtpClient2::createCtrolConn] Sending content: PASS 2018-08-21 12:52:07 [INFO] [FuncName] [CRcvFtpClient3::createCtrolConn] Received reponse message: 230 User logged in. 2018-08-21 12:52:07 [ERROR] [FuncName] [CFtpClientTask::createDataConn()] When sending [STOR 127.0.0.1@aclm_db_imc_aclm_db_20180821_125203_full.db ] command, it received [550 Access is denied. ] 2018-08-21 12:52:07 [INFO] [[CFtpClientTask::createDataConn()]] catch bError 2018-08-21 12:52:10 [ERROR] [FuncName] [CFtpClientTask::sendFileContent] nRet < =0 2018-08-21 12:52:10 [ERROR] [int FtpPut()] Fail to ftp transfer file:C:\beifen\127.0.0.1@aclm_db_imc_aclm_db_20180821_125203_full.db. to ftp server:192.168.0.98 2018-08-21 12:52:10 [INFO] [CDbBackup::BackupOneLocalDBase] ftp trans failed 2018-08-21 12:52:10 [INFO] [sendTrapAlert] Send trap success 2018-08-21 12:52:10 [WARNING] [CDbBackup::BackupAllDataBase] Backup database: aclm_db failed 2018-08-21 12:52:10 [ERROR] [TimeBackup] Auto backup all db failed
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
2018-08-21 12:52:03 [INFO] [Client::connect_to_server] Starting connect to 192.168.0.98: 2810 2018-08-21 12:52:03 [INFO] [Client::connect_to_server] Established connection to 192.168.0.98: 2810 2018-08-21 12:52:03 [DEBUG] [My_Accept_Handler::handle_input] Connection established 192.168.0.98 2018-08-21 12:52:03 [DEBUG] [CDataConnStreamQueueT::deal_msg] Receive command code: 10010 2018-08-21 12:52:03 [DEBUG] [CDataConnStreamQueueT::deal_msg] Succeed to create FileTrans thread 2018-08-21 12:52:03 [INFO] [Remove] Fail to remove file: C:/Program Files/iMC/dbman\etc\dbman_bak.conf 2018-08-21 12:52:03 [INFO] [Client::connect_to_server] Starting connect to 192.168.0.100: 2810 2018-08-21 12:52:03 [INFO] [Client::connect_to_server] Established connection to 192.168.0.100: 2810 2018-08-21 12:52:03 [INFO] [CDbBackup::BackupAllDataBase] Begin to auto backup all databases 2018-08-21 12:52:03 [INFO] [CDbBackup::BackupAllDataBase] Path: 127.0.0.1@aclm_db_imc_aclm_db_20180821_125203_full.db 2018-08-21 12:52:03 [INFO] [CDbBackup::BackupOneLocalDBase] Ready to backup `C:\beifen\127.0.0.1@aclm_db_imc_aclm_db_20180821_125203_full.db' 2018-08-21 12:52:03 [DEBUG] [CDbBase::ExecSql] Input sql: BACKUP DATABASE aclm_db TO DISK = 'C:\beifen\127.0.0.1@aclm_db_imc_aclm_db_20180821_125203_full.db' WITH INIT GO 2018-08-21 12:52:03 [DEBUG] [WriteFile] Write file C:\Program Files\iMC\dbman\bin\dbop.sql. 2018-08-21 12:52:03 [INFO] [runCommand] runCommand result. ret=0.errno=121 2018-08-21 12:52:03 [DEBUG] [CDbBase::ExecSql] Exec sql log: 已为数据库 'aclm_db',文件 'PRMDATA01' (位于文件 1 上)处理了 184 页。 已为数据库 'aclm_db',文件 'PRMDATA02' (位于文件 1 上)处理了 16 页。 已为数据库 'aclm_db',文件 'PRMDATA03' (位于文件 1 上)处理了 16 页。 已为数据库 'aclm_db',文件 'LOG01' (位于文件 1 上)处理了 1 页。 BACKUP DATABASE 成功处理了 217 页,花费 0.136 秒(12.465 MB/秒)。 2018-08-21 12:52:03 [DEBUG] [Remove] Remove file: C:\Program Files\iMC\dbman\bin\dbop.sql.log 2018-08-21 12:52:03 [DEBUG] [Remove] Remove file: C:\Program Files\iMC\dbman\bin\dbop.sql 2018-08-21 12:52:03 [INFO] [CDbBackup::BackupOneLocalDBase] Success to backup 'C:\beifen\127.0.0.1@aclm_db_imc_aclm_db_20180821_125203_full.db' 2018-08-21 12:52:03 [INFO] [CDbBackup::BackupOneLocalDBase] ifAuto: 1;ifTrans: 1;bakDbIp: 192.168.0.98,bakDBReceivePath: C:\hf 2018-08-21 12:52:03 [INFO] [Client::connect_to_server] Starting connect to 192.168.0.98: 2810 2018-08-21 12:52:03 [INFO] [Client::connect_to_server] Established connection to 192.168.0.98: 2810 2018-08-21 12:52:04 [INFO] [Client::send_filetrans_msg] Receive server data ok 2018-08-21 12:52:04 [INFO] [FuncName] [CRcvFtpClient1::createCtrolConn] Received content: 220 Microsoft FTP Service 2018-08-21 12:52:07 [INFO] [FuncName] [CRcvFtpClient2::createCtrolConn] Sending content: USER 2018-08-21 12:52:07 [INFO] [FuncName] [CRcvFtpClient3::createCtrolConn] Received reponse message: 331 Password required for h3czsy. 2018-08-21 12:52:07 [INFO] [FuncName] [CRcvFtpClient2::createCtrolConn] Sending content: PASS 2018-08-21 12:52:07 [INFO] [FuncName] [CRcvFtpClient3::createCtrolConn] Received reponse message: 230 User logged in. 2018-08-21 12:52:07 [ERROR] [FuncName] [CFtpClientTask::createDataConn()] When sending [STOR 127.0.0.1@aclm_db_imc_aclm_db_20180821_125203_full.db ] command, it received [550 Access is denied. ] 2018-08-21 12:52:07 [INFO] [[CFtpClientTask::createDataConn()]] catch bError 2018-08-21 12:52:10 [ERROR] [FuncName] [CFtpClientTask::sendFileContent] nRet < =0 2018-08-21 12:52:10 [ERROR] [int FtpPut()] Fail to ftp transfer file:C:\beifen\127.0.0.1@aclm_db_imc_aclm_db_20180821_125203_full.db. to ftp server:192.168.0.98 2018-08-21 12:52:10 [INFO] [CDbBackup::BackupOneLocalDBase] ftp trans failed 2018-08-21 12:52:10 [INFO] [sendTrapAlert] Send trap success 2018-08-21 12:52:10 [WARNING] [CDbBackup::BackupAllDataBase] Backup database: aclm_db failed 2018-08-21 12:52:10 [ERROR] [TimeBackup] Auto backup all db failed