couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Catherine Jones <>
Subject Re: invalid user error when starting as daemon
Date Wed, 15 Sep 2010 16:07:04 GMT
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

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

View raw message