找回密码
 新注册用户
搜索
查看: 10821|回复: 1

[SOB]丢失数据包的修复方法

[复制链接]
发表于 2006-1-12 01:37:01 | 显示全部楼层 |阅读模式
本文是根据碧城仙同志找来的WIKI上的一篇FAQ整理出来的,没有直接翻译,我按里面介绍的方法试过,确实可行.感谢碧城仙.

数据包丢失该怎么办?

      SOB客户端程序在重新启动或者意外关机情况下容易丢失,丢失后可以通过修改Windows注册表来修复.

处理步骤如下:
首先退出SOB客户端程序.
1.检查未完成数据包所在的SOB目录,如果安装时没有选择安装目录的话,默认是在C:\Program Files\SB
在这个目录中应该有一个未知文件类型的、名为z#######的文件(#代表0-9任意数字).
比如z5779487.如果有数据包丢失的话,通常会有两个这样的文件,比如z6779487和z6670993.
如果在SB目录中找不到任何z#######形式的文件的话,可能你没打开正确的目录或者实在是太不走运了.

2.有这个文件的话,就能知道你丢失的数据包中n的值.比如,z6779487表示n的值是6779487;z6670993表示n的值是6670993.小一点的n值很可能就是你丢失的数据包.
然后要找到k的值.一种方法是通过查看日志文件来获得(点击config->view log).这样可以跳过下面的第三步直接到第四步.
如果没有记录日志,你得登录到官方网站来查找k的值.

3.登录SOB
http://www.seventeenorbust.com -> Preferences ->pending test management

如果已经登录的话直接点下面的链接:
http://www.seventeenorbust.com/account/testsPending.mhtml

打开后可以看到这样一个表格,各列为:
ID, Number, IP Address, Assigned, Last Reported, Progress, Percent, cEMs/s, Expire?

如果你有多台计算机参加计算的话,会有多条记录,比如:

363953 4847?2^6779487+1 169.1.000.100 Thu Aug 19 15:59:21 2004 never 0 % -0

358621 28433?2^6670993+1 169.1.000.100 Sun Aug 1 03:08:44 2004 Fri Aug 13 03:52:13 2004 4589089 68 %

通过IP可以判断分别属于哪台计算机.
28433?2^6670993+1 这里,n的值是6779487,k的值是28433

4.打开Windows注册表
在注册表编辑器中依次展开HKEY_LOCAL_MACHINE\SOFTWARE\LhDn\sob\cache
点击cache,出现三个REG_DWORD类型的键.
cache REG_WORD 0x00000002 (2) k REG_WORD 0x000012ef (4847) n REG_WORD 0x0065ca91 (6779487)

修改k和n的键值,改成丢失数据包的k和n的值.
修改方法:
双击k,基数选择"十进制",然后修改键值,确定.修改n值的方法类似.
如果cache的键值不是2,比如是0,也要把它改成2.

5.重启SOB客户端.

评分

参与人数 1维基拼图 +10 收起 理由
霊烏路 空 + 10

查看全部评分

回复

使用道具 举报

 楼主| 发表于 2006-1-12 01:39:28 | 显示全部楼层
原文及相关链接:
http://www.equn.com/forum/viewthread.php?tid=6870
http://wiki.seventeenorbust.com/index.php/FAQ

I've lost a test, what do I do?
This has come up so many times its not even funny anymore. If you search through the message you'll notice this has happened before and there is a solution for certain cases. For others there is none. I understand users frustration so here is a way to solve 95% of the problems with lost tests.

Losts tests are generally a Micros$%# problem not sob it has to due with the registry and can be easily fixed.

If you lose a test etc here is a step by step procedure to regain the "lost" work.

First exit the sob client then;

1. Check your Sob directory for the unfinished test.

This is generally C:\Program Files\SB\ or which ever directory you installed Sob to.

Within this directory there should be a file with unrecognised format the name of the file will be:

z####### where # is some number 0-9

for example z6779487 generally when you have a lost test there will be two of these files, z6779487 and z6670993 for example.

If you don't have any z####### files in the Sb directory your not in the correct directory or your out of luck. Since only progress is reported there is no way to get the file back from the server SOB etc. If you have deleted it etc (Cleansweep, mistake, etc. your work is more than likely unrecoverable.)

2. Great you have the file, so now you know the n value of your lost work.

eg. z6779487 has an n value of 6779487 and z6670993 has an n value of 6670993

The lower n value is probably your lost test.

But which k value does it correspond to? If you use logging, you can simply view the log (go to Config / View Log) and see what k value and n value you were assigned. You can then skip step 3 below and move on to step 4. If you don't use logging, you have to login to the server to check which k corresponds to the n.

3. Login to sob

http://www.seventeenorbust.com --> preferences --> pending test management

http://www.seventeenorbust.com/acco...tsPending.mhtml if your already logged in.

You will be presented a screen which looks like a spead sheet with the following headers:

ID, Number, IP Address, Assigned, Last Reported, Progress, Percent, cEMs/s, Expire?

Followed by the relevant information, if you run more than one computer you will have several of these.

363953 4847?2^6779487+1 169.1.000.100 Thu Aug 19 15:59:21 2004 never 0 % -0

358621 28433?2^6670993+1 169.1.000.100 Sun Aug 1 03:08:44 2004 Fri Aug 13 03:52:13 2004 4589089 68 %

Notice the two above have the exact same IP address 169.1.000.100 and one test shows 0% done the other 68%. The 68% is your lost test and notice that the n values match 4847?2^6779487 28433?2^6670993 the z files in you Sb directory.

Note the K value for your lost test in this case 28433.

4. Now go to your resistry in windows

start --> Run type regedit you wil get a registry screen be carefull here, only changes those values relevant to Sb.

Now navigate to the following folder

HKEY_LOCAL_MACHINE-->SOFTWARE-->LhDn-->sob-->cache

and click on the cache folder, this will bring up three REG_DWORD values

cache REG_WORD 0x00000002 (2) k REG_WORD 0x000012ef (4847) n REG_WORD 0x0065ca91 (6779487)

these values must be modified to reflect your lost test.

left click on k so that it is selected then right click modify.

A box will come up with the header Edit DWORD Value.

Click the radio button in the "base" subwindow to decimal.

Doing so will change the Value data: on the left from hexadecimal to decimal (In this case from (12ef --> 4847) )

Change the 4847 to reflect the old test, 28433, or whatever your k value is and click OK.

Now do the exact same with the n-value.

Your registry should then look like this

cache REG_WORD 0x00000002 (2) k REG_WORD 0x00006f11 (28433) n REG_WORD 0x0067725f (6670993)

if your cache value is not 2 for example 0 then change this value to 2 as well.

5. Now restart your sb client and it should pickup from where the previous unit left off 68% in this instance.

6. If everything went smoothly now you can reloggin to the sob website and delete the 0% test.

Hope this helps people perhaps we could make this a sticky or incorperate the message into the website etc. Of course anyone could edit I won't scream copywright.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 新注册用户

本版积分规则

论坛官方淘宝店开业啦~
欢迎大家多多支持基金会~

Archiver|手机版|小黑屋|中国分布式计算总站 ( 沪ICP备05042587号 )

GMT+8, 2025-5-12 18:18

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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