cvsd can not runing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cvsd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cvsd
$ sudo /etc/init.d/cvsd restart
* Restarting cvs pserver chroot wrapper cvsd [ OK ]
$ ps -A|grep cvsd
$
$ cat /etc/cvsd/cvsd.conf
# This is the configuration file for cvsd.
# See the manual page cvsd.conf(5) for more information.
#
# You can also use 'dpkg-reconfigure cvsd' to modify these
# settings.
#
# See the "Password authentication server"
# section in the cvs texinfo for more information
# about running a pserver.
# RootJail <path>
# This is the location of the chroot jail
# cvs should be run in.
# Specify 'none' (without quotes) to not use
# a chroot jail.
# This directory should be initialized with
# the cvsd-buildroot script.
RootJail /var/lib/cvsd
# Uid <uid>
# This specifies which user id cvs should be
# run as. This can be a numerical id or
# a symbolic value.
Uid cvsd
# Gid <gid>
# This specifies which group id cvs should be
# run as. This can be a numerical id or
# a symbolic value.
Gid cvsd
# CvsCommand <path>
# If you define this it should point to the cvs
# command to execute. Otherwise "/bin/cvs" will
# be used if a RootJail is configured and the
# cvs command found at compiletime otherwise.
# The path should be relative to the specified
# RootJail and should start with a '/'.
# CvsArgs <arg>...
# Additional arguments to pass to the cvs command.
# For example, to enable read-only access to the
# repository, pass the -R option.
# Nice <num>
# This specifies the nice value (on most systems
# ranging from -20 to 20) where the smaller the number
# (more negative) the higher the priority.
Nice 1
# Umask <mask>
# This specifies a umask used by the cvs pserver when
# creating files. Specify as an octal value.
Umask 027
# Limit <resource> <value>
# <resource> can be one of: coredumpsize, cputime, datasize, filesize,
# memorylocked, openfiles, maxproc, memoryuse, stacksize or virtmem.
# <value> is the maximum value for the given resource. For size values
# a suffix of 'b', 'k' or 'm' can be specified ('k' is default). Time
# values can be formatted as 'mm:ss' or have 'm' or 's' suffixes
# ('s' is default).
# PidFile <file>
# This specifies the location the process id of the
# daemon is written.
PidFile /var/run/cvsd.pid
# Listen <address> <port>
# The addresses and ports to listen on for connections.
#Listen * 2401
# MaxConnections <num>
# The maximum number of connections that will
# be handled simultaneously. 0 is unlimited.
MaxConnections 10
# Log <scheme/file> [<loglevel>]
# The way logging is done. Either none, syslog or a
# filename may be specified, followed by an optional
# loglevel. Loglevel may be one of:
# crit, error, warning, notice, info (default) or debug.
# This option can be supplied multiple times.
# If this option is not specified syslog info is assumed.
Log syslog info
#Log /var/log/cvsd.log debug
# Repos <path>
# This option specifies which repositories
# can be used. The value is passed as a
# --allow-root=<path> parameter to cvs.
# The path should be relative to the specified
# RootJail and should start with a '/'.
# This option can be supplied multiple times.
Listen * 2401
Repos /repository
$ ll -R /var/lib/cvsd/
/var/lib/cvsd/:
总用量 40
drwxr-xr-x 10 cvsd cvsd 4096 2010-08-21 11:11 ./
drwxr-xr-x 67 root root 4096 2010-08-21 11:08 ../
drwxr-xr-x 2 cvsd cvsd 4096 2010-08-21 11:08 bin/
drwxr-xr-x 2 cvsd cvsd 4096 2010-08-21 11:08 dev/
drwxr-xr-x 2 cvsd cvsd 4096 2010-08-21 11:08 etc/
drwxr-xr-x 3 cvsd cvsd 4096 2010-08-21 11:08 lib/
drwxr-xr-x 2 cvsd cvsd 4096 2010-08-21 11:08 lib64/
drwxr-xr-x 3 cvsd cvsd 4096 2010-08-21 11:34 repository/
drwxrwxrwt 3 cvsd cvsd 4096 2010-08-21 12:08 tmp/
drwxr-xr-x 2 cvsd cvsd 4096 2010-08-21 11:08 usr/
/var/lib/cvsd/bin:
总用量 696
drwxr-xr-x 2 cvsd cvsd 4096 2010-08-21 11:08 ./
drwxr-xr-x 10 cvsd cvsd 4096 2010-08-21 11:11 ../
-rwxr-xr-x 1 cvsd cvsd 704500 2010-08-21 11:08 cvs*
/var/lib/cvsd/dev:
总用量 8
drwxr-xr-x 2 cvsd cvsd 4096 2010-08-21 11:08 ./
drwxr-xr-x 10 cvsd cvsd 4096 2010-08-21 11:11 ../
crw-rw-rw- 1 cvsd cvsd 1, 3 2010-08-21 09:37 null
crw-rw-rw- 1 cvsd cvsd 1, 5 2010-08-21 09:37 zero
/var/lib/cvsd/etc:
总用量 12
drwxr-xr-x 2 cvsd cvsd 4096 2010-08-21 11:08 ./
drwxr-xr-x 10 cvsd cvsd 4096 2010-08-21 11:11 ../
-rw-r--r-- 1 cvsd cvsd 113 2010-08-21 11:08 passwd
/var/lib/cvsd/lib:
总用量 408
drwxr-xr-x 3 cvsd cvsd 4096 2010-08-21 11:08 ./
drwxr-xr-x 10 cvsd cvsd 4096 2010-08-21 11:11 ../
-rwxr-xr-x 1 cvsd cvsd 113964 2010-08-21 11:08 ld-linux.so.2*
-rwxr-xr-x 1 cvsd cvsd 79676 2010-08-21 11:08 libnsl.so.1*
-rwxr-xr-x 1 cvsd cvsd 30496 2010-08-21 11:08 libnss_compat.so.2*
-rwxr-xr-x 1 cvsd cvsd 42572 2010-08-21 11:08 libnss_files.so.2*
-rwxr-xr-x 1 cvsd cvsd 46684 2010-08-21 11:08 libpam.so.0*
-rwxr-xr-x 1 cvsd cvsd 79512 2010-08-21 11:08 libz.so.1*
drwxr-xr-x 3 cvsd cvsd 4096 2010-08-21 11:08 tls/
/var/lib/
总用量 12
drwxr-xr-x 3 cvsd cvsd 4096 2010-08-21 11:08 ./
drwxr-xr-x 3 cvsd cvsd 4096 2010-08-21 11:08 ../
drwxr-xr-x 3 cvsd cvsd 4096 2010-08-21 11:08 i686/
/var/lib/
总用量 12
drwxr-xr-x 3 cvsd cvsd 4096 2010-08-21 11:08 ./
drwxr-xr-x 3 cvsd cvsd 4096 2010-08-21 11:08 ../
drwxr-xr-x 2 cvsd cvsd 4096 2010-08-21 11:08 cmov/
/var/lib/
总用量 1664
drwxr-xr-x 2 cvsd cvsd 4096 2010-08-21 11:08 ./
drwxr-xr-x 3 cvsd cvsd 4096 2010-08-21 11:08 ../
-rwxr-xr-x 1 cvsd cvsd 38360 2010-08-21 11:08 libcrypt.so.1*
-rwxr-xr-x 1 cvsd cvsd 1405508 2010-08-21 11:08 libc.so.6*
-rwxr-xr-x 1 cvsd cvsd 9736 2010-08-21 11:08 libdl.so.2*
-rwxr-xr-x 1 cvsd cvsd 79676 2010-08-21 11:08 libnsl.so.1*
-rwxr-xr-x 1 cvsd cvsd 117086 2010-08-21 11:08 libpthread.so.0*
-rwxr-xr-x 1 cvsd cvsd 30684 2010-08-21 11:08 librt.so.1*
/var/lib/
总用量 8
drwxr-xr-x 2 cvsd cvsd 4096 2010-08-21 11:08 ./
drwxr-xr-x 10 cvsd cvsd 4096 2010-08-21 11:11 ../
/var/lib/
总用量 12
drwxr-xr-x 3 cvsd cvsd 4096 2010-08-21 11:34 ./
drwxr-xr-x 10 cvsd cvsd 4096 2010-08-21 11:11 ../
drwxrwxr-x 3 cvsd cvsd 4096 2010-08-21 12:29 CVSROOT/
/var/lib/
总用量 200
drwxrwxr-x 3 cvsd cvsd 4096 2010-08-21 12:29 ./
drwxr-xr-x 3 cvsd cvsd 4096 2010-08-21 11:34 ../
-r--r--r-- 1 cvsd cvsd 495 2010-08-21 12:28 checkoutlist
-r--r--r-- 1 cvsd cvsd 495 2010-08-21 11:34 .#checkoutlist
-r--r--r-- 1 cvsd cvsd 730 2010-08-21 11:34 checkoutlist,v
-r--r--r-- 1 cvsd cvsd 1232 2010-08-21 12:28 commitinfo
-r--r--r-- 1 cvsd cvsd 1232 2010-08-21 11:34 .#commitinfo
-r--r--r-- 1 cvsd cvsd 1467 2010-08-21 11:34 commitinfo,v
-r--r--r-- 1 cvsd cvsd 4093 2010-08-21 12:29 config
-r--r--r-- 1 cvsd cvsd 4093 2010-08-21 11:36 .#config
-r--r--r-- 1 cvsd cvsd 4317 2010-08-21 11:34 config,v
-r--r--r-- 1 cvsd cvsd 602 2010-08-21 12:28 cvswrappers
-r--r--r-- 1 cvsd cvsd 602 2010-08-21 11:34 .#cvswrappers
-r--r--r-- 1 cvsd cvsd 837 2010-08-21 11:34 cvswrappers,v
drwxrwxr-x 2 cvsd cvsd 4096 2010-08-21 11:34 Emptydir/
-rw-rw-r-- 1 cvsd cvsd 0 2010-08-21 11:34 history
-r--r--r-- 1 cvsd cvsd 1872 2010-08-21 12:28 loginfo
-r--r--r-- 1 cvsd cvsd 1872 2010-08-21 11:34 .#loginfo
-r--r--r-- 1 cvsd cvsd 2107 2010-08-21 11:34 loginfo,v
-r--r--r-- 1 cvsd cvsd 1151 2010-08-21 12:28 modules
-r--r--r-- 1 cvsd cvsd 1151 2010-08-21 11:34 .#modules
-r--r--r-- 1 cvsd cvsd 1386 2010-08-21 11:34 modules,v
-r--r--r-- 1 cvsd cvsd 876 2010-08-21 12:28 notify
-r--r--r-- 1 cvsd cvsd 876 2010-08-21 11:34 .#notify
-r--r--r-- 1 cvsd cvsd 1111 2010-08-21 11:34 notify,v
-rw-r--r-- 1 cvsd cvsd 25 2010-08-21 12:30 passwd
-r--r--r-- 1 cvsd cvsd 922 2010-08-21 12:28 postadmin
-r--r--r-- 1 cvsd cvsd 922 2010-08-21 11:34 .#postadmin
-r--r--r-- 1 cvsd cvsd 1157 2010-08-21 11:34 postadmin,v
-r--r--r-- 1 cvsd cvsd 1105 2010-08-21 12:28 postproxy
-r--r--r-- 1 cvsd cvsd 1105 2010-08-21 11:34 .#postproxy
-r--r--r-- 1 cvsd cvsd 1340 2010-08-21 11:34 postproxy,v
-r--r--r-- 1 cvsd cvsd 1898 2010-08-21 12:28 posttag
-r--r--r-- 1 cvsd cvsd 1898 2010-08-21 11:34 .#posttag
-r--r--r-- 1 cvsd cvsd 2133 2010-08-21 11:34 posttag,v
-r--r--r-- 1 cvsd cvsd 957 2010-08-21 12:28 postwatch
-r--r--r-- 1 cvsd cvsd 957 2010-08-21 11:34 .#postwatch
-r--r--r-- 1 cvsd cvsd 1192 2010-08-21 11:34 postwatch,v
-r--r--r-- 1 cvsd cvsd 1203 2010-08-21 12:28 preproxy
-r--r--r-- 1 cvsd cvsd 1203 2010-08-21 11:34 .#preproxy
-r--r--r-- 1 cvsd cvsd 1438 2010-08-21 11:34 preproxy,v
-r--r--r-- 1 cvsd cvsd 649 2010-08-21 12:28 rcsinfo
-r--r--r-- 1 cvsd cvsd 649 2010-08-21 11:34 .#rcsinfo
-r--r--r-- 1 cvsd cvsd 884 2010-08-21 11:34 rcsinfo,v
-r--r--r-- 1 cvsd cvsd 2255 2010-08-21 12:28 taginfo
-r--r--r-- 1 cvsd cvsd 2255 2010-08-21 11:34 .#taginfo
-r--r--r-- 1 cvsd cvsd 2490 2010-08-21 11:34 taginfo,v
-rw-rw-r-- 1 cvsd cvsd 0 2010-08-21 11:34 val-tags
-r--r--r-- 1 cvsd cvsd 1481 2010-08-21 12:28 verifymsg
-r--r--r-- 1 cvsd cvsd 1481 2010-08-21 11:34 .#verifymsg
-r--r--r-- 1 cvsd cvsd 1716 2010-08-21 11:34 verifymsg,v
/var/lib/
总用量 8
drwxrwxr-x 2 cvsd cvsd 4096 2010-08-21 11:34 ./
drwxrwxr-x 3 cvsd cvsd 4096 2010-08-21 12:29 ../
/var/lib/cvsd/tmp:
总用量 12
drwxrwxrwt 3 cvsd cvsd 4096 2010-08-21 12:08 ./
drwxr-xr-x 10 cvsd cvsd 4096 2010-08-21 11:11 ../
drwxr-xr-x 2 cvsd cvsd 4096 2010-08-21 12:08 repository/
/var/lib/
总用量 8
drwxr-xr-x 2 cvsd cvsd 4096 2010-08-21 12:08 ./
drwxrwxrwt 3 cvsd cvsd 4096 2010-08-21 12:08 ../
/var/lib/cvsd/usr:
总用量 8
drwxr-xr-x 2 cvsd cvsd 4096 2010-08-21 11:08 ./
drwxr-xr-x 10 cvsd cvsd 4096 2010-08-21 11:11 ../
lrwxrwxrwx 1 cvsd cvsd 6 2010-08-21 11:08 bin -> ../bin/
lrwxrwxrwx 1 cvsd cvsd 6 2010-08-21 11:08 lib -> ../lib/
lrwxrwxrwx 1 cvsd cvsd 8 2010-08-21 11:08 lib64 -> ../lib64/
$ cat /var/lib/
# Set `SystemAuth' to `no' if pserver shouldn't check system users/passwords.
SystemAuth=no
PamAuth=no
# Set `LocalKeyword' to specify a local alias for a standard keyword.
#LocalKeyword=
# Set `KeywordExpand' to `i' followed by a list of keywords to expand or
# `e' followed by a list of keywords to not expand.
#KeywordExpand=
#KeywordExpand=
# Set `TopLevelAdmin' to `yes' to create a CVS directory at the top
# level of the new working directory when using the `cvs checkout'
# command.
#TopLevelAdmin=no
# Put CVS lock files in this directory rather than directly in the repository.
LockDir=
# Set `LogHistory' to `all' or `TOEFWUPCGMAR' to log all transactions to the
# history file, or a subset as needed (ie `TMAR' logs all write operations)
#LogHistory=
# Set `RereadLogAfter
# script to change the log message. Set it to `stat' to force CVS to verify
# that the file has changed before reading it (this can take up to an extra
# second per directory being committed, so it is not recommended for large
# repositories. Set it to `never' (the previous CVS behavior) to prevent
# verifymsg scripts from changing the log message.
#RereadLogAfter
# Set `UserAdminOptions' to the list of `cvs admin' commands (options)
# that users not in the `cvsadmin' group are allowed to run. This
# defaults to `k', or only allowing the changing of the default
# keyword expansion mode for files for users not in the `cvsadmin' group.
# This value is ignored if the `cvsadmin' group does not exist.
#
# The following string would enable all `cvs admin' commands for all
# users:
#UserAdminOptio
# Set `UseNewInfoFmtS
# enabling the deprecated old style info file command line format strings.
# Be warned that these strings could be disabled in any new version of CVS.
UseNewInfoFmtSt
# Set `ImportNewFiles
# every `cvs import' command to behave as if the `-X' flag was
# specified.
#ImportNewFiles
# Set `PrimaryServer' to the CVSROOT to the primary, or write, server when
# establishing one or more read-only mirrors which serve as proxies for
# the write server in write mode or redirect the client to the primary for
# write requests.
#
# For example:
#
# PrimaryServer=
# Set `MaxProxyBuffer
# buffer memory cache size before the buffer begins being stored to disk, in
# bytes. Must be a positive integer but may end in `k', `M', `G', or `T' (for
# kiilo, mega, giga, & tera, respectively). If an otherwise valid number you
# specify is greater than the SIZE_MAX defined by your system's C compiler,
# then it will be resolved to SIZE_MAX without a warning. Defaults to 8M (8
# megabytes).
#
# High values for MaxProxyBufferSize may speed up a secondary server
# with old hardware and a lot of available memory but can actually slow a
# modern system down slightly.
#
# For example:
#
# MaxProxyBufferS
# Set `MaxCommentLead
# automagically determined comment leader used when expanding the Log
# keyword, in bytes. CVS's behavior when the automagically determined
# comment leader exceeds this length is dependant on the value of
# `UseArchiveComm
# setting for this value. Defaults to 20 bytes.
#
# For example:
#
# MaxCommentLeade
# Set `UseArchiveComm
# the comment leader set in the RCS archive file, if any, when the
# automagically determined comment leader exceeds `MaxCommentLead
# bytes. If `UseArchiveComm
# greater than `MaxCommentLead
# being examined will not be expanded. Defaults to `no'.
#
# For example:
#
# UseArchiveComme
If cvsd fails to start it should log the reason to syslog (check /var/log/syslog). Also cvsd has a script included (cvsd-buginfo) that gathers all needed information for most bug reports and checks for common misconfigurations.
Can you check /var/log/syslog and provide the output of cvsd-buginfo?