[opensuse] svnserve
I've posted on this before, some time ago, but got no response: so I thought I'd try again to see if I have any more luck. The SUSE version is 10.0 on AMD64 x 2 I'd really like to use svn, so I need to get svnserve to start. I've done a fresh installation from the SUSE installation DVD and I can see that the service is installed properly, however it refuses to start. When I try to start it manually in YaST, I get the message: /etc/init.d/svnserve start returned 2 (invalid or excess arguments): Starting svnserve ..failed If I then go and look in /var/log/messages, I find: Jan 24 22:37:01 linux startproc: startproc: No such user or user id: svn Does anyone know what's going on, and what I need to do to get svn going using svnserve? Perhaps there's another log I should be looking at? Or perhaps I need to create an account? If so, what sort of permissions should it have? Many thanks Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 24 January 2007 23:55, Peter Bradley wrote:
Does anyone know what's going on, and what I need to do to get svn going using svnserve? Perhaps there's another log I should be looking at? Or perhaps I need to create an account? If so, what sort of permissions should it have?
Yes, you need to create the user svn. The detailed information is in /usr/share/doc/packages/subversion/README.SuSE (most packages have a README.SuSE with instructions on how to get things up and running) section 2 in that file reads 2. create svn user/group for svnserve subversion repositories can be served either via http, or via the svnserve daemon and a special network protocol. svnserve should not run as root user. The startup script rcsvnserve expects a user/group named 'svn', configureable via /etc/sysconfig/svnserve. But this user/group must be created before first use: useradd svn groupadd svn You should have a look at README.SuSE, it contains more relevant information -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Ysgrifennodd Anders Johansson:
Yes, you need to create the user svn. The detailed information is in /usr/share/doc/packages/subversion/README.SuSE (most packages have a README.SuSE with instructions on how to get things up and running)
section 2 in that file reads
2. create svn user/group for svnserve
subversion repositories can be served either via http, or via the svnserve daemon and a special network protocol. svnserve should not run as root user. The startup script rcsvnserve expects a user/group named 'svn', configureable via /etc/sysconfig/svnserve. But this user/group must be created before first use:
useradd svn groupadd svn
You should have a look at README.SuSE, it contains more relevant information
Thanks, I did that; and the svnserver is running. I followed the instructions (in README.SuSE) concerning apache2 as well, but I'm not sure how well that's gone. Still, the server's running and that should get me started. If I need help later, with Apache, I'll post again. In the meantime, my grateful thanks once again. Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 2007-01-25 at 04:14 -0300, Cristian Rodriguez R. wrote:
just subversion in apache with ssl and all will be fine.
There is an annoying fashion these days, consisting of making almost all things through http-related ports: Webmail (instead of using IMAP/SMTP ports), and so on... (I wont list). Please stop wanting to have all-in-one stuff. Subversion has the ability to be used with a dedicated protocol/port, why not using it? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Ysgrifennodd Mihamina Rakotomandimby (R12y):
There is an annoying fashion these days, consisting of making almost all things through http-related ports: Webmail (instead of using IMAP/SMTP ports), and so on... (I wont list). Please stop wanting to have all-in-one stuff. Subversion has the ability to be used with a dedicated protocol/port, why not using it?
Hey Guys! I didn't want to start a fight. :oD Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Ysgrifennodd Cristian Rodriguez R.:
bad question, why you want svnserve in the first place ?? just subversion in apache with ssl and all will be fine.
Couple of reasons Cristian. Firstly, the book I'm reading concentrates on the client/server method, so I want to follow along. Secondly, I haven't yet succeeded in getting apache configured properly for subversion (dav and dav_svn modules?) I will get Apache configured one day, though, but since my sysadmin abilities are somewhere on the minus side of zero, I'm taking it one little step at a time. It suites me better :) I'm a good programmer, though. ;) Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, 2007-01-24 at 22:55 +0000, Peter Bradley wrote:
/etc/init.d/svnserve start returned 2 (invalid or excess arguments): Starting svnserve ..failed
Well, some RPM based distributions, like Fedora also suggest to leave svcnserve inetd launched.
Does anyone know what's going on, and what I need to do to get svn going using svnserve? Perhaps there's another log I should be looking at? Or perhaps I need to create an account? If so, what sort of permissions should it have?
It depends on the way you use SVN. Of svn+ssh (or ssh+svn, i dont remember) you will have to manage permission the Unix way. Otherwise, you have to let the repository owned by "svn" and manage permission in the repository configuration file. You can also ask for more details in the subversion mailling list. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Anders Johansson
-
Cristian Rodriguez R.
-
Mihamina Rakotomandimby (R12y)
-
Peter Bradley