免费注册 查看新帖 |

Chinaunix

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

求助:初装informix10 , oninit遇到的问题。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-09-19 11:37 |只看该作者 |倒序浏览
TEST7:/usr/informix>>oninit -v
Checking group membership to determine server run mode...succeeded
Reading configuration file '/usr/informix/etc/onconfig.icionline'...succeeded
Creating /INFORMIXTMP/.infxdirs...succeeded
Creating infos file "/usr/informix/etc/.infos.ibe"...succeeded
Linking conf file "/usr/informix/etc/.conf.ibe"...succeeded
Writing to infos file...succeeded
Checking config parameters...succeeded
WARNING : If you intend to use J/Foundation or GLS for Unicode feature(GLU) with
this Server instance, please make sure that your SHMBASE value specifies in onc
onfig is 0x700000010000000 or above. Otherwise you will have problems while atta
ching or dynamically adding virtual shared memory segments. Please refer to Serv
er machine notes for more information.
Allocating and attaching to shared memory...succeeded
Creating resident pool 28936 kbytes...succeeded
Allocating 337296 kbytes for buffer pool of 4K page size...succeeded
Initializing rhead structure...succeeded
Initializing ASF...succeeded
Initializing Dictionary Cache and SPL Routine Cache...succeeded
Bringing up ADM VP...succeeded
Creating VP classes...succeeded
Onlining 3 additional cpu vps...succeeded
Onlining 4 IO vps...succeeded
Initialization of Encryption...succeeded
Forking main_loop thread...succeeded
Initializing DR structures...succeeded
Forking 2 'ipcshm' listener threads...succeeded
Forking 1 'soctcp' listener threads...succeeded
Starting tracing...succeeded
Initializing 10 flushers...succeeded
oninit: Cannot open chunk '/usr/informix/disk/bchunkroot'. errno = 2
oninit: Fatal error in shared memory initialization


==================================================
TEST7:/usr/informix>>vi online.log
11:25:18  IBM Informix Dynamic Server Version 10.00.FC8     Software Serial Numb
er AAA#B000000
11:25:18  Assert Warning: chunk failed sanity check
11:25:18  IBM Informix Dynamic Server Version 10.00.FC8
11:25:18   Who: Session(1, [email=informix@P520A]informix@P520A[/email], 0, 70000002038202
Thread(9, main_loop(), 700000020347028, 3)
File: rspartn.c Line: 8747
11:25:18   Results: Chunk 1 is being taken OFFLINE.
11:25:18   Action: For all spaces other than temporary dbspaces, restore the spa
ce
containing the chunk from the archive. If this chunk belongs to a
temporary dbspace and if it is not the only chunk in that dbspace,
           then drop and re-create the chunk. Otherwise drop and re-create
           the temporary dbspace.
11:25:18  stack trace for pid 303266 written to /tmp/af.3f10d8e
11:25:18   See Also: /tmp/af.3f10d8e
11:25:18  chunk failed sanity check
11:25:19  I/O error, Primary Chunk '/usr/informix/disk/bchunkroot' -- Offline (s
anity)

11:25:19  IBM Informix Dynamic Server Stopped.
11:25:19  mt_shm_remove: WARNING: may not have removed all/correct segments

===============================================
TEST7:/usr/informix/disk>>ls -l
total 16
drwxr-sr-x   2 informix informix        512 Sep 18 11:04 ./
drwxr-sr-x  31 informix informix       1024 Sep 18 11:20 ../
lrwxrwxrwx   1 informix informix         17 Sep 18 11:04 bchunkdata@ -> /dev/rlvdatachunk
lrwxrwxrwx   1 informix informix         17 Sep 18 11:04 bchunkllog@ -> /dev/rlvllogchunk
lrwxrwxrwx   1 informix informix         17 Sep 18 11:04 bchunkplog@ -> /dev/rlvplogchunk
lrwxrwxrwx   1 informix informix         17 Sep 18 11:04 bchunkroot@ -> /dev/rlvrootchunk
lrwxrwxrwx   1 informix informix         16 Sep 18 11:04 bchunktmp@ -> /dev/rlvtmpchunk

===============================================
TEST7:/dev>>ls -l *chunk*
brw-rw----   1 root     system       10, 37 Sep 17 23:10 lvdatachunk
brw-rw----   1 root     system       10, 36 Sep 17 23:10 lvllogchunk
brw-rw----   1 root     system       10, 35 Sep 17 23:10 lvplogchunk
brw-rw----   1 root     system       10, 34 Sep 17 23:09 lvrootchunk
brw-rw----   1 root     system       10, 38 Sep 17 23:11 lvtmpchunk
crw-rw----   1 root     system       10, 37 Sep 17 23:10 rlvdatachunk
crw-rw----   1 root     system       10, 36 Sep 17 23:10 rlvllogchunk
crw-rw----   1 root     system       10, 35 Sep 17 23:10 rlvplogchunk
crw-rw----   1 root     system       10, 34 Sep 17 23:09 rlvrootchunk
crw-rw----   1 root     system       10, 38 Sep 17 23:11 rlvtmpchunk

===================================================
拜托诸位大侠帮忙看一下,这是怎么回事,oninit 就是起不来。
是第一次安装。

论坛徽章:
0
2 [报告]
发表于 2008-09-19 11:40 |只看该作者
按照惯例,自己顶一下。诸位帮忙看看,多谢啦!

论坛徽章:
0
3 [报告]
发表于 2008-09-19 11:46 |只看该作者
TEST7:/dev>>ls -l *chunk*
brw-rw----   1 root     system       10, 37 Sep 17 23:10 lvdatachunk
brw-rw----   1 root     system       10, 36 Sep 17 23:10 lvllogchunk
brw-rw----   1 root     system       10, 35 Sep 17 23:10 lvplogchunk
brw-rw----   1 root     system       10, 34 Sep 17 23:09 lvrootchunk
brw-rw----   1 root     system       10, 38 Sep 17 23:11 lvtmpchunk
crw-rw----   1 root     system       10, 37 Sep 17 23:10 rlvdatachunk
crw-rw----   1 root     system       10, 36 Sep 17 23:10 rlvllogchunk
crw-rw----   1 root     system       10, 35 Sep 17 23:10 rlvplogchunk
crw-rw----   1 root     system       10, 34 Sep 17 23:09 rlvrootchunk
crw-rw----   1 root     system       10, 38 Sep 17 23:11 rlvtmpchunk


为啥不把这些设备chown给informix呢?

嗯。或者你确认一下
ls -l ~informix/bin/oninit
权限位是不是有个s,属主是不是root
这个是必须的。
用oninit来启动数据库,必须有root权限。

论坛徽章:
0
4 [报告]
发表于 2008-09-19 11:51 |只看该作者
原帖由 ivhb 于 2008-9-19 11:46 发表
crw-rw----   1 root     system       10, 34 Sep 17 23:09 rlvrootchunk
crw-rw----   1 root     system       10, 38 Sep 17 23:11 rlvtmpchunk


为啥不把这些设备chown给informix呢?


我曾chown给informix了,还是不行,所以又改了回来。
原帖由 ivhb 于 2008-9-19 11:46 发表
嗯。或者你确认一下
ls -l ~informix/bin/oninit
权限位是不是有个s,属主是不是root
这个是必须的。
用oninit来启动数据库,必须有root权限。


TEST7:/usr/informix/bin>>ls -l oninit
-rwsr-sr--   1 root     informix   22334177 Sep 17 21:50 oninit*

论坛徽章:
11
金牛座
日期:2015-03-19 16:56:22数据库技术版块每日发帖之星
日期:2016-08-02 06:20:00数据库技术版块每日发帖之星
日期:2016-04-24 06:20:00数据库技术版块每日发帖之星
日期:2016-04-13 06:20:00IT运维版块每日发帖之星
日期:2016-04-13 06:20:00数据库技术版块每日发帖之星
日期:2016-02-03 06:20:00数据库技术版块每日发帖之星
日期:2015-08-06 06:20:00季节之章:春
日期:2015-03-27 15:54:57羊年新春福章
日期:2015-03-27 15:54:37戌狗
日期:2015-03-19 16:56:41数据库技术版块每日发帖之星
日期:2016-08-18 06:20:00
5 [报告]
发表于 2008-09-19 12:39 |只看该作者
初装?~??未初始化?~?

论坛徽章:
0
6 [报告]
发表于 2008-09-19 13:10 |只看该作者
原帖由 liaosnet 于 2008-9-19 12:39 发表
初装?~??未初始化?~?

有初始化。在onmonitor初始化的。

---
刚又oninit -ivy 提示失败。

论坛徽章:
11
金牛座
日期:2015-03-19 16:56:22数据库技术版块每日发帖之星
日期:2016-08-02 06:20:00数据库技术版块每日发帖之星
日期:2016-04-24 06:20:00数据库技术版块每日发帖之星
日期:2016-04-13 06:20:00IT运维版块每日发帖之星
日期:2016-04-13 06:20:00数据库技术版块每日发帖之星
日期:2016-02-03 06:20:00数据库技术版块每日发帖之星
日期:2015-08-06 06:20:00季节之章:春
日期:2015-03-27 15:54:57羊年新春福章
日期:2015-03-27 15:54:37戌狗
日期:2015-03-19 16:56:41数据库技术版块每日发帖之星
日期:2016-08-18 06:20:00
7 [报告]
发表于 2008-09-19 13:27 |只看该作者
把日志完全打个包用附件传上来看看~~

论坛徽章:
0
8 [报告]
发表于 2008-09-19 15:00 |只看该作者
感觉像配置文件有问题

论坛徽章:
0
9 [报告]
发表于 2008-09-19 15:02 |只看该作者
或者重新初始化看一下

论坛徽章:
0
10 [报告]
发表于 2008-09-21 10:50 |只看该作者
重新初始化了一下, 可以了。
多谢诸位啦!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP