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

svnserve does not start correctly

From: Rainer Rakow <R.Rakow_at_gmx.de>
Date: 2006-01-19 17:43:17 CET

Dear Authors and Developers,

last week i bought the Book about Subversion in german language. First off all I have to say, very good work, makes pleassure to read it :-))

But is still have the following problem:
My configuration:

Suse Linux 9.1
Kernel: 2.6.4-52
GCC: 3.3.3
Subversion :

svn, version 1.3.0 (r17949)
compiled Jan 14 2006, 12:57:28

svnserve, version 1.3.0 (r17949)
compiled Jan 14 2006, 12:57:28

When is start svnserve as deamon ("svnserve -d") from the bash, it makes the repository available on port 3690 as it shoud be.

I tested this with "telnet localhost 3690" with following reply:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
( success ( 1 2 ( ANONYMOUS ) ( edit-pipeline ) ) )

But if i start svnserve over xinetd it does not work correctly.

folowing you can see the contents of /etc/xinetd.d/svnserve

service svnserve
{
        port = 3690
        socket_type = stream
        protocol = tcp
        user = SVN_User
        group = subversion
        server = /usr/local/bin/svnserve
        server_args = -i
        wait = no
        disable = no
}

the user may not be the problem, because when I start svnserve -d form bash by this user, there are no problems with the server.

after reboot I can see with webmin -> network -> xinetd
      Service name Type Port / number Protocol User Server program Enabled?

      svnserve Internet 3690 TCP SVN_User /usr/local/bin/svnserve Yes

seems to be OK so far, but when I open a terminal and test fuction of the svn server with "telnet localhost 3690" I only can see follwoing:

linux:~ # telnet localhost 3690
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
Trying ::1...
telnet: connect to address ::1: Connection refused
linux:~ #

when I the start from the commandline svnserve .d then everything is OK;

linux:~ # svnserve -d
linux:~ # telnet localhost 3690
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
( success ( 1 2 ( ANONYMOUS ) ( edit-pipeline ) ) )

But how can I manage to get the server working on bootup???

Best regards and hopefully wainting for an idea....

Rainer Rakow
Received on Fri Jan 20 04:50:56 2006

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.