tking 发表于 2007-3-12 13:23:15

[求助]error 696

<p>sybase 11.9.2,经常出现696错误,导致客户端不能建立与服务的连接。重启后还会出现。</p><p>errorlog提示:</p><p>00:00000:00087:2007/03/12 09:36:56.88 server&nbsp; Error: 696, Severity: 21, State: 1<br/>00:00000:00087:2007/03/12 09:36:56.88 server&nbsp; An attempt was made to fetch logical page '887824' in tempdb from cache<br/>&nbsp;'dbtemp'. Page belongs to object '8' and not to object '-5701649'. Restart of SQL Server will clear the error. <br/>Please contact your System Administrator for help.<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; ************************************<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; SQL causing error : SELECT convert ( char ( 1 ) , datepart ( dw , getdate ( ) )<br/>&nbsp;) , convert ( char ( 2 ) , datepart ( hh , getdate ( ) ) ) from XTMC <br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; ************************************<br/>00:00000:00087:2007/03/12 09:36:56.88 server&nbsp; SQL Text: SELECT convert ( char ( 1 ) , datepart ( dw , getdate ( ) ) ) , <br/>convert ( char ( 2 ) , datepart ( hh , getdate ( ) ) ) from XTMC <br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; curdb = 6 pstat = 0x10000 lasterror = 696 <br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; preverror = 0 transtate = 0<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; curcmd = 0 program = grft_TM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; pc: 0x8a2977 os_get_cur_stk_desc+ 0x57 (0x439f224, 0xd10007c, 0x439f224, 0x0)<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; pc: 0x8a2977 os_get_cur_stk_desc+ 0x57 (0x439f224, 0x439f778, 0x270f, 0x2)<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; pc: 0x883514 pcstkwalk+ 0x224 (0xd10007c, 0x2, 0x270f, 0x0)<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; pc: 0x8830ae ucstkgentrace+ 0x1ce (0x0, 0x1, 0x20ce5970, 0x0)<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; pc: 0x862864 ucbacktrace+ 0x84 (0x0, 0xffffffff, 0x439fb3c, 0x4527a8)<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; pc: 0x405fe6 terminate_process+ 0x566 (0x439fbb4, 0x4523bc, 0x6, 0x60)<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; pc: 0x4527ea close_network+ 0x1a (0x6, 0x60, 0x15, 0x1)<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; pc: 0x4527a8 hdl_default+ 0x48 (0x6, 0x60, 0x15, 0x1)<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; pc: 0x4523bc ex_raise+ 0x13c (0x706d6e44, 0x20645c2c, 0x1, 0x0)<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; pc: 0x542d6e wrongpage+ 0x31e (0x20645c2c, 0x4, 0x0, 0x0)<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; pc: 0x540482 getpage_with_validation+ 0x232 (0x20645c2c, 0x439fd54, 0x4, 0x0)<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; pc: 0x5419eb getpage_noscan_with_validation+ 0x8b (0x20645c2c, 0x23fab758, 0x1, 0x0)<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; pc: 0x4f8577 pg_objdeall+ 0x137 (0x20645c2c, 0x20ce0498, 0x0, 0x20016390)<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; pc: 0x52f60f closetable+ 0x23f (0x6, 0x10, 0xc, 0x0)<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; pc: 0x6511d1 close_range+ 0x2a1 (0x20ce0498, 0x0, 0x0, 0x20ce0498)<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; pc: 0x63a6ce s_cleanframe+ 0x4e (0x20ce0498, 0x0, 0x20ce0498, 0xd0f0015)<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; pc: 0x4106d0 clean_process+ 0x80 (0x20ce0498, 0x2001b4f0, 0xd0f0015, 0x20016390)<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; pc: 0x40cc63 conn_hdlr_err_cleanup+ 0x83 (0x36, 0x4000, 0x2001b4f0, 0xd0f0015)<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; <br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; <br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; <br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; pc: 0x40f0e4 conn_hdlr+ 0x2024 (0x2001b4f0, 0x20016390, 0xd0f0015, 0x2001b4f0)<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; pc: 0x89c1c6 kpntwrapper+ 0x96 (0x89c130, 0x2001b4f0, 0x0, 0x0)<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; pc: 0x77e6b396 KERNEL32.dll (0x0, 0x0, 0x0, 0x0)<br/>00:00000:00087:2007/03/12 09:36:56.88 kernel&nbsp; end of stack trace, spid 87, kpid 219152508, suid 5<br/>00:00000:00087:2007/03/12 09:36:56.88 server&nbsp; Starting diagnostics for read failure:<br/>00:00000:00087:2007/03/12 09:36:56.88 server&nbsp; Device Information:<br/>&nbsp;&nbsp;&nbsp;&nbsp; Device number = 14<br/>&nbsp;&nbsp;&nbsp;&nbsp; Phyname = d:\data\tempdbd02.dat<br/>00:00000:00087:2007/03/12 09:36:56.88 server&nbsp; Buffer Information:<br/>&nbsp;&nbsp;&nbsp;&nbsp; Buf addr = 0x706d6e44, Mass addr = 0x706d6e44<br/>&nbsp;&nbsp;&nbsp;&nbsp; Buf pageno = 887824, Mass pageno = 887824, dbid = 2<br/>00:00000:00087:2007/03/12 09:36:56.88 server&nbsp; <br/>&nbsp;&nbsp;&nbsp;&nbsp; Buf virtpg = 235717648, Mass virtpg = 235717648<br/>&nbsp;&nbsp;&nbsp;&nbsp; Buf stat = 0x1, Mass stat = 0x40201008<br/>&nbsp;&nbsp;&nbsp;&nbsp; Mass keep = 1, Mass awaited = 0<br/>00:00000:00087:2007/03/12 09:36:56.88 server&nbsp; Page Information from first read attempt:<br/>&nbsp;&nbsp;&nbsp;&nbsp; Page read from cache<br/>&nbsp;&nbsp;&nbsp;&nbsp; ppageno = 887824, pobjid = 8, pindid = 0<br/>&nbsp;&nbsp;&nbsp;&nbsp; pnextpg = 887825, pprevpg = 887823<br/>&nbsp;&nbsp;&nbsp;&nbsp; plevel = 0, pstat = 0x105<br/>&nbsp;&nbsp;&nbsp;&nbsp; pts_hi = 1, pts_lo = 126645810<br/>00:00000:00087:2007/03/12 09:36:56.88 server&nbsp; Page Information from second read attempt:<br/>&nbsp;&nbsp;&nbsp;&nbsp; Page read from disk<br/>&nbsp;&nbsp;&nbsp;&nbsp; ppageno = 887824, pobjid = 8, pindid = 0<br/>&nbsp;&nbsp;&nbsp;&nbsp; pnextpg = 887825, pprevpg = 887823<br/>&nbsp;&nbsp;&nbsp;&nbsp; plevel = 0, pstat = 0x105<br/>&nbsp;&nbsp;&nbsp;&nbsp; pts_hi = 1, pts_lo = 126645810<br/>00:00000:00087:2007/03/12 09:36:56.88 server&nbsp; SDES Information:<br/>&nbsp;&nbsp;&nbsp;&nbsp; dbid = 2, objid = -5701649, scur.pageid = 887824<br/>&nbsp;&nbsp;&nbsp;&nbsp; sstat = 0x10, sstat2 = 0x0<br/>&nbsp;&nbsp;&nbsp;&nbsp; suid = 3, cacheid = 1<br/>00:00000:00087:2007/03/12 09:36:56.88 server&nbsp; PSS Information:<br/>&nbsp;&nbsp;&nbsp;&nbsp; pstat = 0x10000, pcurdb = 6, pspid = 87<br/>&nbsp;&nbsp;&nbsp;&nbsp; p2stat = 0x101000, p3stat = 0x81a<br/>&nbsp;&nbsp;&nbsp;&nbsp; plasterror = 696, preverror = 0, pattention = 0<br/></p>

flybean 发表于 2007-3-13 16:43:42

检查一下DISK,有可能DISK有问题

tking 发表于 2007-3-13 16:46:59

<p>disk是raid5,raid卡带的软件检查没问题。</p><p>这个问题出现频率平均在5%以下,只是有时候在一段时间内很频繁。</p><p>我看了sybase的一些资料,没有提出什么办法,只是叫报告sybase。</p>

tking 发表于 2007-3-16 14:57:32

非常郁闷,有高手指点一下吗?

tking 发表于 2007-3-20 08:52:30

曾经重起过系统,不久问题有出现了!

tking 发表于 2007-3-20 16:29:41

可能错误出现在tempdb上,怎么样删除tempdb的device,然后再重建呢?

tking 发表于 2007-3-31 10:13:48

<p>tempdb有3个devices,有两个出现这样的问题,可否修改sysusages相关记录,然后删除问题devices,再重建?</p><p>重建服务很麻烦。</p>

tking 发表于 2007-5-10 11:49:27

再请高手帮忙下。

tking 发表于 2007-7-25 08:21:25

<p>顶一下。</p>
页: [1]
查看完整版本: [求助]error 696

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

Mail To:Admin@SybaseBbs.com