You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by MilesTogoe <mi...@gmail.com> on 2010/09/28 22:49:22 UTC

installing on desktop Ubuntu 10.04

we tried to install 1.0.1 following these instructions but coming up 
with error:

any suggestions ?  do we need to clean out the apt-get couchdb (0.10) 
version ?

>  * Starting database server couchdb
> chown: changing ownership of `/var/run/couchdb': Operation not permitted
> Password:
> su: Authentication failure

> wget http://couchdb.apache.org/downloads.html
> sudo apt-get build-dep couchdb
> tar xvzf apache-couchdb-1.0.1.tar.gz
> cd apache-couchdb-1.0.1
> xulrunner -v
> sudo ./configure --prefix=/usr/local/ --with-js-lib=/usr/lib/xulrunner-
>   devel-1.9.2.10/lib --with-js-include=/usr/lib/xulrunner-devel-
>   1.9.2.10/include
> sudo make
> sudo make install
>
> vi /etc/passwd  change couchdb => /usr/local/var/lib/couchdb
> chown -R couchdb: /usr/local/var/{lib,log,run}/couchdb 
> /usr/local/etc/couchdb
> chmod 0770 /usr/local/var/{lib,log,run}/couchdb/
> chmod 664 /usr/local/etc/couchdb/*.ini
> chmod 775 /usr/local/etc/couchdb/*.d
>
> cd /etc/init.d
> ln -s /usr/local/etc/init.d/couchdb couchdb
> /etc/init.d/couchdb start



Re: installing on desktop Ubuntu 10.04

Posted by MilesTogoe <mi...@gmail.com>.
On 09/28/2010 02:54 PM, Aurélien Bénel wrote:
> Hi Miles,
>
>    
>>> /etc/init.d/couchdb start
>>> * Starting database server couchdb
>>> chown: changing ownership of `/var/run/couchdb': Operation not permitted
>>> Password:
>>> su: Authentication failure
>>>        
> Did you start the daemon with sudo?
>    

hey thanks - with sudo it worked



Re: installing on desktop Ubuntu 10.04

Posted by Aurélien Bénel <au...@utt.fr>.
Hi Miles,

>> /etc/init.d/couchdb start
>> * Starting database server couchdb
>> chown: changing ownership of `/var/run/couchdb': Operation not permitted
>> Password:
>> su: Authentication failure

Did you start the daemon with sudo?


Regards,

Aurélien