[Pkg-erlang-devel] Bug#574673: couchdb: Crash due to missing log directory

Andrew Malcolmson andmalc at gmail.com
Sat Mar 20 01:10:57 UTC 2010


Package: couchdb
Version: 0.10.1-2
Severity: important

Couchdb crashes on startup with the following output:

Apache CouchDB 0.10.1 (LogLevel=info) is starting.
{"init terminating in do_boot",{{badmatch,{error,shutdown}},[{couch_server_sup,start_server,1},{erl_eval,do_apply,5},{erl_eval,exprs,5},{init,start_it,1},{init,start_em,1}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

Starting couchdb in debug mode reveals that it wants to write its log file to /var/log/couchdb/couch.log, however that directory does not exist.

When /var/log/couchdb is created, couch starts normally.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages couchdb depends on:
ii  adduser                  3.112           add and remove users and groups
ii  erlang-base [erlang-abi- 1:13.b.4-dfsg-3 Erlang/OTP virtual machine and bas
ii  erlang-crypto            1:13.b.4-dfsg-3 Erlang/OTP cryprographic modules
ii  erlang-inets             1:13.b.4-dfsg-3 Erlang/OTP Internet clients and se
ii  erlang-ssl               1:13.b.4-dfsg-3 Erlang/OTP implementation of SSL
ii  erlang-tools             1:13.b.4-dfsg-3 Erlang/OTP various tools
ii  erlang-xmerl             1:13.b.4-dfsg-3 Erlang/OTP XML tools
ii  libc6                    2.10.2-6        Embedded GNU C Library: Shared lib
ii  libcurl3                 7.20.0-1        Multi-protocol file transfer libra
ii  libicu42                 4.2.1-3         International Components for Unico
ii  libjs-jquery             1.4.2-1         JavaScript library for dynamic web
ii  libmozjs2d               1.9.1.8-5       The Mozilla SpiderMonkey JavaScrip
ii  lsb-base                 3.2-23          Linux Standard Base 3.2 init scrip
ii  mawk                     1.3.3-15        a pattern scanning and text proces
ii  procps                   1:3.2.8-8       /proc file system utilities

couchdb recommends no packages.

couchdb suggests no packages.

-- no debconf information





More information about the Pkg-erlang-devel mailing list