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

Re: Running a SVN Server - help!

From: neoAKiRAz <neoakiraz_at_gmail.com>
Date: 2007-05-10 16:07:51 CEST

I wrongly sent this responses to the user rather than the mailing list. I
send them all together in this mail.

----
I'm sorry for the missing info. I'm running a Kubuntu Edgy distribution of
Linux with 2.6.17-11-generic Kernel. As for how the server was setup, I
followed the guide I posted earlier, and although I went through the man of
most of the commands in that guide, I didn't understood most of the things I
did. So, about the process itself that's about all I can tell you.
I have dynamic IP, so I subscribed at www.no-ip.org and successfully
installed the daemon, so that I can access my PC from a static URL. That's
working correctly.
I'm connected to the Internet through a router, and have already forwarded
port 3690 (the one mentioned in the /etc/xinet.d/svn file I seem to have
created). I'm not sure if that's necessary/correct.
I didn't configure apache, the point of it would be accessing my SVN server
through a web server? I think the intend of that guide is to access the SVN
server through ssh though, although I'm not really sure if that's correct if
I want to access from TortoiseSVN and eSVN.
I installed OpenSSH Server, so that sshd is running. I didn't do anything
else than installing the package from Synaptic, though.
I forgot to mention it but I also tried 'svn checkout
file://srv/svn/repositories/svnpl/' with no luck. I switched all the
'svntest' in that guide for 'svnpl'. I also deleted the original directory
tree imported (svn import... (guide)), thinking it wasn't needed. But now I
realize that
neoakiraz@fcksys:/srv/svn/repositories/svnpl$ find . | grep trunk
outputs nothing... Maybe I shouldn't have deleted it :(
Looking for some guidance,
Bruno
---
I forgot to post the output to the checkout error:
neoakiraz@fcksys:~/SVNs_and_Sources$ svn co
file://srv/svn/repositories/svnpl/
svn: Unable to open an ra_local session to URL
svn: Local URL 'file://srv/svn/repositories/svnpl' contains unsupported
hostname
That happens even if I previously run 'svnserve -d', just in case.
---
I was missing a '/' and the 'svnserve -d'...!!!
It works now with 'svn co file:///srv/svn/repositories/svnpl'.
And it also works with 'svn co svn://my_url/svnpl' after doing a 'svnserve
-d -r /srv/svn/repositories/'. The problem now is that I cannot commit
changes:
svn co svn://my_url/svnpl
(...output...)
cd svnpl
echo "hi" > myfile
svn add myfile
svn commit .
There I enter the commit message, save, and I get this output:
Adding         myfile
Transmitting file data .svn: Commit failed (details follow):
svn: Can't create directory '/srv/svn/repositories/svnpl/db/transactions/1-
1.txn'
svn: Your commit message was left in a temporary file:
svn:    '/home/neoakiraz/SVNs_and_Sources/svnpl/svn-commit.tmp'
I read that it is a permissions problem, but I'm not sure what to do. I
created the 'svn' user and 'svnpl' group when I followed the guide. Now:
neoakiraz@fcksys:/srv/svn/repositories$ ls -l
total 4
drwxrwxr-x 7 svn svnpl 4096 2007-05-09 20:23 svnpl
I'm trying to commit the changes from my 'neoakiraz' user, which is member
of the 'svn' and 'svnpl' groups. I don't want read/write permission for
anonymous users. I think I do that by modifying svnserve.conf, but I'm not
sure how. I have two mates in my group, and I would like them to be able to
read/write into SVN with some username/password. No problem if it is the
same for us 3. I hope you can help me out. Thanks!!
Bruno
Received on Thu May 10 16:08:31 2007

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.