info-cvs
[Top][All Lists]
Advanced

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

Re: CVS pserver "no such repository" error


From: Larry Jones
Subject: Re: CVS pserver "no such repository" error
Date: Thu, 1 Mar 2007 12:32:53 -0500 (EST)

Jolly Roger writes:
> 
> That's what I've read everywhere.  But I've retyped that line 
> letter-for-letter in the /etc/xinetd.d/cvspserver startup file more 
> than once. And there are no typos that I can see in that file or on the 
> command line.
> 
> I'm at a loss.  It's got to be something else.

That's the only thing that causes that particular message.  It's
possible that there's some kind of memory corruption that's messing up
the in-memory list of allowable roots.  Try applying the following patch
and rebuilding -- that will log additional info in the syslog to help
diagnose the problem:

Index: root.c
===================================================================
RCS file: /cvsroot/cvs/ccvs/src/root.c,v
retrieving revision 1.60.2.16
diff -u -r1.60.2.16 root.c
--- root.c      7 Dec 2005 19:39:25 -0000       1.60.2.16
+++ root.c      1 Mar 2007 17:28:58 -0000
@@ -17,6 +17,7 @@
 #include "cvs.h"
 #include <assert.h>
 #include "getline.h"
+#include <syslog.h>
 
 /* Printable names for things in the current_parsed_root->method enum variable.
    Watch out if the enum is changed in cvs.h! */
@@ -255,6 +256,9 @@
     for (i = 0; i < root_allow_count; ++i)
        if (strcmp (root_allow_vector[i], arg) == 0)
            return 1;
+    syslog (LOG_DAEMON | LOG_INFO, "Unable to find root `%s' in:", arg);
+    for (i = 0; i < root_allow_count; ++i)
+       syslog (LOG_DAEMON | LOG_INFO, "    `%s'", root_allow_vector[i]);
     return 0;
 }
 
-Larry Jones

Another casualty of applied metaphysics. -- Hobbes




reply via email to

[Prev in Thread] Current Thread [Next in Thread]