数据库移植遇到的问题

133上导出数据库elink:dbexport –o/home/ap/dcclink/.shan/194/elink elink;

132上导入数据库elink:dpimport –c –ddatadbs –i  /home/ap/dcclink/.shan/elinkelink。

 

遇到问题例如以下:

一.  The type of your terminal is unknownto the system.

在$HOME/.profile  里面加exportTERM=vt100

二.-425 - Database is currently opened by another user.

         解决方法:onstat  –g  sql查看在运行的sql

                             onmode –z SessId

三. -256    Transaction notavailable.

         停服务,onmode杀数据库运行语句

         ontape-s -U elink (打开日志模式)

四.、与xx主机通讯出错

/etc/hosts

         52.0.10.132zjkfsvc 改为:

52.0.10.132zjkfsvc     cms1    host_xx

posted @ 2014-08-19 16:16  hrhguanli  阅读(516)  评论(0编辑  收藏  举报