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

Re: can not start SVNserve

From: David Weintraub <qazwart_at_gmail.com>
Date: Sun, 14 Dec 2008 00:22:39 -0500

I'm a bit confused by what you're asking. I believe PW is a command
for editing groups and users on BSD, but I've never really used it.

My confusion comes from the output of PW. A typical user line has
seven fields, your output shows 11 fields. I am assuming that you're
showing me that user "svn" is a valid user. However, the shell is
setup to be /usr/sbin/nologin (which I assume is similar to setting
the shell to /etc/false).

Doing a "su svn" won't log you in becuase of the shell. I don't have
the /usr/local/etc/rc.d/svnserve script in front of me, so I can't
tell you what it is doing, but I suspect that since the "su svn"
command doesn't work, the script also does a "su svn -c $command", and
that is failing since your "svn" user is set to the "nologin" shell.

Have you tried changing the "svn" user shell to /bin/bash and see if
your startup script is working.

At least, once you've changed your shell to "/bin/bash", you'll be
able to sign on as user "svn", and try to start up the "svnserve"
program manually. Then, we can determine if the problem is with
"svnserve" or with your startup script.

It would be helpful if you explained your system, setup, what you were
doing, and the results instead of simply showing us the output of a
couple of commands. It is hard to figure out exactly what you are
trying to do and what you have done.

In theory, your computer is doing exactly what you told it to do -- no
more, no less, and thus there is no problem. Everything is working
perfectly as programmed.

What we need to know is what you *WANTED* it to do. Then we can figure
out how to get your system setup to do just that.

On Fri, Dec 12, 2008 at 3:13 AM, KES <kes-kes_at_yandex.ru> wrote:
> Здравствуйте, Users.
>
> What is wrong?
> kes# pw user show svn
> svn:*:1005:1005::0:0:SVN user:/nonexistent:/usr/sbin/nologin
> kes# su svn
> su: Sorry
> kes# /usr/local/etc/rc.d/svnserve start
> Starting svnserve.
> su: Sorry
>
>
> --
> С уважением,
> KES mailto:kes-kes_at_yandex.ru
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=983277
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
>

-- 
--
David Weintraub
qazwart_at_gmail.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=984001
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-14 06:23:35 CET

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.