查看: 16370|回复: 50

安装 DPF 遇到的问题?(问题不断更新中)

[复制链接]
论坛徽章:
42
ITPUB元老
日期:2005-09-09 13:45:35马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有车
日期:2014-02-19 11:55:14优秀写手
日期:2013-12-18 09:29:09ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:32版主3段
日期:2012-05-15 15:24:112012新春纪念徽章
日期:2012-02-13 15:13:362012新春纪念徽章
日期:2012-02-13 15:13:36
跳转到指定楼层
1#
发表于 2007-12-5 12:22 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
安装完了 DPF , 执行  对比 db2_all 没问题

[db2inst1@DPF1 ~]$ db2_all date

connect to address 172.16.11.111: Connection refused
Trying krb4 rsh...
connect to address 172.16.11.111: Connection refused
trying normal rsh (/usr/bin/rsh)
Wed Dec  5 11:28:20 CST 2007
DPF1: date completed ok

connect to address 172.16.11.111: Connection refused
Trying krb4 rsh...
connect to address 172.16.11.111: Connection refused
trying normal rsh (/usr/bin/rsh)
Wed Dec  5 11:28:23 CST 2007
DPF1: date completed ok

connect to address 172.16.11.112: Connection refused
Trying krb4 rsh...
connect to address 172.16.11.112: Connection refused
trying normal rsh (/usr/bin/rsh)
Wed Dec  5 11:23:17 CST 2007
DPF2: date completed ok

connect to address 172.16.11.112: Connection refused
Trying krb4 rsh...
connect to address 172.16.11.112: Connection refused
trying normal rsh (/usr/bin/rsh)
Wed Dec  5 11:23:20 CST 2007
DPF2: date completed ok

但是 在 DPF1 上执行 db2stop 、db2start 、db2 create 分别是下面的结果

[db2inst1@DPF1 ~]$ db2stop
12/05/2007 11:29:02     2   0   SQL6036N  START or STOP DATABASE MANAGER command is already in progress.
12/05/2007 11:29:02     3   0   SQL6036N  START or STOP DATABASE MANAGER command is already in progress.
12/05/2007 11:29:06     0   0   SQL1032N  No start database manager command was issued.
12/05/2007 11:29:06     1   0   SQL1032N  No start database manager command was issued.
12/05/2007 11:29:06     2   0   SQL6036N  START or STOP DATABASE MANAGER command is already in progress.
12/05/2007 11:29:07     3   0   SQL6036N  START or STOP DATABASE MANAGER command is already in progress.
SQL6033W  Stop command processing was attempted on "4" node(s).  "0" node(s) were successfully stopped.  "2" node(s) were already stopped.  "2" node(s) could not be stopped.

[db2inst1@DPF1 ~]$ db2start
12/05/2007 11:29:16     2   0   SQL6036N  START or STOP DATABASE MANAGER command is already in progress.
12/05/2007 11:29:16     3   0   SQL6036N  START or STOP DATABASE MANAGER command is already in progress.
12/05/2007 11:29:18     1   0   SQL1063N  DB2START processing was successful.
12/05/2007 11:29:18     0   0   SQL1063N  DB2START processing was successful.
SQL6032W  Start command processing was attempted on "4" node(s).  "2" node(s) were successfully started.  "0" node(s) were already started.  "2" node(s) could not be started.

[db2inst1@DPF1 ~]$ db2 create db test
SQL1229N  The current transaction has been rolled back because of a system
error.  SQLSTATE=40504

而在另外一个节点 DPF2 上执行 db2start 和 db2stop 都报 File I/O error
[db2inst1@DPF2 ~]$ db2start
SQL1652N  File I/O error occurred.
[db2inst1@DPF2 ~]$ db2stop
SQL1652N  File I/O error occurred.

是不是哪里没设置好呢?

[ 本帖最后由 macrozeng 于 2007-12-7 17:04 编辑 ]
论坛徽章:
42
ITPUB元老
日期:2005-09-09 13:45:35马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有车
日期:2014-02-19 11:55:14优秀写手
日期:2013-12-18 09:29:09ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:32版主3段
日期:2012-05-15 15:24:112012新春纪念徽章
日期:2012-02-13 15:13:362012新春纪念徽章
日期:2012-02-13 15:13:36
2#
 楼主| 发表于 2007-12-5 12:24 | 只看该作者
说下环境
VM 上的 RHEL4U5 下的 V9.1

[root@DPF1 ~]# cat  /db2home/db2inst1/sqllib/db2nodes.cfg
0 DPF1 0 172.16.11.111
1 DPF1 1 172.16.11.111
2 DPF2 0 172.16.11.112
3 DPF2 1 172.16.11.112
[root@DPF1 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
172.16.11.111   DPF1
172.16.11.112   DPF2

使用道具 举报

回复
论坛徽章:
42
ITPUB元老
日期:2005-09-09 13:45:35马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有车
日期:2014-02-19 11:55:14优秀写手
日期:2013-12-18 09:29:09ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:32版主3段
日期:2012-05-15 15:24:112012新春纪念徽章
日期:2012-02-13 15:13:362012新春纪念徽章
日期:2012-02-13 15:13:36
3#
 楼主| 发表于 2007-12-5 12:33 | 只看该作者
安装参考的文档是

http://www.ibm.com/developerwork ... es/dm-0504mcarthur/

[ 本帖最后由 macrozeng 于 2007-12-5 13:23 编辑 ]

使用道具 举报

回复
论坛徽章:
42
ITPUB元老
日期:2005-09-09 13:45:35马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有车
日期:2014-02-19 11:55:14优秀写手
日期:2013-12-18 09:29:09ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:32版主3段
日期:2012-05-15 15:24:112012新春纪念徽章
日期:2012-02-13 15:13:362012新春纪念徽章
日期:2012-02-13 15:13:36
4#
 楼主| 发表于 2007-12-5 12:55 | 只看该作者
刚刚又用 db2stop force 测试了一下,发现错误信息不同

[db2inst1@DPF1 ~]$ db2stop
12/05/2007 11:39:03     2   0   SQL6036N  START or STOP DATABASE MANAGER command is already in progress.
12/05/2007 11:39:03     3   0   SQL6036N  START or STOP DATABASE MANAGER command is already in progress.
12/05/2007 11:39:07     0   0   SQL1064N  DB2STOP processing was successful.
12/05/2007 11:39:08     2   0   SQL6036N  START or STOP DATABASE MANAGER command is already in progress.
12/05/2007 11:39:08     3   0   SQL6036N  START or STOP DATABASE MANAGER command is already in progress.
12/05/2007 11:39:08     1   0   SQL1064N  DB2STOP processing was successful.
SQL6033W  Stop command processing was attempted on "4" node(s).  "2" node(s) were successfully stopped.  "0" node(s) were already stopped.  "2" node(s) could not be stopped.


[db2inst1@DPF1 ~]$ db2stop force
12/05/2007 11:39:15     2   0   SQL6036N  START or STOP DATABASE MANAGER command is already in progress.
12/05/2007 11:39:15     3   0   SQL6036N  START or STOP DATABASE MANAGER command is already in progress.
12/05/2007 11:39:19     2   0   SQL1652N  File I/O error occurred.
12/05/2007 11:39:20     3   0   SQL1652N  File I/O error occurred.
12/05/2007 11:39:23     0   0   SQL1032N  No start database manager command was issued.
12/05/2007 11:39:24     1   0   SQL1032N  No start database manager command was issued.
12/05/2007 11:39:24     2   0   SQL1652N  File I/O error occurred.
12/05/2007 11:39:24     3   0   SQL1652N  File I/O error occurred.
SQL6033W  Stop command processing was attempted on "4" node(s).  "0" node(s) were successfully stopped.  "2" node(s) were already stopped.  "2" node(s) could not be stopped.

使用道具 举报

回复
招聘 : 数据库管理员
论坛徽章:
1
2010系统架构师大会纪念
日期:2010-09-03 16:39:57
5#
发表于 2007-12-5 13:03 | 只看该作者
你从112上访问 /db2home/db2inst1正常?
看现象应该是112不能正常访问/db2home/db2inst1

由于你是两台机器 /db2home/db2inst1按照官方推荐要放到NFS上

[ 本帖最后由 我笨故我在 于 2007-12-5 13:17 编辑 ]

使用道具 举报

回复
论坛徽章:
1
授权会员
日期:2005-10-30 17:05:33
6#
发表于 2007-12-5 13:17 | 只看该作者
不放置在nfs上可以搭建,文件IO错误?两边的用户id一样吗?

使用道具 举报

回复
论坛徽章:
42
ITPUB元老
日期:2005-09-09 13:45:35马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有车
日期:2014-02-19 11:55:14优秀写手
日期:2013-12-18 09:29:09ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:32版主3段
日期:2012-05-15 15:24:112012新春纪念徽章
日期:2012-02-13 15:13:362012新春纪念徽章
日期:2012-02-13 15:13:36
7#
 楼主| 发表于 2007-12-5 13:20 | 只看该作者
原帖由 我笨故我在 于 2007-12-5 13:03 发表
你从112上访问 /db2home/db2inst1正常?
看现象应该是112不能正常访问/db2home/db2inst1

由于你是两台机器 /db2home/db2inst1按照官方推荐要放到NFS上


我在 112 上访问 /db2home/db2inst1 正常,也是放在 NFS 上的

使用道具 举报

回复
论坛徽章:
42
ITPUB元老
日期:2005-09-09 13:45:35马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有车
日期:2014-02-19 11:55:14优秀写手
日期:2013-12-18 09:29:09ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:32版主3段
日期:2012-05-15 15:24:112012新春纪念徽章
日期:2012-02-13 15:13:362012新春纪念徽章
日期:2012-02-13 15:13:36
8#
 楼主| 发表于 2007-12-5 13:21 | 只看该作者
原帖由 vlife 于 2007-12-5 13:17 发表
不放置在nfs上可以搭建,文件IO错误?两边的用户id一样吗?


id 和密码都是一样的

使用道具 举报

回复
论坛徽章:
42
ITPUB元老
日期:2005-09-09 13:45:35马上有对象
日期:2014-02-19 11:55:14马上有钱
日期:2014-02-19 11:55:14马上有房
日期:2014-02-19 11:55:14马上有车
日期:2014-02-19 11:55:14优秀写手
日期:2013-12-18 09:29:09ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:32版主3段
日期:2012-05-15 15:24:112012新春纪念徽章
日期:2012-02-13 15:13:362012新春纪念徽章
日期:2012-02-13 15:13:36
9#
 楼主| 发表于 2007-12-5 13:28 | 只看该作者
[db2inst1@DPF1 ~]$ more /etc/exports
#
/db2home DPF1 (rw,sync,no_root_squash) DPF2 (rw,sync,no_root_squash)

使用道具 举报

回复
论坛徽章:
233
天枰座
日期:2016-02-02 09:36:332012新春纪念徽章
日期:2012-01-04 11:49:54ITPUB十周年纪念徽章
日期:2011-11-01 16:19:41灰彻蛋
日期:2011-06-22 19:28:30现任管理团队成员
日期:2011-05-07 01:45:082010广州亚运会纪念徽章:拳击
日期:2011-04-08 16:56:552011新春纪念徽章
日期:2011-02-18 11:43:332011新春纪念徽章
日期:2011-01-25 15:42:562011新春纪念徽章
日期:2011-01-25 15:42:332011新春纪念徽章
日期:2011-01-25 15:42:15
10#
发表于 2007-12-5 13:29 | 只看该作者
check .rhosts

?

使用道具 举报

回复

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

本版积分规则 发表回复

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