今天早上,生产sybase数据库突然down.我使用[root@d1 install]# ./startserver -f run_mcsdb都无法让其他启动而且还报了下面的错误
今天早上,生产sybase数据库突然down.
我使用[root@d1 install]# ./startserver -f run_mcsdb都无法让其他启动
而且还报了下面的错误
[root@d1 install]# incorrectly built binary which accesses errno or h_errno directly. needs to be fixed.
00:00000:00000:2008/05/07 10:27:41.67 kernel use license file /opt/sybase-12.5/sysam-1_0/licenses/license.dat.
00:00000:00000:2008/05/07 10:27:41.67 kernel checked out license ase_server
00:00000:00000:2008/05/07 10:27:41.67 kernel adaptive server enterprise edition
00:00000:00000:2008/05/07 10:27:41.68 kernel using config area from primary master device.
00:00000:00000:2008/05/07 10:27:41.69 kernel internal run-time model set for linux - native
00:00000:00000:2008/05/07 10:27:41.69 kernel using 1024 file descriptors.
00:00000:00000:2008/05/07 10:27:41.69 kernel adaptive server enterprise/12.5.0.3/ebf 11450 esd#4/p/linux intel/linux 2.4.18-18.7.xsmp i686/rel12503/1940/32-bit/opt/sun sep 21 03:10:00 2003
00:00000:00000:2008/05/07 10:27:41.69 kernel confidential property of sybase, inc.
00:00000:00000:2008/05/07 10:27:41.69 kernel copyright 1987, 2003
00:00000:00000:2008/05/07 10:27:41.69 kernel sybase, inc. all rights reserved.
00:00000:00000:2008/05/07 10:27:41.69 kernel unpublished rights reserved under u.s. copyright laws.
00:00000:00000:2008/05/07 10:27:41.69 kernel
00:00000:00000:2008/05/07 10:27:41.69 kernel this software contains confidential and trade secret information of sybase,
00:00000:00000:2008/05/07 10:27:41.69 kernel inc. use, duplication or disclosure of the software and documentation by
00:00000:00000:2008/05/07 10:27:41.69 kernel the u.s. government is subject to restrictions set forth in a license
00:00000:00000:2008/05/07 10:27:41.69 kernel agreement between the government and sybase, inc. or other written
00:00000:00000:2008/05/07 10:27:41.69 kernel agreement specifying the government's rights to use the software and any
00:00000:00000:2008/05/07 10:27:41.69 kernel applicable far provisions, for example, far 52.227-19.
00:00000:00000:2008/05/07 10:27:41.69 kernel sybase, inc. one sybase drive, dublin, ca 94568, usa
00:00000:00000:2008/05/07 10:27:41.69 kernel using '/opt/sybase-12.5/ase/mcsdb.cfg' for configuration information.
00:00000:00000:2008/05/07 10:27:41.69 kernel logging ase messages in file '/opt/sybase-12.5/ase/install/mcsdb.log'.
the context allocation routine failed when it tried to load localization files!!
one or more following problems may caused the failure
your sybase home directory is /opt/sybase-12.5. check the environment variable sybase if it is not the one you want!
using locale name en_us.utf-8 defined in environment variable lang
locale name en_us.utf-8 doesn't exist in your /opt/sybase-12.5/locales/locales.dat file
00:00000:00000:2008/05/07 10:27:41.75 kernel kscsinit: connectivity library error. operation: cs_ctx_alloc().
00:00000:00000:2008/05/07 10:27:41.75 kernel ksctcleanup: connectivity library error. operation: ct_exit().
大约内容是说环境配置有错误,经过多方查找,,请教才找到了解决的办法,在这里非常感谢给我帮助的人.
解决的办法就是用root登陆linux系统,在shell下面执行export lang=c
问题就解决了.