Bug 1234083
Summary: | CouchDB fails to start | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Olaf Radicke <briefkasten> |
Component: | couchdb | Assignee: | Peter Lemenkov <lemenkov> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 21 | CC: | erlang, lemenkov, wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-06-21 16:53:41 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Olaf Radicke
2015-06-21 05:54:15 UTC
I've just made fresh install (really fresh - with old data and config-files removed) and can't confirm this. Looks like the contents of the /var/lib/couchdb is unreadable for 'couchdb' user. Please check it: $ sudo ls -la /var/lib/couchdb It should be something like that: Auriga ~/Desktop: ls -la /var/lib/couchdb/ итого 28 drwxr-xr-x. 3 couchdb couchdb 4096 янв 27 23:32 . drwxr-xr-x. 49 root root 4096 июн 21 16:36 .. drwxr-xr-x. 2 couchdb couchdb 4096 июл 26 2014 .delete -rw-r--r--. 1 couchdb couchdb 4194 июл 26 2014 _replicator.couch -rw-r--r--. 1 couchdb couchdb 4194 июл 26 2014 _users.couch Auriga ~/Desktop: Also check /var/run/couchdb for proper access rights. if something was wrong you can easily restore everything. See this HOWTO for further details (just make sure ypu've adjusted file paths before applying any of these commands): http://docs.couchdb.org/en/1.6.1/install/unix.html#security-considerations Yes Peter, my access rights was wrong, but I don't now why. I reset the rights and restart couchdb and now is running fine. (In reply to Olaf Radicke from comment #3) > Yes Peter, my access rights was wrong, but I don't now why. I reset the > rights and restart couchdb and now is running fine. Ok, good to know. Btw you really shouldn't do something. First you shouldn't disable SElinux - Warren Togami did a great job investigating and fixing SELinux issues with CouchDB and it should work fine now. Second - you shouldn't run CouchDB from superuser (root - with sudo or whatever). Closing this ticket for now. |