免费注册 查看新帖 |

Chinaunix

广告
  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7541 | 回复: 7
打印 上一主题 下一主题

database 'aa' failed because database is in bypass recovery mode(已解决) [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-03-19 22:21 |只看该作者 |倒序浏览
执行存储过程时报错:attempt to begin tranasction in database 'aa' failed because database is in bypass recovery mode

将AA的STATUS改为-32768,然后重起服务,清空日志,但还是不行,哪位有办法啊?急!!!

OS:WIN2000
SYBASE:12.5
CPU:2.8

[ 本帖最后由 junqiang0904 于 2006-3-20 19:03 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2006-03-20 10:50 |只看该作者
select name,status from sysdatabases看看数据库状态

论坛徽章:
71
15-16赛季CBA联赛之同曦
日期:2018-08-23 15:41:42辰龙
日期:2014-08-15 09:07:43狮子座
日期:2014-06-03 13:55:33亥猪
日期:2014-06-02 11:17:08巨蟹座
日期:2014-05-06 10:02:03午马
日期:2014-05-04 08:18:27亥猪
日期:2014-04-29 11:11:32技术图书徽章
日期:2014-04-24 15:51:26技术图书徽章
日期:2014-04-17 11:01:53辰龙
日期:2014-04-15 12:45:46亥猪
日期:2014-04-11 09:06:23射手座
日期:2014-04-01 15:28:10
3 [报告]
发表于 2006-03-20 11:27 |只看该作者
你还得将AA的STATUS改为0呀,改回去啊

论坛徽章:
4
2015年亚洲杯之阿联酋
日期:2015-03-10 10:32:022015年亚洲杯之阿曼
日期:2015-03-10 14:53:222015亚冠之水原三星
日期:2015-07-18 15:40:262015亚冠之塔什干棉农
日期:2015-07-27 20:52:05
4 [报告]
发表于 2006-03-20 11:30 |只看该作者
setting status of your database to -32768 would make it in bypass recover status.the hint of being shown is much clear to tell what happened.you can not begin transaction in your database when it is in bypass status.
to solve this problem,you should set back status to it's original value other than -32768,and restart ASE server.if no further error comes,it should be available.
btw:don't truncate trans in bypass status arbitratily unless you have not other ways.that is too dangerous.

论坛徽章:
0
5 [报告]
发表于 2006-03-20 11:38 |只看该作者
status = -32768 就是bypass recovery 状态.改成0试试

论坛徽章:
0
6 [报告]
发表于 2006-03-20 11:46 |只看该作者
4楼是经典之解

论坛徽章:
0
7 [报告]
发表于 2006-03-20 14:54 |只看该作者
谢谢大家,问题解决了,其实我开始是执行过把STATUS改为0 的语句的,可能是某种原因没转过来,没注意,现在好了.

论坛徽章:
0
8 [报告]
发表于 2006-11-29 09:01 |只看该作者
我不能把STATUS改为0 ,老是报"attempt to begin tranasction in database 'aa' failed because database is in bypass recovery mode"错误,谢谢大家,请提供帮助
"
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP