You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Kenneth Tyler <ke...@8thfold.com> on 2010/09/15 16:52:44 UTC
invalid user error when starting as daemon
hello,
after installing on ubuntu 10.4 using build-couchdb
when i try to start couchdb as a daemon i get this error
administrator@pawpaw:~$ build-couchdb/build/etc/init.d/couchdb start
* Starting database server
couchdb chown: invalid user:
`couchdb'
Unknown id: couchdb
it looks like there is a user folder "couchdb" in the var directory... so
i'm unsure how to make that a "valid user"
thanks
ken tyler
Re: invalid user error when starting as daemon
Posted by Catherine Jones <ca...@gmail.com>.
One thing you might try:
Look at the system password file (by running the command
'less /etc/passwd') to make sure that couchdb is a valid user.
If not, run the adduser procedure as described in the Definitive Guide
book:
adduser --system --home /usr/local/var/lib/couchdb \
--no-create-home --shell /bin/bash --group \
--gecos "Couchdb Admin" couchdb
(Possibly your setup requires the couchdb home directory to be
just /var/lib/couchdb or at least somewhere other
than /usr/local/var/lib/couchdb, but that's the general idea.)
On Wed, 2010-09-15 at 07:52 -0700, Kenneth Tyler wrote:
> hello,
> after installing on ubuntu 10.4 using build-couchdb
> when i try to start couchdb as a daemon i get this error
> administrator@pawpaw:~$ build-couchdb/build/etc/init.d/couchdb start
> * Starting database server
> couchdb chown: invalid user:
> `couchdb'
> Unknown id: couchdb
>
> it looks like there is a user folder "couchdb" in the var directory... so
> i'm unsure how to make that a "valid user"
>
> thanks
>
> ken tyler
Re: invalid user error when starting as daemon
Posted by Noah Slater <ns...@apache.org>.
The build-couchdb project should include documentation on how to set up users and permissions. Perhaps you'd like to file an issue on Github?
The official instructions are here:
http://svn.apache.org/repos/asf/couchdb/trunk/INSTALL.Unix
On 15 Sep 2010, at 15:52, Kenneth Tyler wrote:
> hello,
> after installing on ubuntu 10.4 using build-couchdb
> when i try to start couchdb as a daemon i get this error
> administrator@pawpaw:~$ build-couchdb/build/etc/init.d/couchdb start
> * Starting database server
> couchdb chown: invalid user:
> `couchdb'
> Unknown id: couchdb
>
> it looks like there is a user folder "couchdb" in the var directory... so
> i'm unsure how to make that a "valid user"
>
> thanks
>
> ken tyler