CnPack Forum » CVSTrac 相关问题 » 我的CVSTracNT数据库昨天坏掉了,有修复工具吗?


2005-9-10 09:16 cdma3125
我的CVSTracNT数据库昨天坏掉了,有修复工具吗?

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

2005-9-14 22:08 zjy
请问是由于什么原因损坏的呢?
CVSTracNT 使用 SQLite 2.8.6 编译,数据库也是这个版本的格式,您可以到网上找找这种数据库的相关工具试试。

2005-9-14 22:16 cdma3125
我找了可以浏览数据库的工具,发现表格的内容都能读出。估计是系统可能有什么问题。是在显示时间线时,只显示页头及<table ce

显示报表时,只显示页头,其他为空。
显示WiKI时,也只显示空页。

2005-9-15 09:04 zjy
你试试先把所有数据库备份后,再安装最新的 CVSTracNT 版本,看能否工作?
[url]http://download.cnpack.org/CVSTracNT_1.2.0_Unstable.exe[/url]

2005-9-16 11:21 zjy
我在网上找了一下,sqlite 并没有提供数据库修复工具。所以我在新的 CVSTracNT 1.2.0 版中使用了最新的 sqlite 源码编译,并且增加了每天自动备份数据库的功能,您可以下载测试一下。

2005-9-16 11:27 cdma3125
好的,我会测试的。先谢谢了!

用惯了这软件,没有了觉得太不方便了。

2005-9-16 11:29 cdma3125
好象不能下载啊。

2005-9-16 11:36 zjy
应该可以啊,或者服务器不稳定,再试试?

2005-9-19 20:48 cdma3125
在另一台电脑上安装了新版本CVSTracNT的,把老数据库复制过去,可以正常运行了。看来是老电脑上安装了什么软件有冲突,在新版本下仍然不行。谢谢版本的热心帮助!

2005-9-19 23:22 cdma3125
我在这台老电脑上输入 [url]http://127.0.0.1:2040/repos/index[/url]
地址栏的内容会自动变成[url]http://127.0.0.1:2040/repos/login?nxp=/repos/index[/url]
然后就显示(好象登录画面有时会闪一下)

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

这台电脑访问其他网站都正常的。

2005-9-20 14:10 cdma3125
今天发现从其他电脑访问这台出问题的服务器,数据已经正常了。但从服务器本身的浏览器中访问时,用监视程序发现,登录页面的数据是全部返回的,但后面紧跟着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.


百思不得其解。

2005-9-20 14:29 cdma3125
会不会与CVSTracNT服务软件中连接时间设置有关?没等连接正常结束就断开。因为当时出错时是从其他电脑访问的,从浏览器的页面源码看是只返回结果页面的一小部分。

2005-9-20 14:38 zjy
这个问题有些奇怪。cvstrac 是在 cygwin 下编译的,sock 部分也是调用 cygwin 里的服务,我没有留意过这部分代码,有空查查。

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

2005-9-20 18:04 cdma3125
突然想到,会不会与浏览器有关,立马下载安装了firefox1.5,发现竟然可以,而用IE类的浏览器就是不行。奇怪的现象!

页: [1]


Powered by Discuz! Archiver 5.0.0  © 2001-2006 Comsenz Inc.