本文描述步骤排除故障与可能的解决方案的overwritedb问题在Cisco Unity Connection (CUC)。
Cisco 建议您了解以下主题:
本文档中的信息根据此软件和硬件版本:
overwritedb失败以此语句将结束。
Cluster overwritedb failed.
The overwritedb log cuc-cluster-overwritedb_yyyy-mm-dd_hh.mm.ss.log can be found in the installation log location through the CLI or Real-Time Monitoring Tool (RTMT).
为了获得此日志:
从CLI (您将需要安全FTP (SFTP)服务器转接日志文件),
file get install cuc-cluster-overwritedb_yyyy-mm-dd_hh.mm.ss.log
或者
从RTMT,
Choose Trace & Log Central > Collect Install Logs > Select the Node > Proceed.
在一些个方案中,日志的最后10条线路将提供错误消息并且在CLI可以查看用此命令:文件尾标安装cuc-cluster-overwritedb_yyyy-mm-dd_hh.mm.ss.lo g
此部分提供多种方案为了排除故障overwritedb问题。
问题:场景 1
Overwritedb失效在第一步。第一步设法建立对远程服务器的连接。
日志
+ sudo -u cucluster ssh cuc01 ' sh -lc '\''source /usr/local/cm/db/informix/local/ids.env && t=$(mktemp);ontape -r -v -t STDIO > $t 2>&1; rc=$?; cat $t; exit $rc'\'''@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!Someone could be eavesdropping on you right now (man-in-the-middle attack)!It is also possible that the Rivest-Shamir-Addleman (RSA) host key has just been changed.The fingerprint for the RSA key sent by the remote host isb0:f8:19:75:63:f7:30:aa:e4:ec:3b:dc:20:4a:d9:92.Please contact the system administrator.Add correct host key in /home/cucluster/.ssh/known_hosts to get rid of this message.Offending key in /home/cucluster/.ssh/known_hosts:5RSA host key for 10.1.1.100 has changed and you have requested strict checking.Host key verification failed.Physical restore failed - function read archive backup failed code 1 errno 0
Program over.TERM environment variable not set.+ ontape_rc=1+ [[ 1 -eq 0 ]]+ echo ontape returned 1.ontape returned 1.+ [[ 1 -ne 0 ]]+ echo Failed to restore database on cuc01. Ontape returned 1.
Failed to restore database on cuc01. Ontape returned 1.+ exit 1++ error++ echo 'Overwritedb failed.'++ echo 'The overwritedb log cuc-cluster-overwritedb_2014-01-22_20.20.44.log can be found in the installation log location through the CLI or RTMT.'++ exit
联系方式Cisco TAC。此解决方案要求根访问权限。
问题:场景 2
Overwritedb失效与错误:
Failed to restore database on <server_name>
Overwritedb failedThe overwritedb log cuc-cluster-overwritedb_yyyy-mm-dd_hh.mm.ss.log can be found in the installation log location through the CLI or RTMT
服务器能受CSCto87784的影响。检查此缺陷修正版本。如果当前版本不安排修正运行使用情况cuc集群overwritedb再请发出命令。
问题:场景 3
Overwritedb失效与此错误在此步骤:
yy/mm/dd hh :mm:ss同步Unity Connection数据库…
失败的命令--已经定义的企业复制(92)
日志
+ local primary_server=g_ciscounity_na_cucn01+ sudo_informix cdr define server -A /var/opt/cisco/connection/spool/ats/ -c g_ciscounity_na_cucn01 -I g_ciscounity_na_cucn01+ [[ cucluster != \i\n\f\o\r\m\i\x ]]+ sudo -u informix cdr define server -A /var/opt/cisco/connection/spool/ats/ -c g_ciscounity_na_cucn01 -I g_ciscounity_na_cucn01command failed -- Enterprise Replication already defined (92)++ error++ echo 'Overwritedb failed.'++ echo 'The overwritedb log cuc-cluster-overwritedb_2012-11-16_02.32.09.log can be found in the installation logging location through the CLI or RTMT.'++ exit 1
这是一些个选项调整此问题。
选项 1:
运行这些命令一次一个。请勿继续对下一条命令,直到当前一个完成。
选项 2:
因为企业复制队列满,此问题出现。为了解决此问题,您能重新启动发布服务器,等待大约30分钟为了保证服务开始和重新启动用户服务器。当服务是UP在用户时, overwritedb应该成功地完成。
这是服务器角色管理器日志对此问题的该点:
SRM,3,<CM> Command: /opt/cisco/connection/bin/db-replication-control status cuc02 execution completed abnormally. Error number: 6|
SRM,3,<Timer-0> Replication queue size: 90.0 has exceeded the maximum threshold value. Stopping replication.|
SRM,5,<evt> [PUB_PRIMARY] [replication_failed] ignored|
选项 3: 如果问题仍然存在,请与Cisco TAC联系。
问题:场景 4
Overwritedb失效与此错误在此步骤,
yy/mm/dd hh :mm:同步Unity Connection数据库的ss…
Overwritedb失败
日志
sudo -u cucluster ssh cuc02 ' sh -lc '\''source /usr/local/cm/db/informix/local/ids.env && dbaccess' 'unitydyndb'\'''
329: Database not found or no system permission.
应急方案的联系方式Cisco TAC requries根访问权限。
问题:方案 5
失败在下列任意情况下:
CLI “使用情况cuc集群overwritedb”在PUB或SUB失效。
CLI “使用情况cuc集群在SUB重新协商”失效。
升级在用户服务器失效。
失效在定义服务器步骤此问题的根本原因是,当尝试设立复制时。
日志
对于集群重新协商/OverwriteDB失败,
+ sudo -u informix cdr define server -A /var/opt/cisco/connection/spool/ats/ -cg_ciscounity_sub1 -I g_ciscounity_sub1 -S g_ciscounity_pubcommand failed -- fatal server error (100)++ error++ '[' 0 -eq 1 ']'++ echo 'Cluster renegotiation failed.'Or the same errors with the last line as
++ echo 'Cluster overwritedb failed.'
对于用户安装失败,
Thu Oct 17 06:09:47 GMT+2 2013 + sudo -u informix cdr define server -A /var/opt/cisco/connection/spool/ats/ -c g_ciscounity_pub -I g_ciscounity_pubThu Oct 17 06:13:07 GMT+2 2013 command failed -- fatal server error (100)Thu Oct 17 06:13:07 GMT+2 2013 + LOADDBRC=100Thu Oct 17 06:13:07 GMT+2 2013 + '[' 100 -ne 0 ']'Thu Oct 17 06:13:07 GMT+2 2013 + echo 'loaddb.sh return code was 100'Thu Oct 17 06:13:07 GMT+2 2013 loaddb.sh return code was 100Thu Oct 17 06:13:07 GMT+2 2013 + exit 1Thu Oct 17 06:13:07 GMT+2 2013 /opt/cisco/connection/lib/install/post.d/06_load-database had an exit code of 1error: %post(cuc-9.1.1.10000-32.i386) scriptlet failed, exit status 1
服务器是受CSCue78730的影响的。应急方案的联系方式Cisco TAC。或者,请升级服务器对缺陷的修正版本。
问题:方案 6
Overwritedb失效与此错误在此步骤,
yy/mm/dd hh :mm:ss Syncronizing平台和LDAP数据库…
Overwritedb失败。
日志
+ sudo -u informix cdr delete server -f -c g_ciscounity_pub g_ciscounity_pubconnect to g_ciscounity_pub failed Attempt to connect to database server (g_ciscounity_pub) failed.(-908)command failed -- unable to connect to server specified (5)+ true
联系方式Cisco TAC。问题是很可能与SQL HOSTS文件由于不正确或损坏的条目。并且看到在IP地址/主机名和此更改上的变化以后在SQL HOSTS文件不反射。
问题:方案 7
当有一主机名/IP地址更改在服务器时,此问题被看到。
Overwritedb失效在此步骤,
yy/mm/dd hh :mm:ss Syncronizing平台和LDAP数据库…
Overwritedb失败。
“使用情况服务列表”显示此服务下来,
Cisco DB [NOTRUNNIG]组件不运行
日志
ssh: connect to host 192.168.1.2 port 22: No route to hostPhysical restore failed - function read archive backup failed code 1 errno 0
Program over.+ ontape_rc=1+ [[ 1 -eq 0 ]]+ echo ontape returned 1.ontape returned 1.+ [[ 1 -ne 0 ]]+ echo Failed to restore database on cuc02. Ontape returned 1.Failed to restore database on cuc02. Ontape returned
联系方式Cisco TAC。 TAC将检查vmsserver条目和主机文件从根。并且,在overwriteDB在用户前,可以运行请保证Cisco DB服务是UP。
问题:方案 8
在此方案中失败归结于NTP问题。
日志
+ sudo -u informix cdr define server -A /var/opt/cisco/connection/spool/ats/ -cg_ciscounity_sub1 -I g_ciscounity_sub1 -S g_ciscounity_pubcommand failed -- System clocks difference is too large. (90)++ error++ echo 'Overwritedb failed.'
为了解决此问题,您必须调整所有网络时间协议(NTP)问题,并且分配与一个好层值的NTP。对于Unity Connection, stratum1或2来源更喜欢。
问题:方案 9
在此方案中服务器不能访问远程服务器由于权限问题。
日志
+ sudo -u cucluster ssh cuc01 ' sh -lc '\''source /usr/local/cm/db/informix/local/ids.env && onstat' '-'\'''Permission denied (publickey,password).+ return -1+ exit 255++ error++ echo 'Overwritedb failed.'
或者
+ sudo -u cucluster ssh cuc01 ' sh -lc '\''source /usr/local/cm/db/informix/local/ids.env && t=$(mktemp); ontape -r -v -t STDIO > $t 2>&1; rc=$?; cat $t; exit $rc'\'''Permission denied (publickey,password).Physical restore failed - function read archive backup failed code 1 errno 0
Program over.
TERM environment variable not set.
联系方式Cisco TAC从根的同步密码。
问题:方案 10
在此方案中失败归结于未命中DNS/域名条目在服务器或,当用户服务器在发布服务器未定义。
日志
connect to g_ciscounity_sub1 failed Incorrect password or user g_ciscounity_sub1 is not known on the database server. (-951)command failed -- unable to connect to server specified (5)
保证用户服务器IP地址/主机名详细信息提供在系统设置>集群页下。
若被设定保证DNS和域名信息为两个服务器是正确。
如果问题仍然存在,请与CISCO TAC联系。TAC将检查从根的SQL HOSTS文件。
问题:方案11
OverwriteDB失效与此错误:
SSH trust renegotiation failed.The security password on the publisher and subscriber servers do not match. Run the the CLI command "set password user security" on one or both servers to update the security password, then re-run "utils cuc cluster overwritedb".Overwritedb failed.
运行在一个或两个服务器的set password用户安全命令更新安全密码。
当用户的IP地址/主机名在发行商的系统设置>集群页时,没有被输入此错误也被看到。
如果问题仍然存在联系方式Cisco TAC。