我在linux系统上,以informix用户身份登录。我设置了以下环境变量:
INFORMIXDIR=/opt/IBM/informix
INFORMIXSQLHOSTS=/opt/IBM/informix/etc/sqlhosts.mydb
INFORMIXSERVER=rep_0
g_rep_0 group - - i=0
rep_0 onsoctcp svr0 30100 g=g_rep_0
g_rep_1 group - - i=1
rep_1 olsoctcp svr1 30101 g=g_rep_1
我正在试着执行命令
cdr define server --init g_rep_0
要将g\u rep\u 0设置为复制主机,但出现以下错误:
connect to rep_0 failed
Incorrect password or user rep_0 is not known on the database server.
(-951)
command failed -- unable to connect to server specified (5)
编辑
10:26:36 CDR GC: operation error reporting severe error message failed (error 62).
10:30:00 SCHAPI: [Save SQL Trace 27-550] Error -206 The specified table (mon_syssqltrace) is not in the database.
10:30:00 SCHAPI: [Save SQL Trace 27-550] Error -111 ISAM error: no record found.