Description of problem: [root@hiredgoons couchdb]# service couchdb start Starting couchdb: Apache CouchDB needs write permission on the STDOUT file: couchdb.stdout [FAILED] Version-Release number of selected component (if applicable): [root@hiredgoons couchdb]# rpm -q couchdb couchdb-0.10.0-2.fc13.i686 How reproducible: always, for me Steps to Reproduce: 1. yum install couchdb 2. service couchdb start 3. Actual results: Above error Expected results: Couchdb starts normally Additional info: I tried looking at /etc/sysconfig/couchdb. COUCHDB_STDOUT_FILE=/dev/null COUCHDB_STDERR_FILE=/dev/null couchdb user has write perms to /dev/null. I tried editing this file to read COUCHDB_STDOUT_FILE=/var/lib/couchdb/couchdb.stdout COUCHDB_STDERR_FILE=/var/lib/couchdb/couchdb.stderr and I created those files owned by couchdb, it had no effect. However starting couchdb by [root@hiredgoons couchdb]# su - couchdb -bash-4.1$ couchdb -b Apache CouchDB has started, time to relax. -bash-4.1$ works fine.
I have no idea why, but I tried to strace init scripts, and it tries to access couchdb.stdout and couchdb.stderr directly in /. No matter how I set those vars in /etc/sysconfig/couchdb. If I create those files in / and make them writable for couchdb, it works (well, that's very crappy workaround).
Folks, could you, please, test whether issue is still exists with the latest couchdb package (couchdb-0.10.2). I can't reproduce this bug with freshly installed couchdb. [root@Sulaco ~]# service couchdb start Запускается couchdb: Apache CouchDB has started, time to relax. [ OK ] [root@Sulaco ~]#
[root@morana ~]# rpm -q couchdb #newest version downloaded from koji couchdb-0.10.2-1.fc13.i686 [root@morana ~]# service couchdb start Starting couchdb: Apache CouchDB needs write permission on the STDOUT file: couchdb.stdout [FAILED] Looks like nothing has changed.
Folks, please try these builds: * F-12: http://koji.fedoraproject.org/koji/taskinfo?taskID=2184941 * F-13: http://koji.fedoraproject.org/koji/taskinfo?taskID=2184947 Please, note that couchdb uses values from /etc/sysconfig/couchdb since this build (it didn't use them previously), so if you added something here during your attempts to fix this issue, then you're should take care of it - I suggest you to reset them to default values: COUCHDB_USER=couchdb COUCHDB_STDOUT_FILE=/dev/null COUCHDB_STDERR_FILE=/dev/null COUCHDB_RESPAWN_TIMEOUT=0 COUCHDB_OPTIONS=
couchdb-0.10.2-3.fc13 seems to fix this issue (or at least it works for me).
This is working for me now with the package Peter linked to for F13.
(In reply to comment #5) > couchdb-0.10.2-3.fc13 seems to fix this issue (or at least it works for me). (In reply to comment #6) > This is working for me now with the package Peter linked to for F13. Great news! So I'm building this package right now and will push it into repositories very soon.
couchdb-0.10.2-3.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/couchdb-0.10.2-3.fc11
couchdb-0.10.2-3.el5 has been submitted as an update for Fedora EPEL 5. http://admin.fedoraproject.org/updates/couchdb-0.10.2-3.el5
couchdb-0.10.2-3.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/couchdb-0.10.2-3.fc13
couchdb-0.10.2-3.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/couchdb-0.10.2-3.fc12
couchdb-0.10.2-3.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update couchdb'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/couchdb-0.10.2-3.fc13
couchdb-0.10.2-3.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update couchdb'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/couchdb-0.10.2-3.fc11
couchdb-0.10.2-3.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update couchdb'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/couchdb-0.10.2-3.fc12
couchdb-0.10.2-3.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update couchdb'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/couchdb-0.10.2-3.el5
couchdb-0.10.2-3.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
couchdb-0.10.2-3.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
couchdb-0.10.2-3.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
couchdb-0.10.2-3.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.