文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>奇怪,CVS出现怪问题

奇怪,CVS出现怪问题

时间:2007-06-19  来源:rockylinux

今天想用一下CVS居然出现了拒绝连接,提示出错信息如下:
Problems reported while synchronizing CVS Workspace. 0 of 1 resources were synchronized. An error occurred synchronizing /Thinking: Could not connect to :pserver:[email protected]:/var/cvs: Cannot connect to host: 拒绝连接 Could not connect to :pserver:[email protected]:/var/cvs: Cannot connect to host: 拒绝连接
真纳闷,前几天用着还没有问题,怎么突然之间就出现这样的问题了呢?
看了看自己的blog,没发现什么异常,再仔细一看,问题出现在这,如下:
# default: on
# description: The CVS service can record the history of your source \
#              files. CVS stores all the versions of a file in a single \
#              file in a clever way that only stores the differences \
#              between versions.
service cvspserver
{
        disable = yes
        port                    = 2401
        socket_type             = stream
        protocol                = tcp
        wait                    = no
        user                    = root
        passenv                 = PATH
        server                  = /usr/bin/cvs
        env                     = HOME=/var/cvs
        server_args             = -f --allow-root=/var/cvs pserver
        bind                    = 127.0.0.1
}
在这段代码中,这是cvs的配置文件,位置是/etc/xinetd.d/下面,发现disable是yes的,这就是问题的所在,将这段的disable=no,就可以了,看到网上也有人问这个问题,这里给出了答案。
如果连接但是很迅速的得到拒绝连接的响应,一半是本地的问题,看看是不是这里出了问题,但是没有弄明白的是为什么它自己就变成这样了呢?我前几天还在用阿?纳闷。
好了,解决了,可以睡觉了。
Linux真神奇..........
相关阅读 更多 +
排行榜 更多 +
爱是小事最新版

爱是小事最新版

休闲益智 下载
悬案2刹那惊颤游戏

悬案2刹那惊颤游戏

冒险解谜 下载
几何飞行内购修改版

几何飞行内购修改版

飞行射击 下载