mjytsyj 2017-02-22 10:05 采纳率: 0%
浏览 1592

SUSE执行shutdown-rnow时触发脚本关闭sybase失败

脚本中关闭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
go
shutdown
go
exit
EOF

不关机时执行脚本,可以正常关闭sybase

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

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

下面是sybase数据库日志:
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.

  • 写回答

1条回答

  • devmiao 2017-02-22 15:37
    关注
    评论

报告相同问题?

悬赏问题

  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
  • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
  • ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站
  • ¥50 成都蓉城足球俱乐部小程序抢票
  • ¥15 yolov7训练自己的数据集
  • ¥15 esp8266与51单片机连接问题(标签-单片机|关键词-串口)(相关搜索:51单片机|单片机|测试代码)
  • ¥15 电力市场出清matlab yalmip kkt 双层优化问题
  • ¥30 ros小车路径规划实现不了,如何解决?(操作系统-ubuntu)