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 (希望可以解决问题)ma和mb文件无法正常打开,打开后是空白,但是有正常内存占用,但可以在打开Maya应用程序后打开场景ma和mb格式。
  • ¥20 ML307A在使用AT命令连接EMQX平台的MQTT时被拒绝
  • ¥20 腾讯企业邮箱邮件可以恢复么
  • ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?
  • ¥15 错误 LNK2001 无法解析的外部符号
  • ¥50 安装pyaudiokits失败
  • ¥15 计组这些题应该咋做呀
  • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
  • ¥15 让node服务器有自动加载文件的功能
  • ¥15 jmeter脚本回放有的是对的有的是错的