[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svnserve Wont Start - svnserve: auxpropfunc error - xinetd sasl sasldb - PLEASE HELP!

From: Stacy Lucchese <stacylucchese_at_roadrunner.com>
Date: Fri, 10 Jul 2009 14:37:09 -0700

i am a complete newbie to linux and svn - and i need help!!! i've been
looking at this for days and have no idea what is wrong.

 

i have a linux server, architecture i386, kernel version 2.6.18-028stab062.3

apache server version: Apache/2.2.11 (Unix) mod_ssl/2.2.11
OpenSSL/0.9.8e-fips-rhel5 DAV/2 mod_bwlimited/1.4

 

i installed CollabNetSubversion server/client v1.6.3-2 in
/opt/CollabNet_Subversion

 

svn, version 1.6.3 (r38063)

   compiled Jun 23 2009, 16:30:19

 

Copyright (C) 2000-2009 CollabNet.

Subversion is open source software, see http://subversion.tigris.org/

This product includes software developed by CollabNet (
<http://www.collab.net/> http://www.Collab.Net/).

 

svnserve, version 1.6.3 (r38063)

   compiled Jun 23 2009, 16:30:19

 

Copyright (C) 2000-2009 CollabNet.

Subversion is open source software, see http://subversion.tigris.org/

This product includes software developed by CollabNet
(http://www.Collab.Net/).

 

The following repository back-end (FS) modules are available:

 

* fs_fs : Module for working with a plain file (FSFS) repository.

 

Cyrus SASL authentication is available.

 

i created a repository in /home/stacy/svn/repos

 

svnadmin create /svn/repos

 

i imported the files

 

svn import -d -r /home/stacy/svn

 

first I ran svnserve as a daemon because that is the simplest approach, and
it worked. i was able to remotely access my repository and create a working
set on my local pc using tortoiseSVN.

 

then i decided that i should really be running it with sasl authentication.

 

so i am trying to run svnserve via xinetd with SASL authentication

 

in /home/stacy/svn/repos/conf/svnserve.conf:

 

[general]

realm = stacyrealm

anon-access = none

auth-access = write

 

[sasl]

use-sasl = true

min-encryption = 128

max-encryption = 256

 

in /etc/services, the svn entries exist:

 

svn 3690/tcp # Subversion

svn 3690/udp # Subversion

 

in /usr/lib/sas12/svn.conf:

 

pwcheck_method: auxprop

auxprop_plugin: sasldb

sasldb_path: /etc/my_sasldb

mech_list: DIGEST-MD5

 

listing users in the my_sasldb:

 

[root_at_host etc]# sasldblistusers2 -f /etc/my_sasldb

 

stacy_at_stacyrealm: userPassword

jim_at_stacyrealm: userPassword

 

confirmed that the right owner of the my_sasldb is root

 

[root_at_host /]# ls -l /etc/my_sasldb

 

-rw-r--r-- 1 root root 12288 Jul 9 02:03 /etc/my_sasldb

 

in /etc/xinetd.d, created a file svn that contains

 

# default: on

# description: Subversion server for the svn protocol

service svn

{

        disable = no

        port = 3690

        socket_type = stream

        protocol = tcp

        wait = no

        user = root

        server = /opt/CollabNet_Subversion/bin/svnserve

        server_args = -i -r /home/stacy/svn

}

 

confirmed xinetd is running

 

Jul 10 10:12:10 host xinetd[24172]: xinetd Version 2.3.14 started with
libwrap loadavg labeled-networking options compiled in.

Jul 10 10:12:10 host xinetd[24172]: Started working: 2 available services

 

when I try to access the repository remotely, i use tortoiseSVN and use URL:

 

svn://host.stacyshost.com/repos/drupal-6.12

 

in the sys log I see that the 'svn' service tries to start svnserve, but
then I see a failure

 

Jul 10 10:12:27 host xinetd[24172]: START: svn pid=24393 from=##.##.##.###

Jul 10 10:12:27 host svnserve: auxpropfunc error invalid parameter supplied

 

and I don't ever see svnserve as a process running.

 

in the tortoiseSVN repository browser, i am forever prompted to
authenticate, just repeatedly prompts for id and password, i stopped
entering it after 15 times and finally just cancelled.

 

is there any other logs I can look at that would indicate my issue?

 

PLEASE HELP!

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2370434

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-10 23:40:07 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.