2017-02-22 10:05


  • suse
  • sybase
  • 数据库


. /opt/sybase/SYBASE.sh
cd /opt/sybase/OCS*/bin
/opt/sybase/OCS-15_0/bin/isql -SDBSVR -Usa -P${pwdpwd} -zus_english -o/opt/oss/engr/tools/stopNMS_DB.sh_log/isqllog<<EOF
shutdown SYB_BACKUP


但是shutdown -r now时触发脚本关闭sybase却失败

isql语句执行结果报错:An error occurred when attempting to allocate localization-related structures.

00:0002:00000:00000:2017/02/22 14:51:11.42 kernel ueshutdown: exiting
00:0002:00000:00000:2017/02/22 14:51:11.43 kernel Abnormal exit detected - ASE process level execution bindings will be cleared on startup.
00:0000:00000:00000:2017/02/22 14:51:11.62 kernel SySAM: Checked in graced license for ASE_ASM (2015.1019).
00:0000:00000:00000:2017/02/22 14:51:11.65 kernel SySAM: Checked in license for 1 ASE_CORE (2018.06290/permanent/0885 9C31 2E30 FCE2).
00:0000:00000:00000:2017/02/22 14:51:55.83 kernel SySAM: Using licenses from: /opt/sybase/SYSAM-2_0/licenses/20160126173359_PARTITIONS.lic:/opt/sybase/SYSAM-2_0/licenses/ANY_20160126165305.lic
00:0000:00000:00000:2017/02/22 14:51:56.07 kernel SySAM: Checked out license for 1 ASE_CORE (2018.06290/permanent/0885 9C31 2E30 FCE2).
00:0000:00000:00000:2017/02/22 14:51:56.07 kernel This product is licensed to: Huawei Technologies Co., Ltd., an OEM license from Sybase, Inc.
00:0000:00000:00000:2017/02/22 14:51:56.07 kernel Checked out license ASE_CORE
00:0000:00000:00000:2017/02/22 14:51:56.07 kernel Adaptive Server Enterprise (Enterprise Edition)
00:0000:00000:00000:2017/02/22 14:51:56.11 kernel Using config area from primary master device.
00:0000:00000:00000:2017/02/22 14:51:56.13 kernel SySAM: Checked out graced license for 1 ASE_ASM (2015.1019) will expire Thu 23 Mar 2017 12:56:03 AM CST.
00:0000:00000:00000:2017/02/22 14:51:56.13 kernel SySAM: Failed to obtain license(s) for ASE_ASM feature from license file(s) or server(s).
00:0000:00000:00000:2017/02/22 14:51:56.13 kernel SySAM: No such feature exists. Verify that a license containing the feature name ASE_ASM is available or generate and deploy the license from the Sybase Product Download Center.
00:0000:00000:00000:2017/02/22 14:51:56.13 kernel SySAM: License feature name: ASE_ASM
00:0000:00000:00000:2017/02/22 14:51:56.13 kernel SySAM: License search path: /opt/sybase/SYSAM-2_0/licenses/20160126173359_PARTITIONS.lic:/opt/sybase/SYSAM-2_0/licenses/ANY_20160126165305.lic:
00:0000:00000:00000:2017/02/22 14:51:56.13 kernel SySAM: FLEXnet Licensing error:-5,357
00:0000:00000:00000:2017/02/22 14:51:56.13 kernel SySAM: For further information, refer to the Sybase Software Asset Management website at http://www.sybase.com/sysam
00:0000:00000:00000:2017/02/22 14:51:56.13 kernel Error: 131275, Severity: 17, State: 1
00:0000:00000:00000:2017/02/22 14:51:56.13 kernel SySAM: WARNING: ASE functionality that requires the ASE_ASM license will be disabled on Thu 23 Mar 2017 12:56:03 AM CST, unless a suitable ASE_ASM license is obtained before that date.
00:0000:00000:00000:2017/02/22 14:51:56.13 kernel Checked out license ASE_ASM
00:0000:00000:00000:2017/02/22 14:51:56.14 kernel Could not allocate memory using Huge Pages. Allocated using regular pages. For better performance, reboot the server after configuring enough Huge Pages.
00:0000:00000:00000:2017/02/22 14:51:56.14 kernel Internal run-time model set for Linux - Native
00:0000:00000:00000:2017/02/22 14:51:56.14 kernel Adaptive Server is using the process kernel mode.
00:0000:00000:00000:2017/02/22 14:51:56.14 kernel Using 4096 file descriptors.

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享