lists.arthurdejong.org
RSS feed

CVS server is not working after power outage.

[Date Prev][Date Next] [Thread Prev][Thread Next]

CVS server is not working after power outage.



Hi,

We have CVS server in our company, it was configured long time before I joined.
Server had ~600 days of uptime, but during last weekend we had a power outage.
After that CVS has stopped working and it is unclear for me what exactly went 
wrong.

System is Debian 6.0.7 (Squeeze)
CVS version is 1.12.13
Users are configured in NIS and it is working properly after crash.
All repositories are located in /usr/cvsroot

/etc/cvsd/cvsd.conf:
RootJail /var/lib/cvsd
Uid cvsd
Gid cvsd
Nice 1
Umask 027
PidFile /var/run/cvsd.pid
MaxConnections 10
Log syslog info
Listen * 2401
Repos /demo
Repos /myrepos

/etc/cvs-pserver.conf:
VS_PSERV_REPOS="/usr/cvsroot"
CVS_PSERV_LIMIT_MEM=hard
CVS_PSERV_LIMIT_DATA=hard
CVS_PSERV_LIMIT_CORE=0
CVS_PSERV_LIMIT_CPU=hard


1. I tried to run cvsd as root
2. I tried to add Repos /usr/cvsroot to cvsd.conf
3. I tried to make soft link to /usr/cvsroot to /var/lib/cvsd/usr/cvsroot, but 
got:
cvs [checkout aborted]: unrecognized auth response from cvs: cvs pserver: 
cannot open /usr/cvsroot/CVSROOT/config: Too many levels of symbolic links

4. I tried to change SystemAuth to no and add PamAuth=no
5. /var/lib/cvsd/etc/passwd contains only three users (root, nobody and cvsd)
6. I tried to run cvsd-buildroot -d /usr/cvsroot as described at: 
http://arthurdejong.org/cvsd/faq.html

The standard error on client PC is:
cvs [checkout aborted]: unrecognized auth response from cvs: cvs [pserver 
aborted]: /usr/cvsroot: no such repository
Checkout failed. at /usr/local/bin/process_component_file.pl line 51.
FAILED to process component files

# grep cvsd /var/log/syslog

Jul 28 14:55:56 a cvsd[22565]: caught signal SIGTERM (15), shutting down
Jul 28 14:55:56 a cvsd[22565]: version 1.0.21 bailing out
Jul 28 14:55:56 a cvsd[22577]: version 1.0.21 starting
Jul 28 14:55:56 a cvsd[22577]: listening on 0.0.0.0 2401
Jul 28 14:55:56 a cvsd[22577]: listening on :: 2401
Jul 28 14:55:56 a cvsd[22577]: accepting connections
Jul 28 14:56:01 a cvsd[22577]: connection from 10.172.3.32 50130
Jul 28 14:56:01 a cvsd[22577]: cvs command exited with exit-status 1
Jul 28 14:56:03 a cvsd[22577]: connection from 10.172.2.21 42681


Login attempt to CVS:

user@host:~/v2.6.1-pbl$ cvs -d :pserver:user@cvs:/usr/cvsroot login
Logging in to :pserver:user@cvs:2401/usr/cvsroot
CVS password:
cvs [login aborted]: unrecognized auth response from cvs: cvs [pserver 
aborted]: /usr/cvsroot: no such repository

cvsd running in debug mode:

cvsd: debug: fork() succeeded (child pid=31979)
cvsd: debug: select() failed (ignored): Interrupted system call
cvsd: cvs command exited with exit-status 1


-- 
To unsubscribe send an email to
cvsd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/cvsd-users/