免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3265 | 回复: 6
打印 上一主题 下一主题

[紧急求救]online不时dump掉 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-11-06 13:05 |只看该作者 |倒序浏览
各位informix大师,小弟麻烦你们帮我检查我的系统到底出了什么问题。
我通过系统调用分步执行两个shell程序11_1.sh及11_2.sh,
sh程序中涉及四个数据表
    saacn(记录数 740000),
      saamt(记录数 750000),
      zhdzb(记录数 1040000),
      tdacn(记录数 450000),
机器是联想T270 G5,双至强CPU,2G内存,2x146G SCSI硬盘,安装SCOUNIX5.06
及ids 7.31 UC7.
程序在执行到11_2.sh的第二个unload语句时online就dump下来。现附上压缩的af文件及
两个sh程序,请大师们帮忙查找原因,谢谢。

11_1.sh文件

dbaccess dcc - <<! 1>/tmp/stdcc_mng.log 2>/tmp/stdcc_mng.log
unload to $TEMPDIR/dg_sa.txt select b.opac_instn_no,c.zh,b.cust_no,b.cust_name,
a.acct_bal from saamt a,saacn b,zhdzb c where a.acct_no=b.acct_no
and a.acct_no=c.acct_no and a.ddp_acct_sts<>"3" and a.sleep_sts="0" and
a.acct_no[13,14] in ("25"  ,"42","62") and a.acct_no[1,9]=  "123456789"  
and a.acct_bal>=  0.001  order by c.zh;  
unload to $TEMPDIR/dg_td.txt select a.opac_tlr_no[1,9],b.zh,a.psbk_no_n,a.cust_no,
a.cust_name,a.actu_amt,a.opac_dt from tdacn a,zhdzb b
where a.acct_no=b.acct_no and a.acct_sts<>"1" and
a.acct_no[13,14] in ("41","61") and
a.acct_no[1,9]=  "123456789"  and
a.actu_amt>=  0.001  
order by b.zh;
!
T=`awk '{ print substr($0,5) }' /tmp/stdcc_mng.log | grep "Error" | head`
if [ -z "$T" ]
then
exit 0
else
exit 1
fi

11_2.sh文件

dbaccess dcc - <<! 1>/tmp/stdcc_mng.log 2>/tmp/stdcc_mng.log
unload to $TEMPDIR/ds_sa.txt select b.opac_instn_no,c.zh,b.cust_no,b.cust_name,
a.acct_bal from saamt a,saacn b,zhdzb c where a.acct_no=b.acct_no
and a.acct_no=c.acct_no and a.ddp_acct_sts<>"3" and a.sleep_sts="0" and
a.acct_no[13,14] in ("27"  ,"28","34") and a.acct_no[1,9]=  "123456789"  
and a.acct_bal>=  0.001  order by c.zh;  
unload to $TEMPDIR/ds_td.txt select a.opac_tlr_no[1,9],b.zh,a.psbk_no_n,a.cust_no,
a.cust_name,a.actu_amt,a.opac_dt from tdacn a,zhdzb b
where a.acct_no=b.acct_no and a.acct_sts<>"1" and
a.acct_no[13,14] in ("27","28","34") and
a.acct_no[1,9]=  "123456789"  and
a.actu_amt>=  0.001  
order by b.zh;
!
T=`awk '{ print substr($0,5) }' /tmp/stdcc_mng.log | grep "Error" | head`
if [ -z "$T" ]
then
exit 0
else
exit 1
fi

[ 本帖最后由 stxrh 于 2005-11-6 13:19 编辑 ]

AF.rar

23.46 KB, 下载次数: 55

压缩af文件

论坛徽章:
0
2 [报告]
发表于 2005-11-07 10:13 |只看该作者
同情!
找informix技术支持看看,不过我估计也没戏,那些人只会扯皮说:这个事得找老美来解决。
奇怪,我最近怎么老见着informix crash的事呢。

论坛徽章:
0
3 [报告]
发表于 2005-11-07 13:00 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
4 [报告]
发表于 2005-11-07 13:04 |只看该作者
第二个unload语句执行就down,一行都导不出,但在普通PC机上却没有出错

论坛徽章:
0
5 [报告]
发表于 2005-11-07 16:21 |只看该作者
楼主试试会手工unload一次,试试看一样会down吗

论坛徽章:
0
6 [报告]
发表于 2005-11-07 21:59 |只看该作者
手工执行sh没有出错

论坛徽章:
0
7 [报告]
发表于 2007-07-18 17:42 |只看该作者

俺也最到这个问题了

俺的错误代码是-956,你看一下你的informix日志中的错误代码是多少?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP