免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 30983 | 回复: 3

syabse数据库修改ip地址后启动是失败 [复制链接]

论坛徽章:
2
2015年辞旧岁徽章
日期:2015-03-03 16:54:15数据库技术版块每日发帖之星
日期:2016-07-21 06:20:00
发表于 2016-07-11 10:17 |显示全部楼层
最近在捣鼓一台sybase数据库,修改了服务器的ip地址后,又修改了interfaces、hosts里的ip地址,但是重启的时候数据库就起不来了  backupserver=0   dataserver只有1
.............
.Backup Server/12.5.3/EBF 13339 ESD#7/P/Linux AMD Opteron/Enterprise Linux/ase1253/2344/64-bit/OPT/Thu Mar 23 21:34:46 2006
Confidential property of Sybase, Inc.
Copyright 1987, 2006
Sybase, Inc.  All rights reserved.
Unpublished rights reserved under U.S. copyright laws.

This software contains confidential and trade secret information of Sybase,
Inc.   Use,  duplication or disclosure of the software and documentation by
the  U.S.  Government  is  subject  to  restrictions set forth in a license
agreement  between  the  Government  and  Sybase,  Inc.  or  other  written
agreement  specifying  the  Government's rights to use the software and any
applicable FAR provisions, for example, FAR 52.227-19.
Sybase, Inc. One Sybase Drive, Dublin, CA 94568, USA

Logging Backup Server messages in file '/opt/sybase-12.5/ASE-12_5/install/SYB_BACKUP.log'
./RUN_SYB_BACKUP: line 15: 30579 Segmentation fault      /opt/sybase-12.5/ASE-12_5/bin/backupserver -e/opt/sybase-12.5/ASE-12_5/install/SYB_BACKUP.log -N25 -C20 -M/opt/sybase-12.5/ASE-12_5/bin/sybmultbuf -SSYB_BACKUP
....
------------------------------------------
report info:
F S UID        PID  PPID  C PRI  NI ADDR SZ WCHAN  STIME TTY          TIME CMD
0 R sybase   30534 30532 95  85   0 - 166074 -     10:06 ?        00:00:24 /opt/sybase-12.5/ASE-12_5/bin/dataserver -d/opt/sybase-12.5/ASE-12_5/install/master.dat -e/opt/sybase-12.5/ASE-12_5/install/SYBASE.log -c/opt/sybase-12.5/ASE-12_5/SYBASE.cfg -M/opt/sybase-12.5/ASE-12_5 -sSYBASE
------------------------------------------
------------------------------------------
dataserver_count=1, backupserver_count=0
------------------------------------------
                press return to continue!

SYBASE.log里显示如下

  Process 30124 exited with status 0
00:00000:00000:2016/07/11 08:36:59.90 kernel  Task with kpid 670067 running on failed engine
00:00000:00000:2016/07/11 08:36:59.90 kernel  Engine exited with signal 11
00:00000:00000:2016/07/11 08:36:59.90 kernel  kpenginedied: killed kpid 6750311 which was running on engine 1
00:00000:00010:2016/07/11 08:37:14.10 kernel  kesetown: engine 1 not online
00:00000:00010:2016/07/11 08:37:14.10 kernel  upsetaffinity: can't affinity to engine 1 for kpid 7405681
00:00000:00010:2016/07/11 08:37:14.10 kernel  upsetaffinity: can't affinity to engine 1 for kpid 7405681
00:00000:00014:2016/07/11 08:41:05.80 kernel  nspacket: send, Connection refused
00:00000:00014:2016/07/11 08:41:05.80 server  Error: 7215, Severity: 18, State: 1
00:00000:00014:2016/07/11 08:41:05.80 server  Can't send to site 'SYB_BACKUP'.
00:00000:00014:2016/07/11 08:41:05.80 server  Failed to connect to remote server SYB_BACKUP tcp ether 10.19.1.209 4096 for site SYB_BACKUP. Trying the next query entry of this se
rver, if any.
00:00000:00014:2016/07/11 08:41:05.80 server  Error: 7235, Severity: 17, State: 0
00:00000:00014:2016/07/11 08:41:05.80 server  No other query entry found for the remote server SYB_BACKUP - site SYB_BACKUP. Aborting this site handler, as no remote server respo
nded. Please make sure the remote server is accepting connections.
00:00000:00013:2016/07/11 08:41:05.94 server  SQL Server shutdown by request.
00:00000:00013:2016/07/11 08:41:05.94 kernel  ueshutdown: exiting

论坛徽章:
6
水瓶座
日期:2014-06-04 03:34:37水瓶座
日期:2014-06-17 13:20:31数据库技术版块每日发帖之星
日期:2016-07-09 06:20:00数据库技术版块每日发帖之星
日期:2016-07-17 06:20:00数据库技术版块每日发帖之星
日期:2016-08-01 06:20:00数据库技术版块每日发帖之星
日期:2016-08-04 06:20:00
发表于 2016-07-14 20:51 |显示全部楼层
和修改IP地址应该没有关系。
backupserver无法启动报错:Segmentation fault   
尝试设置环境变量: export LD_POINTER_GURAD=1 后再启动备份服务器。

论坛徽章:
2
2015年辞旧岁徽章
日期:2015-03-03 16:54:15数据库技术版块每日发帖之星
日期:2016-07-21 06:20:00
发表于 2016-07-18 15:20 |显示全部楼层
牛  我之前查这个问题的时候  有一个帖子说
在Redhat上:export LD_POINTER_GUARD=0;
在Suse 10上:export LD_POINTER_GUARD=1.
我是redhat系统 设为0  没有解决
刚根据你说的设为1
确实就可以了
可以说一下这是为什么吗?



回复 2# andkylee


   

论坛徽章:
7
数据库技术版块每日发帖之星
日期:2015-08-09 06:20:00数据库技术版块每日发帖之星
日期:2015-11-03 06:20:00数据库技术版块每日发帖之星
日期:2016-02-20 06:20:00数据库技术版块每日发帖之星
日期:2016-07-13 06:20:00数据库技术版块每日发帖之星
日期:2016-07-31 06:20:00数据库技术版块每日发帖之星
日期:2016-08-01 06:20:00数据库技术版块每日发帖之星
日期:2016-08-18 06:20:00
发表于 2016-07-18 15:34 |显示全部楼层
SELinux的设定而已
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP