免费注册 查看新帖 |

Chinaunix

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

疑难问题,各位来看看 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-08-27 23:09 |只看该作者 |倒序浏览
onmonitor  看到Off-Line

[root@ss840 ~]# onstat -
Incorrectly built binary which accesses errno or h_errno directly. Needs to be f
ixed.
shared memory not initialized for INFORMIXSERVER 'db840'

[root@ss840 ~]# oninit -v
Checking group membership to determine server run modesucceeded
Reading configuration file '/opt/informix/etc/onconfig'...succeeded
Creating /INFORMIXTMP/.infxdirs ... succeeded
Creating infos file "/opt/informix/etc/.infos.'db840'" ... FAILED
Writing to infos file ... FAILED
Checking config parameters...succeeded
Allocating and attaching to shared memory...FAILED
oninit: Fatal error in shared memory creation



dbaccess 却能看到库,能查出数据,外部程序查数据库也很正常。

论坛徽章:
0
2 [报告]
发表于 2011-08-27 23:15 |只看该作者
onling.log

22:11:43  Fuzzy Checkpoint Completed:  duration was 0 seconds, 486 buffers not f
lushed.
22:11:43  Checkpoint loguniq 5191, logpos 0x206d788

22:11:43  Maximum server connections 803
22:33:56  Informix Dynamic Server Started.
22:33:56  shmget: [EEXIST][17]: key 52564801: shared memory already exists
22:33:56  mt_shm_init: can't create resident segment

论坛徽章:
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
3 [报告]
发表于 2011-08-28 01:20 |只看该作者
因为数据库已经正在运行了~
只是没使用你这个指定的服务名。。
使用onstat -g dis 查看当前服务器所有的实例~

论坛徽章:
0
4 [报告]
发表于 2011-08-28 17:31 |只看该作者
果然是有两个不同的服务名!!
可我看onconfig和sqlhosts都是相同的文件呢,怎么会有两个的呢??
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP