linux下源码安装CVS,无法启动服务
linux下安装好CVS之后(用源码安装的),
安装方法大致如何
CVS仓库在/home/cvsroot/src
在 /etc/xinetd.d 目录下创建cvspserver文件
service cvspserver
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/bin/cvs
server_args = -f --allow-root=/home/cvsroot/src pserver
log_on_failure += USERID
disable = no
}
#vi /etc/services
#cvspserver 2401/tcp #pserver cvs service
#cvspserver 2401/udp #pserver cvs service
配置好之后,
关于启动CVS,网上说法不一,大致上有两种方法
/etc/init.d/xinetd restart
/etc/rc.d/init.d/xinetd restart
我运行之后,报错
[root@localhost xinetd.d]# /etc/init.d/xinetd restart
-bash: /etc/init.d/xinetd: No such file or directory
[root@localhost xinetd.d]# /etc/rc.d/init.d/xinetd restart
-bash: /etc/rc.d/init.d/xinetd: No such file or directory
[root@localhost xinetd.d]#
请问,该如何解决
我的系统是 red hat 6.0 企业版
------解决方案--------------------很明显没有安装xinetd 服务