On Sun, Dec 19, 2010 at 11:03:16PM -0800, David wrote:
> ./svnadmin create --pre-1.5-compatible /local/svnroot/repository/one
> #start the ./subversion/bin/svnserve

How did you really invoke svnserve? Did you pass any options?

You need to tell svnserve where to find repositories.
This is done with the --root option.

> #configure ./one/conf/svnserve.conf, authz, passwd
> svn://172.18.127.148/one

svnserve in daemon mode can only listen on a single IP address.
If you don't specify the address when you start svnserve, it asks
the operating system for some address it can use. If the OS decides
to return an IPv6 address (default on many systems these days),
you won't be able to connect to svnserve via the IPv4 address.
This is done with the --listen-host option.

> It is ok to view logs via TortoiseSVN-->Show log
> 
> 
> But:
> ./svnadmin create /local/svnroot/repository/test
> #configure ./one/conf/svnserve.conf, authz, passwd
> svn://172.18.127.148/test
> An error happen when i try to view logs via TortoiseSVN-->Show log

Try something like this:

svnserve --listen-host 172.18.127.148 --root /local/svn/root/repository

You should now be able to connect to either repository.

svn://172.18.127.148/one
svn://172.18.127.148/test

Stefan

Reply via email to