Chinaunix

标题: NBU 5.1 for informix报6的错误 [打印本页]

作者: 13627662    时间: 2009-05-26 13:51
标题: NBU 5.1 for informix报6的错误
NBU 5.1 for informix报6的错误
原先刚上系统的时候不会这样,用了一年,就会在备份的最后报6的错误。
其他子作业都备份成功,就是到最后结束的父作业老是6的错误
47889         Backup  Done      0     informix_billing_set2     informix_billing_set2_sche jj_set2        jj_set2      13237
47890         Backup  Done      0     informix_billing_set2     Default-Application-Backup jj_set2        jj_set2      13351
47891         Backup  Done      0     informix_billing_set2     Default-Application-Backup jj_set2        jj_set2      14117
47892         Backup  Done      0     informix_billing_set2     Default-Application-Backup jj_set2        jj_set2      14350
47893         Backup  Done      0     informix_billing_set2     Default-Application-Backup jj_set2        jj_set2      14595
47894         Backup  Done      0     informix_billing_set2     Default-Application-Backup jj_set2        jj_set2      22126
47895         Backup  Done      0     informix_billing_set2     Default-Application-Backup jj_set2        jj_set2      26215
47896         Backup  Done      0 informix_etc_billing_set2 informix_etc_billing_set2_sche jj_set2        jj_set2      26470
47897 Catalog Backup  Done      0                                                          jj_set2                     27375
47898         Backup  Done      0        informix_bill_set1        informix_bill_set1_sche jj_set1        jj_set2      24639
47899         Backup  Done      6        informix_bill_set2        informix_bill_set2_sche jj_set2        jj_set2      24694
作者: 无牙    时间: 2009-05-26 13:58
要在客户端上看bphdb和infxbsa的日志。
作者: 旷野的呼唤    时间: 2009-05-26 14:49
6的错误一般都是脚本的问题吧。。。
作者: 无牙    时间: 2009-05-26 14:52
标题: 回复 #3 旷野的呼唤 的帖子
不一定.

例如没有正确配置onconfig,错误代码也是6

[ 本帖最后由 无牙 于 2009-5-26 14:54 编辑 ]
作者: 13627662    时间: 2009-05-26 15:27
我在等待明天的日志,以前是可以成功备份的。
无牙大哥能例举集中情况出来吧
给我参考下,我好应对
作者: 无牙    时间: 2009-05-26 15:52
你不是说以前是好的,你就先看看是不是超时了?
例如加大client_connect_timeout
作者: netbackup    时间: 2009-05-26 23:14
把日志放上来,大家帮你看看。
作者: 13627662    时间: 2009-05-27 10:09
01:08:11.232 [12062] <2> logparams: -sb -rdbms informix -S xn_set2 -to 7200 -c informix_bill_set2 -s informix_bill_set2_sche -clnt xn_set2 -FULL -b xn_set2_1243357688 -jobid 48392 -shm
01:08:11.244 [12062] <4> bphdb: INF - setenv INFXBSA_POLICY=informix_bill_set2
01:08:11.244 [12062] <4> bphdb: INF - setenv INFXBSA_SERVER=xn_set2
01:08:11.244 [12062] <4> bphdb: INF - setenv INFXBSA_CLIENT=xn_set2
01:08:11.244 [12062] <4> bphdb: INF - setenv INFXBSA_FULL=1
01:08:11.244 [12062] <4> bphdb: INF - setenv INFXBSA_INCR=0
01:08:11.245 [12062] <4> bphdb: INF - setenv INFXBSA_USER_INITIATED=0
01:08:11.245 [12062] <4> bphdb: INF - setenv INFXBSA_SCHEDULED=1
01:08:11.245 [12062] <4> bphdb: INF - BACKUP START
01:08:11.318 [12062] <4> bphdb: INF - CONTINUE BACKUP message received.
01:08:11.318 [12062] <4> bphdb: INF - Processing /usr/openv/netbackup/script/informix_onbar_whole_backup1
01:08:11.323 [12062] <4> bphdb: INF - bphdb still working.
01:08:11.324 [12062] <4> bphdb: INF - Keepalives will be sent every 3600 seconds.
01:08:11.325 [12063] <4> bphdb: INF - Child executing /usr/openv/netbackup/script/informix_onbar_whole_backup1
01:08:11.325 [12062] <4> bphdb: INF - Waiting for the child status.
01:08:11.901 [12062] <16> bphdb: ERR - Script exited with status = 151 <Backup Exec operation failed>
01:08:11.911 [12062] <16> bphdb: ERR - bphdb exit status = 6: the backup failed to back up the requested files

01:08:11.911 [12062] <4> bphdb: INF - EXIT STATUS 6: the backup failed to back up the requested files

01:08:16.031 [12122] <2> logparams: -sb -rdbms informix -S xn_set2 -to 7200 -c informix_bill_set2 -s informix_bill_set2_sche -clnt xn_set2 -FULL -b xn_set2_1243357693 -jobid 48392 -shm
01:08:16.033 [12122] <4> bphdb: INF - setenv INFXBSA_POLICY=informix_bill_set2
01:08:16.033 [12122] <4> bphdb: INF - setenv INFXBSA_SERVER=xn_set2
01:08:16.033 [12122] <4> bphdb: INF - setenv INFXBSA_CLIENT=xn_set2
01:08:16.033 [12122] <4> bphdb: INF - setenv INFXBSA_FULL=1
01:08:16.034 [12122] <4> bphdb: INF - setenv INFXBSA_INCR=0
01:08:16.034 [12122] <4> bphdb: INF - setenv INFXBSA_USER_INITIATED=0
01:08:16.034 [12122] <4> bphdb: INF - setenv INFXBSA_SCHEDULED=1
01:08:16.034 [12122] <4> bphdb: INF - BACKUP START
01:08:16.049 [12122] <4> bphdb: INF - CONTINUE BACKUP message received.
01:08:16.051 [12122] <4> bphdb: INF - Processing /usr/openv/netbackup/script/informix_onbar_whole_backup1
01:08:16.053 [12124] <4> bphdb: INF - Child executing /usr/openv/netbackup/script/informix_onbar_whole_backup1
01:08:16.055 [12122] <4> bphdb: INF - bphdb still working.
01:08:16.055 [12122] <4> bphdb: INF - Keepalives will be sent every 3600 seconds.
01:08:16.055 [12122] <4> bphdb: INF - Waiting for the child status.
01:08:16.302 [12122] <16> bphdb: ERR - Script exited with status = 151 <Backup Exec operation failed>
01:08:16.302 [12122] <16> bphdb: ERR - bphdb exit status = 6: the backup failed to back up the requested files

01:08:16.303 [12122] <4> bphdb: INF - EXIT STATUS 6: the backup failed to back up the requested files

上面是bphdb的日志
作者: 13627662    时间: 2009-05-27 10:11
Not a terminal
stty: : 不是一个打字机
stty: : 不是一个打字机
/usr/openv/netbackup/script/informix_onbar_whole_backup[24]: date:  未找到。
/informix/bin/onbar[33]: uname:  未找到。
/informix/bin/onbar[96]: sleep:  未找到。
/informix/bin/onbar[120]: id:  未找到。
/informix/bin/onbar[120]: awk:  未找到。
/usr/openv/netbackup/script/informix_onbar_whole_backup[75]: date:  未找到。

这个是onbar_stdout的日志
作者: 13627662    时间: 2009-05-27 10:12
Not a terminal
stty: : 不是一个打字机
stty: : 不是一个打字机
/usr/openv/netbackup/script/informix_onbar_whole_backup1[24]: date:  未找到。
/informix/bin/onbar[33]: uname:  未找到。
/informix/bin/onbar[96]: sleep:  未找到。
/informix/bin/onbar[120]: awk:  未找到。
/informix/bin/onbar[120]: id:  未找到。
/usr/openv/netbackup/script/informix_onbar_whole_backup1[75]: date:  未找到。
Not a terminal
stty: : 不是一个打字机
stty: : 不是一个打字机
/usr/openv/netbackup/script/informix_onbar_whole_backup1[24]: date:  未找到。
/informix/bin/onbar[33]: uname:  未找到。
/informix/bin/onbar[96]: sleep:  未找到。
/informix/bin/onbar[120]: id:  未找到。
/informix/bin/onbar[120]: awk:  未找到。
/usr/openv/netbackup/script/informix_onbar_whole_backup1[75]: date:  未找到。


这个是onbar_stderr的日志
作者: 13627662    时间: 2009-05-27 11:53
无牙大哥请看看。
作者: 无牙    时间: 2009-05-28 01:06
检查一下脚本”informix_onbar_whole_backup1“是不是有问题




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2