免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 9816 | 回复: 3

sybase启动问题 [复制链接]

论坛徽章:
0
发表于 2014-01-21 13:33 |显示全部楼层
大家好,sybase装好后,无法启动,问题是这样的:

00:2014/01/14 21:53:26.46 kernel  Using config area from primary master device.
00:2014/01/14 21:53:26.46 kernel  Warning: Using default file '/home/sybase/SYBA                                                                                                                                                             SE.cfg' since a configuration file was not specified. Specify a configuration fi                                                                                                                                                             le name in the RUNSERVER file to avoid this message.
00:2014/01/14 21:53:26.46 kernel  os_find_good_keyfile: Found shared memory segm                                                                                                                                                             ent: key 0xe803001d, id 32768
00:2014/01/14 21:53:26.46 kernel  os_find_good_keyfile: If SQL Server using it i                                                                                                                                                             s not running, remove it by hand
00:2014/01/14 21:53:26.46 kernel  os_find_good_keyfile: Trying a different key
00:2014/01/14 21:53:26.46 kernel  os_create_region: shmat(8192001): Invalid argu                                                                                                                                                             ment
00:2014/01/14 21:53:26.47 kernel  kbcreate: couldn't create kernel region.
00:2014/01/14 21:53:26.47 kernel  kistartup: could not create shared memory
/home/sybase/install/RUN_SYBASE: line 11:  3351 Segmentation fault      /home/sy                                                                                                                                                             base/bin/dataserver -d/home/sybase/data/master.dat -sSYBASE -e/home/sybase/insta                                                                                                                                                             ll/errorlog -i/home/sybase

请问一下,问题出在哪里呢?
另外,改共享内存改不了,重启就恢复了,不知道是怎么回事
用的是虚拟机,suse10.1

论坛徽章:
3
金牛座
日期:2014-03-27 09:49:51双鱼座
日期:2014-04-02 08:34:15戌狗
日期:2015-01-21 15:39:12
发表于 2014-01-21 15:17 |显示全部楼层
是你的共享内存没有设置,google 一下linux下安装SYBASE的东东工,有怎么设置的说明

论坛徽章:
0
发表于 2014-01-21 16:58 |显示全部楼层
非常感谢,不过按搜索的方法,设置好共享内重启后就恢复了,设置不了,也不知道是什么原因

论坛徽章:
3
金牛座
日期:2014-03-27 09:49:51双鱼座
日期:2014-04-02 08:34:15戌狗
日期:2015-01-21 15:39:12
发表于 2014-01-21 17:52 |显示全部楼层
若要避免每次重新启动后必须进行此更改
修改/etc/sysctl.conf文件,会后一行加入kernel.shmmax=128*1024*1024(128M)内存数(以字节为单位).
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP