[cvsnt] Re: HELP! Can't do commits whenever the server (fedora) isrebooted

Zadikem, Travis tzadikem at picosecond.com
Fri Jan 6 17:55:50 GMT 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


That was it.  thanks!  I added the following as a script to run on startup:
#!/bin/bash
#
# Init file for CVSNT Lock Server daemon
#
# chkconfig: 345 60 50
# description: CVSNT Lock Server daemon
#
# processname: cvslockd
# config: /etc/cvsnt/PServer
# pidfile: /var/run/cvslockd.pid

# source function library
. /etc/rc.d/init.d/functions

RETVAL=0
prog="cvslockd"
cvslockd="/usr/local/bin/cvslockd"

start()
{
	echo -n $"Starting $prog:"
	daemon $cvslockd
	RETVAL=$?
	echo
	[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog
	return $RETVAL
}

stop()
{
	echo -n $"Stopping $prog:"
	killproc $cvslockd -TERM
	RETVAL=$?
	echo
        [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$prog
        return $RETVAL
}

case "$1" in
	start)
		start
		;;
	stop)
		stop
		;;
	restart|reload)
		stop
		start
	        RETVAL=$?
		;;
	condrestart)
		if [ -f /var/lock/subsys/$prog ] ; then
			stop
			start
		        RETVAL=$?
		fi
		;;
	status)
		status $prog
		RETVAL=$?
		;;
	*)
		echo $"Usage: $0 {start|stop|restart|reload|condrestart|status}"
		RETVAL=1
esac
exit $RETVAL


-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
Of Tony Hoyle
Sent: Friday, January 06, 2006 10:25 AM
To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: [cvsnt] Re: HELP! Can't do commits whenever the server (fedora)
isrebooted


Zadikem, Travis wrote:
> Can someone please enlighten me as to what the problem is?   Each my server is rebooted and someone issues something like:
> cvs -d :ssh;username=jsmith;hostname=c.pico.com:/cvs/Tornado2.2 commit -m "no message" -- targetprojPyramid
> they get an error of:
> cvs server: connect to 127.0.0.1(127.0.0.1):2402 failed: Unknown err
> from the client side. 

You need to make sure the lockserver starts on boot.

Tony
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook