gxlionking 发表于 2009-04-18 15:06

sybase启动出现以下错误,不能连接,求高手解答

00:2009/04/18 14:29:38.17 kernelMax fd 8192 exceeds internal limit of 1024
00:2009/04/18 14:29:38.17 kernelUsing config area from primary master device.
00:2009/04/18 14:29:38.17 kernelWarning: Using default file '/home/sybase/SYBASE.cfg' since a configuration file was not specified. Specify a configuration file name in the RUNSERVER file to avoid this message.
00:2009/04/18 14:29:38.17 kernelos_find_good_keyfile: Found shared memory segment: key 0xe802874a, id 65536
00:2009/04/18 14:29:38.17 kernelos_find_good_keyfile: If SQL Server using it is not running, remove it by hand
00:2009/04/18 14:29:38.17 kernelos_find_good_keyfile: Trying a different key
00:2009/04/18 14:29:38.17 kernelos_create_region: shmat(163842): Invalid argument
00:2009/04/18 14:29:38.17 kernelkbcreate: couldn't create kernel region.
00:2009/04/18 14:29:38.17 kernelkistartup: could not create shared memory
00:2009/04/18 14:48:49.02 kernelMax fd 8192 exceeds internal limit of 1024
00:2009/04/18 14:48:49.02 kernelUsing config area from primary master device.
00:2009/04/18 14:48:49.02 kernelWarning: Using default file '/home/sybase/SYBASE.cfg' since a configuration file was not specified. Specify a configuration file name in the RUNSERVER file to avoid this message.
00:2009/04/18 14:48:49.02 kernelos_create_keyfile: Removed old segment /home/sybase/SYBASE.krg
00:2009/04/18 14:48:49.03 kernelos_create_region: shmat(1015810): Invalid argument
00:2009/04/18 14:48:49.03 kernelkbcreate: couldn't create kernel region.
00:2009/04/18 14:48:49.03 kernelkistartup: could not create shared memory


操作系统是suse10.1,sybase版本是11.0.3.3

[ 本帖最后由 gxlionking 于 2009-4-20 11:24 编辑 ]

WFCJZ 发表于 2009-04-18 19:00

你是否改了memory,先试着将/home/sybase/SYBASE.cfg这个文件备份出去,然后做删除,看能否启动,如果不行,可以考虑你之前是否改过什么,将SYBASE.BAK这个文件改成SYBASE.CFG试试.

snow888 发表于 2009-04-19 22:45

这个好象是数据库 服务根本就没有起来。

出现此类问题的原因很多,要具体问题具体分析。

chuxu 发表于 2009-04-20 08:40

00:2009/04/18 14:48:49.03 kernelos_create_region: shmat(1015810): Invalid argument
00:2009/04/18 14:48:49.03 kernelkbcreate: couldn't create kernel region.
00:2009/04/18 14:48:49.03 kernelkistartup: could not create shared memory

OS的SHMMAX参数调整了吗?

gxlionking 发表于 2009-04-20 11:19

原帖由 WFCJZ 于 2009-4-18 19:00 发表 http://bbs.chinaunix.net/images/common/back.gif
你是否改了memory,先试着将/home/sybase/SYBASE.cfg这个文件备份出去,然后做删除,看能否启动,如果不行,可以考虑你之前是否改过什么,将SYBASE.BAK这个文件改成SYBASE.CFG试试.
没改过,用备份的没用,还是一样

gxlionking 发表于 2009-04-20 11:20

原帖由 chuxu 于 2009-4-20 08:40 发表 http://bbs.chinaunix.net/images/common/back.gif
OS的SHMMAX参数调整了吗?
shmmax默认为1887436800

[ 本帖最后由 gxlionking 于 2009-4-20 11:26 编辑 ]

gxlionking 发表于 2009-04-20 11:22

ipcs

chuxu 发表于 2009-04-20 15:20

重启一下机器试试

WFCJZ 发表于 2009-04-20 17:44

最好想一下之前针对数据库做过什么配置改动没!

snow888 发表于 2009-04-21 00:17

原帖由 gxlionking 于 2009-4-20 11:20 发表 http://bbs3.chinaunix.net/images/common/back.gif

shmmax默认为1887436800


这个值的大小应该是物理内存的 0.75 。
页: [1] 2
查看完整版本: sybase启动出现以下错误,不能连接,求高手解答