祝愿大家身体健康!

 站点注册  找回密码
 站点注册

QQ登录

只需一步,快速开始

查看: 3525|回复: 2

紧急求助!数据库无法链接上

[复制链接]

紧急求助!数据库无法链接上

[复制链接]
stdfax

主题

0

回帖

1

积分

新手上路

积分
1
贡献
在线时间
小时
2008-2-22 08:05:16 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?站点注册

×
单位一台服务器(RAID 1, SCO OpenServer5.06 + Sybase11.0.3)今天突然断电, 恢复电源后数据库启动报错,我按网上的解决数据库suspect的方法做了(就是设置sysdatabases中为-32768的然后再改回的)

1. 执行suspect过程后(最后一步启动重新sybase):
00:08/02/21 16:45:38.73 serverRecovering database 'sss'.
00:08/02/21 16:45:38.74 serverRecovery dbid 5 ckpt (1863336,6) oldest tran=(1863336,5)
00:08/02/21 16:45:38.75 serverError: 624, Severity: 21, State: 1
00:08/02/21 16:45:38.75 serverAttempt to retrieve row from page via RID failed because the requested RID has a higher number than the last RID on the page. Rid pageid = 0x1c6ead; row num = 0x5.Page pointer = 0x8089b800, pageno = 1863341,status = 0x105, objectid = 8, indexid = 0, level = 0.00:08/02/21 16:45:38.75 serverError while undoing log row in database 'sss'.
Rid pageid = 0x0; row num = 0x0.
LOG SCAN DEFINTION:
Database id : 5
Forward scan: starting at begining of log
log records for object id 1

LOG RECORDS:

Total number of log records 0
00:08/02/21 16:45:38.75 serverError: 3414, Severity: 21, State: 1
00:08/02/21 16:45:38.75 serverDatabase 'sss' (dbid 5): Recovery failed. Check
the SQL Server errorlog for further information as to the cause.
===================================================================================
2. 执行isql -Usa
00:08/02/21 18:06:14.23 server  WARNING: spid 1, with suid 0 and curdbid 2 has o
pen system SDES #4 with dbid 5 and objid 8. PSS pstat = 0x0, p2stat = 0x100, p3s
tat = 0x2, pattention = 0, pcmderrs = 0x0.
00:08/02/21 18:06:14.23 server  WARNING: spid 1, with suid 0 and curdbid 2 has a
ctive XDES #2 with xactid (0, 0). PSS pstat = 0x0, p2stat = 0x100, p3stat = 0x2,
pxactcnt = 0, pattention = 0, pcmderrs = 0x0, XDES dbt_dbid = 5, xstate = 0x1,
xstatus = 0x8, xmode = 0x0.
00:08/02/21 18:06:14.23 server  Contact Sybase Technical Support.
===================================================================================
3. 再次启动sybase
00:08/02/21 18:07:02.93 server  Error: 926, Severity: 14, State: 1
00:08/02/21 18:07:02.93 server  Database 'sss' cannot be opened. An earlier atte
mpt at recovery marked it 'suspect'. Check the SQL Server errorlog for informati
on as to the cause.
00:08/02/21 18:07:02.93 server  Unable to proceed with the recovery of dbid <5>
because of previous errors.  Continuing with the next database.

紧急求助各位大虾,谁有办法啊?无论连接数据库或者能倒出其中的数据均可!先谢谢了 !!!
共享共进共赢Sharing And Win-win Results
SYBASEBBS - 免责申明1、欢迎访问“SYBASEBBS.COM”,本文内容及相关资源来源于网络,版权归版权方所有!本站原创内容版权归本站所有,请勿转载!
2、本文内容仅代表作者观点,不代表本站立场,作者自负,本站资源仅供学习研究,请勿非法使用,否则后果自负!请下载后24小时内删除!
3、本文内容,包括但不限于源码、文字、图片等,仅供参考。本站不对其安全性,正确性等作出保证。但本站会尽量审核会员发表的内容。
4、如本帖侵犯到任何版权问题,请立即告知本站 ,本站将及时删除并致以最深的歉意!客服邮箱:admin@sybasebbs.com
xiaozi

主题

0

回帖

3

积分

新手上路

积分
3
贡献
在线时间
小时
2008-2-24 15:11:54 | 显示全部楼层

不知道是什么原因,但还是关注一下

共享共进共赢Sharing And Win-win Results
ribut922

主题

0

回帖

38

积分

注册会员

积分
38
贡献
在线时间
小时
2008-3-1 08:47:30 | 显示全部楼层

貌似很复杂

 

看看errorlog里的具体内容

共享共进共赢Sharing And Win-win Results
您需要登录后才可以回帖 登录 | 站点注册

本版积分规则

免责声明:
本站所发布的一切破解补丁、注册机和注册信息及软件的解密分析文章仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。如有侵权请邮件与我们联系处理。

Mail To:Admin@SybaseBbs.com

QQ|Archiver|PowerBuilder(PB)BBS社区 ( 鲁ICP备2021027222号-1 )

GMT+8, 2024-5-20 23:26 , Processed in 0.122835 second(s), 10 queries , MemCached On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表