couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brizic Michael (Nokia-LC/Chicago)" <>
Subject Restarting on Fedora
Date Wed, 24 Oct 2012 14:53:28 GMT
Seemingly, I installed CouchDB successfully on Fedora17 (64-bit), using these instructions: , however, I had to use sudo because
the application failed to create the couchdb user.  So the owner of all couchdb directories/files
is root.

But, I was able to start couchdb without a problem, running as root.

However, after restarting the machine, and attempting to run: sudo /usr/bin/couchdb, I am
receiving the following error (and it fails to start):
[info] [<0.32.0>] Apache CouchDB has started on
[error] [<0.31.0>] {error_report,<0.31.0>,

=CRASH REPORT==== 24-Oct-2012::09:50:49 ===
    initial call: application_master:init/4
    pid: <0.31.0>
    registered_name: []
    exception exit: {bad_return,
      in function  application_master:init/4 (application_master.erl, line 138)
    ancestors: [<0.30.0>]
    messages: [{'EXIT',<0.32.0>,normal}]
    links: [<0.30.0>,<0.7.0>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 610
    stack_size: 24
    reductions: 100

=INFO REPORT==== 24-Oct-2012::09:50:49 ===
    application: couch
    exited: {bad_return,
    type: temporary
[info] [<0.97.0>] Stopping all ongoing replications because the replicator database
was deleted or changed

I researched the MarkMail for anything related to this problem, including perhaps not having
the correct permissions, and this is the best I could find:

the key part is "enoent" = file or directory not found.
Most possible causes are; the var/run/ var/log/couchdb/ var/lib/couchdb/ dirs don't exist,
or ditto for local.ini default.ini  ,for some reason are not available.

Yup, the directory /opt/local/var/run/couchdb/ didn't exist. I created that directory and
was able to start CouchDB without it crashing. Either a recent upgrade deleted that directory
or the upgrade changed the value of uri_file in default.ini (more likely).

So I check the above and find that /var/run/couchdb directory does not exist.  Is this the
problem ??

Also, what is the couchdb.uri file, and why is that directory missing after I restarted the

I would appreciate any other feedback regarding why I cannot restart easily.

Mike Brizic

The information contained in this communication may be CONFIDENTIAL and is intended only for
the use of the recipient(s) named above. If you are not the intended recipient, you are hereby
notified that any dissemination, distribution, or copying of this communication, or any of
its contents, is strictly prohibited. If you have received this communication in error, please
notify the sender and delete/destroy the original message and any copy of it from your computer
or paper files.

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