OS空间根空间满,造成sybase无法启动
一台运行10多年的sybase服务起不来了,经过分析日志感觉是空间满了,收集空间使用信息后,发现问题正是如此。
00:00000:00000:2016/08/15 14:35:00.93 kernel Use license file /opt/sybase-12.5/SYSAM-1_0/licenses/license.dat.
00:00000:00000:2016/08/15 14:35:00.93 kernel Checked out license ASE_SERVER
00:00000:00000:2016/08/15 14:35:00.93 kernel Adaptive Server Enterprise Edition
00:00000:00000:2016/08/15 14:35:00.93 kernel Max fd 65536 exceeds internal limit of 10000
00:00000:00000:2016/08/15 14:35:00.94 kernel Using config area from primary master device.
00:00000:00000:2016/08/15 14:35:06.14 kernel Using 10000 file descriptors.
00:00000:00000:2016/08/15 14:35:06.57 kernel Adaptive Server Enterprise/12.5.0.3/EBF 11332 ESD#3/P/Sun_svr4/OS 5.8/rel12503/1933/64-bit/FBO/Fri Aug 1 07:31:48 2003
00:00000:00000:2016/08/15 14:35:06.57 kernel Confidential property of Sybase, Inc.
00:00000:00000:2016/08/15 14:35:06.57 kernel Copyright 1987, 2003
00:00000:00000:2016/08/15 14:35:06.57 kernel Sybase, Inc. All rights reserved.
00:00000:00000:2016/08/15 14:35:06.57 kernel Unpublished rights reserved under U.S. copyright laws.
00:00000:00000:2016/08/15 14:35:06.57 kernel
00:00000:00000:2016/08/15 14:35:06.57 kernel This software contains confidential and trade secret information of Sybase,
00:00000:00000:2016/08/15 14:35:06.57 kernel Inc. Use, duplication or disclosure of the software and documentation by
00:00000:00000:2016/08/15 14:35:06.57 kernel the U.S. Government is subject to restrictions set forth in a license
00:00000:00000:2016/08/15 14:35:06.57 kernel agreement between the Government and Sybase, Inc. or other written
00:00000:00000:2016/08/15 14:35:06.57 kernel agreement specifying the Government's rights to use the software and any
00:00000:00000:2016/08/15 14:35:06.57 kernel applicable FAR provisions, for example, FAR 52.227-19.
00:00000:00000:2016/08/15 14:35:06.57 kernel Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA
00:00000:00000:2016/08/15 14:35:06.57 kernel Using '/opt/sybase-12.5/ASE-12_5/SYBASE.cfg' for configuration information.
00:00000:00000:2016/08/15 14:35:06.57 kernel Logging ASE messages in file '/opt/sybase-12.5/ASE-12_5/install/SYBASE.log'.
00:00000:00000:2016/08/15 14:35:06.97 kernel ksctinit: connectivity library error. Operation: ct_init().
00:00000:00000:2016/08/15 14:35:06.98 kernel ksctcleanup: connectivity library error. Operation: ct_exit().
00:00000:00000:2016/08/15 14:45:47.63 kernel Use license file /opt/sybase-12.5/SYSAM-1_0/licenses/license.dat.
00:00000:00000:2016/08/15 14:45:47.73 kernel Checked out license ASE_SERVER
00:00000:00000:2016/08/15 14:45:47.73 kernel Adaptive Server Enterprise Edition
00:00000:00000:2016/08/15 14:45:48.18 kernel Max fd 65536 exceeds internal limit of 10000
00:00000:00000:2016/08/15 14:45:48.68 kernel Using config area from primary master device.
00:00000:00000:2016/08/15 14:45:48.80 kernel os_get_shmid: write to /opt/sybase-12.5/ASE-12_5/SYBASE.krg failed: No space left on device
00:00000:00000:2016/08/15 14:45:48.81 kernel kbcreate: couldn't get shmid for kernel region.
00:00000:00000:2016/08/15 14:45:48.81 kernel kistartup: could not create shared memory
00:00000:00000:2016/08/15 14:57:18.56 kernel Use license file /opt/sybase-12.5/SYSAM-1_0/licenses/license.dat.
00:00000:00000:2016/08/15 14:57:18.56 kernel Checked out license ASE_SERVER
00:00000:00000:2016/08/15 14:57:18.56 kernel Adaptive Server Enterprise Edition
00:00000:00000:2016/08/15 14:57:18.56 kernel Max fd 65536 exceeds internal limit of 10000
00:00000:00000:2016/08/15 14:57:18.57 kernel Using config area from primary master device.
00:00000:00000:2016/08/15 14:57:23.71 kernel Using 10000 file descriptors.
00:00000:00000:2016/08/15 14:57:23.82 kernel Adaptive Server Enterprise/12.5.0.3/EBF 11332 ESD#3/P/Sun_svr4/OS 5.8/rel12503/1933/64-bit/FBO/Fri Aug 1 07:31:48 2003
00:00000:00000:2016/08/15 14:57:23.82 kernel Confidential property of Sybase, Inc.
00:00000:00000:2016/08/15 14:57:23.82 kernel Copyright 1987, 2003
00:00000:00000:2016/08/15 14:57:23.82 kernel Sybase, Inc. All rights reserved.
00:00000:00000:2016/08/15 14:57:23.82 kernel Unpublished rights reserved under U.S. copyright laws.
00:00000:00000:2016/08/15 14:57:23.82 kernel
00:00000:00000:2016/08/15 14:57:23.82 kernel This software contains confidential and trade secret information of Sybase,
00:00000:00000:2016/08/15 14:57:23.82 kernel Inc. Use, duplication or disclosure of the software and documentation by
00:00000:00000:2016/08/15 14:57:23.82 kernel the U.S. Government is subject to restrictions set forth in a license
00:00000:00000:2016/08/15 14:57:23.82 kernel agreement between the Government and Sybase, Inc. or other written
00:00000:00000:2016/08/15 14:57:23.82 kernel agreement specifying the Government's rights to use the software and any
00:00000:00000:2016/08/15 14:57:23.82 kernel applicable FAR provisions, for example, FAR 52.227-19.
00:00000:00000:2016/08/15 14:57:23.82 kernel Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA
00:00000:00000:2016/08/15 14:57:23.82 kernel Using '/opt/sybase-12.5/ASE-12_5/SYBASE.cfg' for configuration information.
00:00000:00000:2016/08/15 14:57:23.82 kernel Logging ASE messages in file '/opt/sybase-12.5/ASE-12_5/install/SYBASE.log'.
00:00000:00000:2016/08/15 14:57:24.48 kernel ksctinit: connectivity library error. Operation: ct_init().
00:00000:00000:2016/08/15 14:57:24.49 kernel ksctcleanup: connectivity library error. Operation: ct_exit().
00:00000:00000:2016/08/15 14:58:32.68 kernel Use license file /opt/sybase-12.5/SYSAM-1_0/licenses/license.dat.
00:00000:00000:2016/08/15 14:58:32.68 kernel Checked out license ASE_SERVER
00:00000:00000:2016/08/15 14:58:32.68 kernel Adaptive Server Enterprise Edition
00:00000:00000:2016/08/15 14:58:32.68 kernel Max fd 65536 exceeds internal limit of 10000
00:00000:00000:2016/08/15 14:58:32.69 kernel Using config area from primary master device.
00:00000:00000:2016/08/15 14:58:37.65 kernel Using 10000 file descriptors.
00:00000:00000:2016/08/15 14:58:37.65 kernel Adaptive Server Enterprise/12.5.0.3/EBF 11332 ESD#3/P/Sun_svr4/OS 5.8/rel12503/1933/64-bit/FBO/Fri Aug 1 07:31:48 2003
00:00000:00000:2016/08/15 14:58:37.65 kernel Confidential property of Sybase, Inc.
00:00000:00000:2016/08/15 14:58:37.65 kernel Copyright 1987, 2003
00:00000:00000:2016/08/15 14:58:37.65 kernel Sybase, Inc. All rights reserved.
00:00000:00000:2016/08/15 14:58:37.65 kernel Unpublished rights reserved under U.S. copyright laws.
00:00000:00000:2016/08/15 14:58:37.65 kernel
00:00000:00000:2016/08/15 14:58:37.65 kernel This software contains confidential and trade secret information of Sybase,
00:00000:00000:2016/08/15 14:58:37.65 kernel Inc. Use, duplication or disclosure of the software and documentation by
00:00000:00000:2016/08/15 14:58:37.65 kernel the U.S. Government is subject to restrictions set forth in a license
00:00000:00000:2016/08/15 14:58:37.65 kernel agreement between the Government and Sybase, Inc. or other written
00:00000:00000:2016/08/15 14:58:37.65 kernel agreement specifying the Government's rights to use the software and any
00:00000:00000:2016/08/15 14:58:37.65 kernel applicable FAR provisions, for example, FAR 52.227-19.
00:00000:00000:2016/08/15 14:58:37.65 kernel Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA
00:00000:00000:2016/08/15 14:58:37.65 kernel Using '/opt/sybase-12.5/ASE-12_5/SYBASE.cfg' for configuration information.
00:00000:00000:2016/08/15 14:58:37.65 kernel Logging ASE messages in file '/opt/sybase-12.5/ASE-12_5/install/SYBASE.log'.
00:00000:00000:2016/08/15 14:58:37.67 kernel ksctinit: connectivity library error. Operation: ct_init().
00:00000:00000:2016/08/15 14:58:37.67 kernel ksctcleanup: connectivity library error. Operation: ct_exit().
00:00000:00000:2016/08/15 15:00:10.73 kernel Use license file /opt/sybase-12.5/SYSAM-1_0/licenses/license.dat.
00:00000:00000:2016/08/15 15:00:10.73 kernel Checked out license ASE_SERVER
00:00000:00000:2016/08/15 15:00:10.73 kernel Adaptive Server Enterprise Edition
00:00000:00000:2016/08/15 15:00:10.73 kernel Max fd 65536 exceeds internal limit of 10000
00:00000:00000:2016/08/15 15:00:10.74 kernel Using config area from primary master device.
00:00000:00000:2016/08/15 15:00:15.70 kernel Using 10000 file descriptors.
00:00000:00000:2016/08/15 15:00:15.70 kernel Adaptive Server Enterprise/12.5.0.3/EBF 11332 ESD#3/P/Sun_svr4/OS 5.8/rel12503/1933/64-bit/FBO/Fri Aug 1 07:31:48 2003
00:00000:00000:2016/08/15 15:00:15.70 kernel Confidential property of Sybase, Inc.
00:00000:00000:2016/08/15 15:00:15.70 kernel Copyright 1987, 2003
00:00000:00000:2016/08/15 15:00:15.70 kernel Sybase, Inc. All rights reserved.
00:00000:00000:2016/08/15 15:00:15.70 kernel Unpublished rights reserved under U.S. copyright laws.
00:00000:00000:2016/08/15 15:00:15.70 kernel
00:00000:00000:2016/08/15 15:00:15.70 kernel This software contains confidential and trade secret information of Sybase,
00:00000:00000:2016/08/15 15:00:15.70 kernel Inc. Use, duplication or disclosure of the software and documentation by
00:00000:00000:2016/08/15 15:00:15.70 kernel the U.S. Government is subject to restrictions set forth in a license
00:00000:00000:2016/08/15 15:00:15.70 kernel agreement between the Government and Sybase, Inc. or other written
00:00000:00000:2016/08/15 15:00:15.70 kernel agreement specifying the Government's rights to use the software and any
00:00000:00000:2016/08/15 15:00:15.70 kernel applicable FAR provisions, for example, FAR 52.227-19.
00:00000:00000:2016/08/15 15:00:15.70 kernel Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA
00:00000:00000:2016/08/15 15:00:15.70 kernel Using '/opt/sybase-12.5/ASE-12_5/SYBASE.cfg' for configuration information.
00:00000:00000:2016/08/15 15:00:15.70 kernel Logging ASE messages in file '/opt/sybase-12.5/ASE-12_5/install/SYBASE.log'.
00:00000:00000:2016/08/15 15:00:15.72 kernel ksctinit: connectivity library error. Operation: ct_init().
00:00000:00000:2016/08/15 15:00:15.72 kernel ksctcleanup: connectivity library error. Operation: ct_exit().
# df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c0t0d0s0 9.8G 9.7G 0K 100% /
/dev/dsk/c3t0d0s6 205G 172G 31G 85% /data6
/dev/dsk/c0t0d0s7 16G 12G 4.0G 75% /export/home