From owner-freebsd-questions@FreeBSD.ORG Thu Dec 18 07:06:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8CC5E1065673; Thu, 18 Dec 2008 07:06:06 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 49FCF8FC1E; Thu, 18 Dec 2008 07:06:04 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 60BC9AFBC02; Wed, 17 Dec 2008 22:06:02 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org, KES Date: Thu, 18 Dec 2008 08:05:35 +0100 User-Agent: KMail/1.9.7 References: <42213407.20081212101341@yandex.ru> <200812170811.20566.fbsd.questions@rachie.is-a-geek.net> <984054014.20081217220207@yandex.ru> In-Reply-To: <984054014.20081217220207@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200812180805.36858.fbsd.questions@rachie.is-a-geek.net> Cc: David Weintraub , questions@freebsd.org, users@subversion.tigris.org Subject: Re: can not start SVNserve X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2008 07:06:06 -0000 On Wednesday 17 December 2008 21:02:07 KES wrote: > =C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, Mel. > > =C2=FB =EF=E8=F1=E0=EB=E8 17 =E4=E5=EA=E0=E1=F0=FF 2008 =E3., 9:11:19: > > M> On Sunday 14 December 2008 16:11:17 KES wrote: > >> =C7=E4=F0=E0=E2=F1=F2=E2=F3=E9=F2=E5, Polytropon. > >> > >> =C2=FB =EF=E8=F1=E0=EB=E8 14 =E4=E5=EA=E0=E1=F0=FF 2008 =E3., 15:11:35: > >> > >> P> On Sun, 14 Dec 2008 12:58:55 +0100 (CET), Wojciech Puchar > >> > >> P> wrote: > >> >> > su: Sorry > >> >> > > >> >> > > >> >> > kes# pw user mod svn -s /bin/bash > >> >> > kes# pw user show svn > >> >> > svn:*:1005:1005::0:0:SVN user:/nonexistent:/bin/bash > >> >> > kes# /usr/local/etc/rc.d/svnserve start > >> >> > Starting svnserve. > >> >> > su: Sorry > >> >> > >> >> try to change directory to existent > >> > >> P> (1) What's /bin/bash? Check existing shell. > >> > >> P> (2) As you said: Check existing directory. > >> > >> P> (3) Regarding su, check for wheel group inclusion. > >> > >> home# uname -a > >> FreeBSD home.kes.net.ua 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Aug 12 > >> 02:11:24 EEST 2008 kes@kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7 > >> i386 home# pw user show svn > >> svn:*:1003:1002::0:0:SVN user:/nonexistent:/usr/sbin/nologin > >> > >> As you can see on 'home' machine svn user has no valid shell also it > >> has not valid home directory and it is not included into wheel group > >> > >> But svnserve is started and works fine. With same settings svnserve > >> does not work on > >> kes# uname -a > >> FreeBSD kes.net.ua 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #: Sun Nov 23 > >> 17:19:12 EET 2008 =20 > >> kes@home.kes.net.ua:/usr/obj/usr/src/sys/KES_KERN_v7 i386 > > M> echo 'rc_debug=3D"YES"'>>/etc/rc.conf > M> /usr/local/etc/rc.d/svnserve start > > M> Show output from /var/log/messages. > > kes# kes# /usr/local/etc/rc.d/svnserve start > /usr/local/etc/rc.d/svnserve: DEBUG: checkyesno: svnserve_enable is set to > YES. Starting svnserve. > /usr/local/etc/rc.d/svnserve: DEBUG: run_rc_command: doit: su -m svn -c '= sh > -c "/usr/local/bin/svnserve -d --listen-port=3D3690 --foreground -r > /var/db/trunk"' su: Sorry Does this command work from the command line? If not, does it work if called as su -fm rather then su -m? If that does not work, does the primary group svn is supposed to be in exis= t? =2D-=20 Mel Problem with today's modular software: they start with the modules and never get to the software part.