楼主: wangzhonnew

[精华] 案例:db2 connect to <dbname> 无法连接数据库

[复制链接]
论坛徽章:
0
21#
发表于 2008-9-6 22:02 | 只看该作者
太强了,终身受益中。不过从一开始connect 这么长时间,就应该想到db2nodes.cfg有问题了

使用道具 举报

回复
论坛徽章:
1
奥运会纪念徽章:举重
日期:2008-10-24 13:16:31
22#
发表于 2008-9-17 17:43 | 只看该作者
很牛很强大!谢谢楼主分享

使用道具 举报

回复
论坛徽章:
6
生肖徽章2007版:鸡
日期:2008-01-02 17:35:53生肖徽章2007版:猴
日期:2008-01-02 17:35:53生肖徽章2007版:兔
日期:2008-01-02 17:35:53生肖徽章2007版:虎
日期:2008-01-02 17:35:53生肖徽章2007版:牛
日期:2008-01-02 17:35:53生肖徽章2007版:鼠
日期:2008-01-02 17:35:53
23#
发表于 2008-11-12 18:31 | 只看该作者
牛人的东西,下载下来好好研究,虽然现在感觉还是一头露水,差距啊。

使用道具 举报

回复
论坛徽章:
0
24#
发表于 2008-11-16 00:46 | 只看该作者
俺也遇到 一个类似的问题   /etc/host 文件  db2 没有赋予都的权限 (一个意外)  

导致 ............. 呵呵

LZ 强 佩服

使用道具 举报

回复
论坛徽章:
69
林肯
日期:2013-11-27 16:16:31ITPUB十周年纪念徽章
日期:2011-11-01 16:21:15本田
日期:2013-09-23 12:45:07宝马
日期:2013-11-29 16:29:42奥运会纪念徽章:足球
日期:2012-08-06 16:26:57蜘蛛蛋
日期:2012-03-02 12:32:08ITPUB 11周年纪念徽章
日期:2012-10-09 18:06:202013年新春福章
日期:2013-02-25 14:51:24复活蛋
日期:2013-06-18 12:44:352012新春纪念徽章
日期:2012-01-04 11:51:22
25#
发表于 2009-1-13 14:20 | 只看该作者
佩服

使用道具 举报

回复
论坛徽章:
69
林肯
日期:2013-11-27 16:16:31ITPUB十周年纪念徽章
日期:2011-11-01 16:21:15本田
日期:2013-09-23 12:45:07宝马
日期:2013-11-29 16:29:42奥运会纪念徽章:足球
日期:2012-08-06 16:26:57蜘蛛蛋
日期:2012-03-02 12:32:08ITPUB 11周年纪念徽章
日期:2012-10-09 18:06:202013年新春福章
日期:2013-02-25 14:51:24复活蛋
日期:2013-06-18 12:44:352012新春纪念徽章
日期:2012-01-04 11:51:22
26#
发表于 2009-1-13 15:20 | 只看该作者
对了有个问题,我dump出来的文件 1.6G ,用什么打开阿

使用道具 举报

回复
论坛徽章:
69
林肯
日期:2013-11-27 16:16:31ITPUB十周年纪念徽章
日期:2011-11-01 16:21:15本田
日期:2013-09-23 12:45:07宝马
日期:2013-11-29 16:29:42奥运会纪念徽章:足球
日期:2012-08-06 16:26:57蜘蛛蛋
日期:2012-03-02 12:32:08ITPUB 11周年纪念徽章
日期:2012-10-09 18:06:202013年新春福章
日期:2013-02-25 14:51:24复活蛋
日期:2013-06-18 12:44:352012新春纪念徽章
日期:2012-01-04 11:51:22
27#
发表于 2009-1-14 11:48 | 只看该作者
或者说 在vi打不开 的情况下 如何在1.6g 这么大文件中找到我要的信息

使用道具 举报

回复
招聘 : c/c++研发
论坛徽章:
45
技术图书徽章
日期:2014-03-10 14:09:192012新春纪念徽章
日期:2012-02-13 15:12:092012新春纪念徽章
日期:2012-02-13 15:12:092012新春纪念徽章
日期:2012-01-04 11:51:22ITPUB十周年纪念徽章
日期:2011-11-01 16:21:15现任管理团队成员
日期:2011-05-07 01:45:082011新春纪念徽章
日期:2011-01-25 15:42:562011新春纪念徽章
日期:2011-01-25 15:42:332011新春纪念徽章
日期:2011-01-25 15:42:152011新春纪念徽章
日期:2011-01-25 15:41:50
28#
 楼主| 发表于 2009-1-14 11:51 | 只看该作者
what dump file are you talking about?
db2 dump file?
or core dump?

使用道具 举报

回复
论坛徽章:
69
林肯
日期:2013-11-27 16:16:31ITPUB十周年纪念徽章
日期:2011-11-01 16:21:15本田
日期:2013-09-23 12:45:07宝马
日期:2013-11-29 16:29:42奥运会纪念徽章:足球
日期:2012-08-06 16:26:57蜘蛛蛋
日期:2012-03-02 12:32:08ITPUB 11周年纪念徽章
日期:2012-10-09 18:06:202013年新春福章
日期:2013-02-25 14:51:24复活蛋
日期:2013-06-18 12:44:352012新春纪念徽章
日期:2012-01-04 11:51:22
29#
发表于 2009-1-14 13:11 | 只看该作者
db2trc flw生成的文件

使用道具 举报

回复
招聘 : c/c++研发
论坛徽章:
45
技术图书徽章
日期:2014-03-10 14:09:192012新春纪念徽章
日期:2012-02-13 15:12:092012新春纪念徽章
日期:2012-02-13 15:12:092012新春纪念徽章
日期:2012-01-04 11:51:22ITPUB十周年纪念徽章
日期:2011-11-01 16:21:15现任管理团队成员
日期:2011-05-07 01:45:082011新春纪念徽章
日期:2011-01-25 15:42:562011新春纪念徽章
日期:2011-01-25 15:42:332011新春纪念徽章
日期:2011-01-25 15:42:152011新春纪念徽章
日期:2011-01-25 15:41:50
30#
 楼主| 发表于 2009-1-14 19:24 | 只看该作者
then it's some question like "how can i resolve my problem"
it's not an easy question that you can follow a rule then get what you want

usually you have to know what exactly you are looking for, for example you can start with the timestamp information from fmt file. You got the timestamp from db2diag.log for the error message (if there is) and start from there
or you know the function name that caused problem (usually may not good for you if you didn't work on hundreds of cases)
the bottomline is, you have to have some idea how to start the investigation (what do you want to know from the trace). It doesn't help any if you just collect data and don't know what need to do next, the plan should be already in your head before collecting the data....

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表