注册
达梦数据库经常遇到的问题
专栏/培训园地/ 文章详情 /

达梦数据库经常遇到的问题

于 安 2024/01/25 1012 2 0
摘要

问题1::dmap未启动[-7170]错误***************************

SQL> backup database backupset '/data/bak/BACKUP_FILE';

backup database backupset '/data/bak/BACKUP_FILE';

[-7170]:bakres连接DMAP失败.

解决方法:手动启动dmap进程***************************

切换到bin目录下启动dmap服务:

[dmdba@host bin]$ ./dmap

dmap V8

dmap is ready

再次执行备份

SQL> backup database backupset '/data/bak/BACKUP_FILE';

操作已执行

问题2::备份报错 [-7103]:创建命名管道失败***************************

冷备前停止数据库服务:

[dmdba@dmdb bin]$ ./DmServiceDMSERVER stop

Stopping DmServiceDMSERVER:                                [ OK ]

[dmdba@dmdb backup]$ dmrman

RMAN> BACKUP DATABASE'/dm8/data/DAMENG/dm.ini' full backupset '/dm8/backup/dbfull_bak';

BACKUP DATABASE '/dm8/data/DAMENG/dm.ini' full backupset '/dm8/backup/dbfull_bak';

Database mode = 0, oguid = 0

EP[0]'s cur_lsn[57529]

BACKUP DATABASE [DAMENG],execute......

os_pipe2_create_server_with_name, name:[/DM_PIPE_DMRMAN-24724_2_RD], error:[13]

CMD END.CODE:[-7103],DESC:[创建命名管道失败]

[-7103]:创建命名管道失败

解决方法:***************************

退出后执行,必须在bin目录下执行方可

[dmdba@dmdb ~]$ /dm8/bin/dmrman

RMAN> BACKUP DATABASE'/dm8/data/DAMENG/dm.ini' full backupset '/dm8/backup/dbfull1_bak';

BACKUP DATABASE '/dm8/data/DAMENG/dm.ini' full backupset '/dm8/backup/dbfull1_bak';

Database mode = 0, oguid = 0

EP[0]'s cur_lsn[57529]

BACKUP DATABASE [DAMENG],execute......

CMD CHECK LSN......

BACKUP DATABASE [DAMENG],collect dbf......

CMD CHECK ......

DBF BACKUP SUBS......

CMD END.CODE:[0]

backup successfully!

time used: 00:00:01.086

评论
后发表回复

作者

文章

阅读量

获赞

扫一扫
联系客服