incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Tisdall <tisd...@gmail.com>
Subject Re: problems with etc/init.d/couchdb script
Date Fri, 11 May 2012 02:58:18 GMT
That log shows only:
[Thu, 10 May 2012 17:53:23 GMT] [info] [<0.32.0>] Apache CouchDB has
started on http://127.0.0.1:5984/
[Thu, 10 May 2012 17:53:29 GMT] [info] [<0.126.0>] 127.0.0.1 - - GET / 200
[Thu, 10 May 2012 17:53:31 GMT] [info] [<0.141.0>] 127.0.0.1 - - GET / 200

I noticed there were command line options to redirect STDERR and STDOUT to
files so I tried that, but the STDERR one didn't want to work.

On Thu, May 10, 2012 at 9:43 PM, Keith Gable <ziggy@ignition-project.com>wrote:

> Did you mean /var/log/couchdb?
> On May 10, 2012 1:46 PM, "Tim Tisdall" <tisdall@gmail.com> wrote:
>
> > I've tried doing lots of Google searches for an answer to this, but I
> > haven't been successful...
> >
> > I've installed Couchdb 1.2 from source on Debian 6.  I configured it
> > with *--localstatedir=/var
> > --sysconfdir=/etc . Everything seems to be installed correctly.*
> > *
> > *
> > *If I run couchdb from the command prompt it seems to run correctly and
> I'm
> > able to hit the port with curl and get
> > *{"couchdb":"Welcome","version":"1.2.0"}
> > successfully. If I run it as "couchdb -b" it also works properly.
> >
> > Now, the problem... if I try to run things using /etc/init.d/couchdb it
> > doesn't seem to work properly. I don't get any error messages but the
> curl
> > request returns "couldn't connect to host". Also, there seems to be a
> > process running under the couchdb user id, but it's not the same process
> > number as what's found in /var/run/couchdb/couchdb.pid. ps reports it as
> > "/bin/sh -e /usr/local/bin/couchdb -a /etc/couchdb/default.ini -a
> > /etc/couchdb/local.ini -b -r 5 -p /var/run/couchdb/couchdb.pid -o
> /dev/null
> > -e /dev/null -R" but there's no response using curl.
> >
> > Anyone have any ideas how to track down the problem? I don't see any
> errors
> > in the logs.
> >
> > I've tried redirecting the STDERR to /dev/log/couchdb/stderr.log but get
> > the error "Starting database server: couchdbApache CouchDB needs write
> > permission on the STDERR file: /dev/log/couchdb/stderr.log" despite
> giving
> > it full write permissions.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message