Forum Moderators: bakedjake
/etc/init.d/xinetd reload and/or /etc/rc.d/init.d/xinetd reload (one or the other... sometimes both). Once I do that, CVS works great until next reboot, after which I have to repeat the above procedure. I've quadruple checked the configuration. Firewall is open on port 2401. There are no meta characters (and such) in xinetd.conf. Permissions are properly set for CVS. All it takes is to reload the xinetd configuration, and it will work.
Any ideas? :(
Next reboot, do a "ps -aux¦grep xinetd", see if it's running.
If it isn't, then it's a setting somewhere to tell the system to start xinetd.
If it is, then maybe xinetd is using another config file, possibly a default one when it starts up, but the proper one when it reloads?
If it is difficult to identify, you may have to reload everything in init.d one at a time, and see if the CVS server works after reloading each other daemon. If it stops working after reloading a particular init.d script, the problem must lie within that script.
#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/defaults
{
instances = 60
log_type = SYSLOG authpriv
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}includedir /etc/xinetd.d
cvspserver stream tcp nowait root /usr/bin/cvs cvs --allow-root=/repository pserver
that way you don't need to open up the CVS port, or have the pserver service. People would just have an account (and you can create an anonymous account) to co and ci.