You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Nicholas Orr <ni...@zxgen.net> on 2009/07/24 02:00:15 UTC
CouchDB stopped - no reason why?
Hi,
I came in this morning to find that CouchDB was not running.
Looking in the log there was nothing to say why it had stopped.
>From what I can tell it just went away...
The log level is set to info and the last request was me before I went home.
Is there anything I can set / look at to figure out why couchdb chose to
stop running?
Thanks,
Nick
Re: CouchDB stopped - no reason why?
Posted by Nicholas Orr <ni...@zxgen.net>.
version 0.9.0
On Fri, Jul 24, 2009 at 10:00 AM, Nicholas Orr <ni...@zxgen.net>wrote:
> Hi,
> I came in this morning to find that CouchDB was not running.
> Looking in the log there was nothing to say why it had stopped.
> From what I can tell it just went away...
>
> The log level is set to info and the last request was me before I went
> home.
> Is there anything I can set / look at to figure out why couchdb chose to
> stop running?
>
> Thanks,
>
> Nick
>
Re: CouchDB stopped - no reason why?
Posted by Nicholas Orr <ni...@zxgen.net>.
That was pretty painless...
Installed otp_src_R12B-5
so I'll see how it goes.
Nick
On Fri, Jul 24, 2009 at 6:05 PM, Nicholas Orr <ni...@zxgen.net>wrote:
> Yes my setup is similar - Ubuntu and installed erlang using apt
> Now I got figure this out... How I love Gentoo and portage.
>
> VMWare ESX doesn't support Gentoo as a guest - so I can't use Gentoo with
> this host :(
>
> CouchDB was installed from source...
>
> Thanks Christopher
>
> Nick
>
> On Fri, Jul 24, 2009 at 4:59 PM, Christopher Lenz <cm...@gmx.de> wrote:
>
>> On 24.07.2009, at 02:00, Nicholas Orr wrote:
>>
>>> I came in this morning to find that CouchDB was not running.
>>> Looking in the log there was nothing to say why it had stopped.
>>>
>>>> From what I can tell it just went away...
>>>>
>>>
>>> The log level is set to info and the last request was me before I went
>>> home.
>>> Is there anything I can set / look at to figure out why couchdb chose to
>>> stop running?
>>>
>>
>> I've had this problem in the past on Debian when using the precompiled
>> Erlang packages. Throwing that off the system and just installing Erlang
>> from source made the problem go away. And this was not the first time I've
>> had obscure (and impossible to debug) problems with Erlang as a system
>> package on Debian.
>>
>> Just in case your setup in similar.
>>
>> Cheers,
>> --
>> Christopher Lenz
>> cmlenz at gmx.de
>> http://www.cmlenz.net/
>>
>>
>
Re: CouchDB stopped - no reason why?
Posted by Nicholas Orr <ni...@zxgen.net>.
Yes my setup is similar - Ubuntu and installed erlang using apt
Now I got figure this out... How I love Gentoo and portage.
VMWare ESX doesn't support Gentoo as a guest - so I can't use Gentoo with
this host :(
CouchDB was installed from source...
Thanks Christopher
Nick
On Fri, Jul 24, 2009 at 4:59 PM, Christopher Lenz <cm...@gmx.de> wrote:
> On 24.07.2009, at 02:00, Nicholas Orr wrote:
>
>> I came in this morning to find that CouchDB was not running.
>> Looking in the log there was nothing to say why it had stopped.
>>
>>> From what I can tell it just went away...
>>>
>>
>> The log level is set to info and the last request was me before I went
>> home.
>> Is there anything I can set / look at to figure out why couchdb chose to
>> stop running?
>>
>
> I've had this problem in the past on Debian when using the precompiled
> Erlang packages. Throwing that off the system and just installing Erlang
> from source made the problem go away. And this was not the first time I've
> had obscure (and impossible to debug) problems with Erlang as a system
> package on Debian.
>
> Just in case your setup in similar.
>
> Cheers,
> --
> Christopher Lenz
> cmlenz at gmx.de
> http://www.cmlenz.net/
>
>
Re: CouchDB stopped - no reason why?
Posted by Nicholas Orr <ni...@zxgen.net>.
Well having erlang compiled from source has not helped :/
Think all I can do is install monit and use it to restart couchdb when it
stops
I'll turn debug logging on and see what happens too.
(Linux 2.6.24-19-server x86_64)
Nick
Re: CouchDB stopped - no reason why?
Posted by tr...@nooro.com.
Yes, I installed the dependencies from apt-get but couch itself from
source, to get the latest version.
I think this is just an issue with Debian cleaning up packages it doesn't
think are needed anymore, or possibly an over-zealous sysadmin.
> On Mon, Jul 27, 2009 at 10:40:24AM -0400, trevor@nooro.com wrote:
>> Following the advice at
>> http://wiki.apache.org/couchdb/Installing_on_Ubuntu seemed to resolve
>> the
>> problem. I guess somehow our system removed some dependencies it didn't
>> think were need any more.
>
> Did you install from source originally?
>
> That would explain why some dependancies might have been removed.
>
> If you installed the couchdb package directly, this is a bug.
>
> Thanks,
>
> --
> Noah Slater, http://tumbolia.org/nslater
>
Re: CouchDB stopped - no reason why?
Posted by Noah Slater <ns...@apache.org>.
On Mon, Jul 27, 2009 at 10:40:24AM -0400, trevor@nooro.com wrote:
> Following the advice at
> http://wiki.apache.org/couchdb/Installing_on_Ubuntu seemed to resolve the
> problem. I guess somehow our system removed some dependencies it didn't
> think were need any more.
Did you install from source originally?
That would explain why some dependancies might have been removed.
If you installed the couchdb package directly, this is a bug.
Thanks,
--
Noah Slater, http://tumbolia.org/nslater
Re: CouchDB stopped - no reason why?
Posted by tr...@nooro.com.
Following the advice at
http://wiki.apache.org/couchdb/Installing_on_Ubuntu seemed to resolve the
problem. I guess somehow our system removed some dependencies it didn't
think were need any more.
Thanks for your help; not seeing any error message at all was throwing me.
Trevor
> Try to lauch directly and see whats the log say (I mean launch
> /usr/bin/couchdb) . With more info we can be helpfull.
>
> Regards from Canary Islands
>
> Manuel Padrón MartÃnez
>
Re: CouchDB stopped - no reason why?
Posted by tr...@nooro.com.
/bin/couchdb
{"init terminating in
do_boot",{undef,[{crypto,start,[]},{erl_eval,do_apply,5},{init,start_it,1},{init,start_em,1}]}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
erl_crash.dump is ~10,000 lines long; not really sure what I should be
looking for here.
> Try to lauch directly and see whats the log say (I mean launch
> /usr/bin/couchdb) . With more info we can be helpfull.
>
> Regards from Canary Islands
>
> Manuel Padrón MartÃnez
>
Re: CouchDB stopped - no reason why?
Posted by Manolo Padron Martinez <ma...@gmail.com>.
Try to lauch directly and see whats the log say (I mean launch
/usr/bin/couchdb) . With more info we can be helpfull.
Regards from Canary Islands
Manuel Padrón Martínez
Re: CouchDB stopped - no reason why?
Posted by tr...@nooro.com.
Hit a similar problem this morning; couch has stopped, and doesn't want to
restart:
/etc/init.d/couchdb start
Starting database server: couchdb.
/etc/init.d/couchdb status
Apache CouchDB is not running.
This is running vesion 0.9.0 from source, on Debian.
Any suggestions?
> On Fri, Jul 24, 2009 at 02:59:03PM -0700, Chris Anderson wrote:
>> Maybe something wrong with heart on the packaged Erlang?
>
> Any way to test for this?
>
> Say, introduce an intentional bug that crashes your local CouchDB?
>
> Thanks,
>
> --
> Noah Slater, http://tumbolia.org/nslater
>
Re: CouchDB stopped - no reason why?
Posted by Noah Slater <ns...@apache.org>.
On Fri, Jul 24, 2009 at 02:59:03PM -0700, Chris Anderson wrote:
> Maybe something wrong with heart on the packaged Erlang?
Any way to test for this?
Say, introduce an intentional bug that crashes your local CouchDB?
Thanks,
--
Noah Slater, http://tumbolia.org/nslater
Re: CouchDB stopped - no reason why?
Posted by Chris Anderson <jc...@apache.org>.
On Fri, Jul 24, 2009 at 1:06 PM, Christopher Lenz<cm...@gmx.de> wrote:
> On 24.07.2009, at 16:50, Noah Slater wrote:
>>
>> On Fri, Jul 24, 2009 at 08:59:24AM +0200, Christopher Lenz wrote:
>>>
>>> I've had this problem in the past on Debian when using the precompiled
>>> Erlang packages. Throwing that off the system and just installing Erlang
>>> from source made the problem go away. And this was not the first time
>>> I've had obscure (and impossible to debug) problems with Erlang as a
>>> system package on Debian.
>>
>> Interesting, and the first time I've heard about it.
>>
>> Did you file a bug so that me or Sergei Golovan could look into it?
>
> No, because the problem didn't leave any trace of itself. No core dump,
> nothing in any of the logs, nada. I have no information other than "every
> couple of days, with greatly varying frequency, the CouchDB process would
> simply be gone."
>
> Not stuff that makes a useful bug report, unfortunately :/
>
Maybe something wrong with heart on the packaged Erlang?
--
Chris Anderson
http://jchrisa.net
http://couch.io
Re: CouchDB stopped - no reason why?
Posted by Christopher Lenz <cm...@gmx.de>.
On 24.07.2009, at 16:50, Noah Slater wrote:
> On Fri, Jul 24, 2009 at 08:59:24AM +0200, Christopher Lenz wrote:
>> I've had this problem in the past on Debian when using the
>> precompiled
>> Erlang packages. Throwing that off the system and just installing
>> Erlang
>> from source made the problem go away. And this was not the first time
>> I've had obscure (and impossible to debug) problems with Erlang as a
>> system package on Debian.
>
> Interesting, and the first time I've heard about it.
>
> Did you file a bug so that me or Sergei Golovan could look into it?
No, because the problem didn't leave any trace of itself. No core
dump, nothing in any of the logs, nada. I have no information other
than "every couple of days, with greatly varying frequency, the
CouchDB process would simply be gone."
Not stuff that makes a useful bug report, unfortunately :/
Cheers,
--
Christopher Lenz
cmlenz at gmx.de
http://www.cmlenz.net/
Re: CouchDB stopped - no reason why?
Posted by Noah Slater <ns...@apache.org>.
On Fri, Jul 24, 2009 at 08:59:24AM +0200, Christopher Lenz wrote:
> I've had this problem in the past on Debian when using the precompiled
> Erlang packages. Throwing that off the system and just installing Erlang
> from source made the problem go away. And this was not the first time
> I've had obscure (and impossible to debug) problems with Erlang as a
> system package on Debian.
Interesting, and the first time I've heard about it.
Did you file a bug so that me or Sergei Golovan could look into it?
We can't fix problems unless they are reported! ;)
Thanks,
--
Noah Slater, http://tumbolia.org/nslater
Re: CouchDB stopped - no reason why?
Posted by Christopher Lenz <cm...@gmx.de>.
On 24.07.2009, at 02:00, Nicholas Orr wrote:
> I came in this morning to find that CouchDB was not running.
> Looking in the log there was nothing to say why it had stopped.
>> From what I can tell it just went away...
>
> The log level is set to info and the last request was me before I
> went home.
> Is there anything I can set / look at to figure out why couchdb
> chose to
> stop running?
I've had this problem in the past on Debian when using the precompiled
Erlang packages. Throwing that off the system and just installing
Erlang from source made the problem go away. And this was not the
first time I've had obscure (and impossible to debug) problems with
Erlang as a system package on Debian.
Just in case your setup in similar.
Cheers,
--
Christopher Lenz
cmlenz at gmx.de
http://www.cmlenz.net/