incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randall Leeds <>
Subject Re: [ANN] Unofficial RPMs for RHEL-5/CentOS-5 and derivatives
Date Tue, 12 Oct 2010 19:55:39 GMT
Hey Peter,

I've been packaging newer versions of CouchDB (sometimes with some
experimental patches) for Meebo for a while based on your source rpms.
Thanks for your great work!

I haven't looked at your newest RPMs, but I wanted to share my
modified init script which, last I checked, does a couple nice things
that yours doesn't. Maybe you can include my changes (after vetting
them for I am not an experienced RPM packager).

Here's the link:

In particular, it does two things.
1) Based on what I saw in thy MySQL package, stop() asks CouchDB to
quit and then checks every second (up to 60 seconds) to see if it's
shut down before forcibly killing the process. This avoids an issue
where restart could sometimes crash the new CouchDB process with
EADDRINUSE when it tries to bind the server socket by making sure that
the old CouchDB process is actually stopped before starting the new

2) If the init script is a symlink it will be followed until a
matching /etc/sysconfig file is found (leaving the default environment
otherwise). This allows easy configuration of multiple CouchDB
instances on the same box by symlinking the init script and placing a
matching file in /etc/sysconfig to configure it.

I'd love your feedback! I really appreciate your packaging effort.


On Tue, Oct 12, 2010 at 03:47, Peter Lemenkov <> wrote:
> Hello All.
> Just for those who are interested in latest CouchDB on these platforms
> and doesn't interested in solving compatibility issues with relatively
> old (but stable) dependent software - I started providing latest RPMs
> for x86 and x86_64 arches (they were built using official EPEL
> buildsystem):
> All you need is to
> * download epel-couchdb.repo  (
> )
> * put it into /etc/yum.repos.d
> * type "sudo yum install couchdb" or "sudo yum upgrade couchdb"
> Hope these packages would be useful. Feel free to contact me in case
> of any issues found.
> Build logs may be found here:
> F-12:
> F-13:
> EL-5:
> Please note that CouchDB currently fails to pass self-tests on RHEL-5
> for PowerPC - I'll try to fix it until this weekend.
> --
> With best regards, Peter Lemenkov.

View raw message