免费注册 查看新帖 |

Chinaunix

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

$servername.krg是干什么用的? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-09-27 09:32 |只看该作者 |倒序浏览
sybase启动的时候,有时报如下错误:
00:00000:00000:2006/09/08 17:05:44.94 kernel  Using config area from primary master device.
00:00000:00000:2006/09/08 17:05:44.99 kernel  os_create_keyfile: Shared memory segment /opt/sybase-12.5/ASE/$servername.krg is in use. Check if SQL Server is already running. If NOT remove old .srg/.krg files & restart.
00:00000:00000:2006/09/08 17:05:44.99 kernel  kbcreate: couldn't get shmid for kernel region.
00:00000:00000:2006/09/08 17:05:44.99 kernel  kistartup: could not create shared memory
偶然出现的现象,下次重启就没有了。那位大侠能详细讲解一下吗?
客户非要刨根问底啊,我这点水平罩不住了。

论坛徽章:
4
2015年亚洲杯之阿联酋
日期:2015-03-10 10:32:022015年亚洲杯之阿曼
日期:2015-03-10 14:53:222015亚冠之水原三星
日期:2015-07-18 15:40:262015亚冠之塔什干棉农
日期:2015-07-27 20:52:05
2 [报告]
发表于 2006-09-27 10:19 |只看该作者
use to store shmid

论坛徽章:
0
3 [报告]
发表于 2006-09-27 12:37 |只看该作者
查到sybase启动之后会产生这个文件,正常关闭sybase服务会删除此文件。使用kill命令的话就留下这个文件。
但是平常都是用kill干掉sybase进程的,再启动也没有遇到过类似问题,只有这次在用户那里,系统掉电,非正常关机之后,系统启动时,数据库启动就不行了。重启系统之后好了,但用户非要刨根问底,郁闷死!

论坛徽章:
4
2015年亚洲杯之阿联酋
日期:2015-03-10 10:32:022015年亚洲杯之阿曼
日期:2015-03-10 14:53:222015亚冠之水原三星
日期:2015-07-18 15:40:262015亚冠之塔什干棉农
日期:2015-07-27 20:52:05
4 [报告]
发表于 2006-09-27 13:13 |只看该作者
return you ASE version and OS version if possible.

论坛徽章:
0
5 [报告]
发表于 2006-09-27 18:08 |只看该作者
Linux ES3 update6
Sybase 12.5.0.1

论坛徽章:
0
6 [报告]
发表于 2006-09-28 01:18 |只看该作者
The .krg file is the ASE shared memory file that ASE creates upon startup. This needs to be newly created upon each restart.

With a graceful shutdown, ASE deletes the .krg file and then is able to recreate it upon restarting. With an ungraceful shutdown, ASE is often not able to clean out the files it would with a normal shutdown, which often results in the .krg file not being deleted.

Shutdown with nowait or power outage is the most common cause of the .krg file being left behind.

论坛徽章:
0
7 [报告]
发表于 2006-09-28 22:55 |只看该作者
了解了,感谢1017of和2BeSybPro两位兄弟热心帮忙!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP