CnPack Forum


 
Subject: 我的CVSTracNT数据库昨天坏掉了,有修复工具吗?
cdma3125
新警察
Rank: 1



UID 824
Digest Posts 0
Credits 23
Posts 23
点点分 23
Reading Access 10
Registered 2005-5-6
Status Offline
Post at 2005-9-10 09:16  Profile | Blog | P.M. 
我的CVSTracNT数据库昨天坏掉了,有修复工具吗?

昨天提交任务单时出错了,看时间线,WIKI等出不来了。不知有什么修复工具没有?
直接打开repos.db,还能看到原来的内容的。
Top
zjy
管理员
Rank: 9Rank: 9Rank: 9



UID 2
Digest Posts 6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
Post at 2005-9-14 22:08  Profile | Site | Blog | P.M. 
请问是由于什么原因损坏的呢?
CVSTracNT 使用 SQLite 2.8.6 编译,数据库也是这个版本的格式,您可以到网上找找这种数据库的相关工具试试。




Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Top
cdma3125
新警察
Rank: 1



UID 824
Digest Posts 0
Credits 23
Posts 23
点点分 23
Reading Access 10
Registered 2005-5-6
Status Offline
Post at 2005-9-14 22:16  Profile | Blog | P.M. 
我找了可以浏览数据库的工具,发现表格的内容都能读出。估计是系统可能有什么问题。是在显示时间线时,只显示页头及<table ce

显示报表时,只显示页头,其他为空。
显示WiKI时,也只显示空页。
Top
zjy
管理员
Rank: 9Rank: 9Rank: 9



UID 2
Digest Posts 6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
Post at 2005-9-15 09:04  Profile | Site | Blog | P.M. 
你试试先把所有数据库备份后,再安装最新的 CVSTracNT 版本,看能否工作?
http://download.cnpack.org/CVSTracNT_1.2.0_Unstable.exe




Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Top
zjy
管理员
Rank: 9Rank: 9Rank: 9



UID 2
Digest Posts 6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
Post at 2005-9-16 11:21  Profile | Site | Blog | P.M. 
我在网上找了一下,sqlite 并没有提供数据库修复工具。所以我在新的 CVSTracNT 1.2.0 版中使用了最新的 sqlite 源码编译,并且增加了每天自动备份数据库的功能,您可以下载测试一下。




Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Top
cdma3125
新警察
Rank: 1



UID 824
Digest Posts 0
Credits 23
Posts 23
点点分 23
Reading Access 10
Registered 2005-5-6
Status Offline
Post at 2005-9-16 11:27  Profile | Blog | P.M. 
好的,我会测试的。先谢谢了!

用惯了这软件,没有了觉得太不方便了。
Top
cdma3125
新警察
Rank: 1



UID 824
Digest Posts 0
Credits 23
Posts 23
点点分 23
Reading Access 10
Registered 2005-5-6
Status Offline
Post at 2005-9-16 11:29  Profile | Blog | P.M. 
好象不能下载啊。
Top
zjy
管理员
Rank: 9Rank: 9Rank: 9



UID 2
Digest Posts 6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
Post at 2005-9-16 11:36  Profile | Site | Blog | P.M. 
应该可以啊,或者服务器不稳定,再试试?




Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Top
cdma3125
新警察
Rank: 1



UID 824
Digest Posts 0
Credits 23
Posts 23
点点分 23
Reading Access 10
Registered 2005-5-6
Status Offline
Post at 2005-9-19 20:48  Profile | Blog | P.M. 
在另一台电脑上安装了新版本CVSTracNT的,把老数据库复制过去,可以正常运行了。看来是老电脑上安装了什么软件有冲突,在新版本下仍然不行。谢谢版本的热心帮助!
Top
cdma3125
新警察
Rank: 1



UID 824
Digest Posts 0
Credits 23
Posts 23
点点分 23
Reading Access 10
Registered 2005-5-6
Status Offline
Post at 2005-9-19 23:22  Profile | Blog | P.M. 
我在这台老电脑上输入 http://127.0.0.1:2040/repos/index
地址栏的内容会自动变成http://127.0.0.1:2040/repos/login?nxp=/repos/index
然后就显示(好象登录画面有时会闪一下)

找不到服务器或发生 DNS 错误
Internet Explorer

这台电脑访问其他网站都正常的。
Top
cdma3125
新警察
Rank: 1



UID 824
Digest Posts 0
Credits 23
Posts 23
点点分 23
Reading Access 10
Registered 2005-5-6
Status Offline
Post at 2005-9-20 14:10  Profile | Blog | P.M. 
今天发现从其他电脑访问这台出问题的服务器,数据已经正常了。但从服务器本身的浏览器中访问时,用监视程序发现,登录页面的数据是全部返回的,但后面紧跟着2个SOCKS错误:10035和10054

从网上查得此2个错误的有关说明如下:
Socket error (#10035): Resource temporarily unavailable.

Analyse & Solutions: This error is returned from operations on nonblocking sockets that cannot be completed immediately, for example recv when no data is queued to be read from the socket. It is a nonfatal error, and the operation should be retried later. It is normal for WSAEWOULDBLOCK to be reported as the result from calling connect on a nonblocking SOCK_STREAM socket, since some time must elapse for the connection to be established.


Socket error (#10054): Connection reset by peer.

Analyse & Solutions: An existing connection was forcibly closed by the remote host. This normally results if the peer application on the remote host is suddenly stopped, the host is rebooted, the host or remote network interface is disabled, or the remote host uses a hard close (see setsockopt for more information on the SO_LINGER option on the remote socket). This error may also result if a connection was broken due to keep-alive activity detecting a failure while one or more operations are in progress. Operations that were in progress fail with WSAENETRESET. Subsequent operations fail with WSAECONNRESET.


百思不得其解。
Top
cdma3125
新警察
Rank: 1



UID 824
Digest Posts 0
Credits 23
Posts 23
点点分 23
Reading Access 10
Registered 2005-5-6
Status Offline
Post at 2005-9-20 14:29  Profile | Blog | P.M. 
会不会与CVSTracNT服务软件中连接时间设置有关?没等连接正常结束就断开。因为当时出错时是从其他电脑访问的,从浏览器的页面源码看是只返回结果页面的一小部分。
Top
zjy
管理员
Rank: 9Rank: 9Rank: 9



UID 2
Digest Posts 6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
Post at 2005-9-20 14:38  Profile | Site | Blog | P.M. 
这个问题有些奇怪。cvstrac 是在 cygwin 下编译的,sock 部分也是调用 cygwin 里的服务,我没有留意过这部分代码,有空查查。

这个问题可以在多台机器上重现吗?




Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Top
cdma3125
新警察
Rank: 1



UID 824
Digest Posts 0
Credits 23
Posts 23
点点分 23
Reading Access 10
Registered 2005-5-6
Status Offline
Post at 2005-9-20 18:04  Profile | Blog | P.M. 
突然想到,会不会与浏览器有关,立马下载安装了firefox1.5,发现竟然可以,而用IE类的浏览器就是不行。奇怪的现象!
Top
 




All times are GMT++8, the time now is 2024-3-29 16:12

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.008529 second(s), 9 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP