Hi Dave, I've done "make install" as root since I installed couchdb to /usr/local.
[r...@host]# ls -l /usr/local/lib/couchdb/erlang/lib/couch-1.0.1/ebin/couch_changes.beam /usr/local/lib/couchdb/erlang/lib/couch-1.0.1/ebin/couch_httpd_view.beam -rw-r--r-- 1 root root 7548 Sep 9 11:16 /usr/local/lib/couchdb/erlang/lib/couch-1.0.1/ebin/couch_changes.beam -rw-r--r-- 1 root root 16604 Sep 9 11:16 /usr/local/lib/couchdb/erlang/lib/couch-1.0.1/ebin/couch_httpd_view.beam --- after changing their owner.group to couchdb.couchdb, no change --- [r...@host]# ls -l /usr/local/lib/couchdb/erlang/lib/couch-1.0.1/ total 12 drwxr-xr-x 2 couchdb couchdb 4096 Sep 9 11:16 ebin drwxr-xr-x 2 couchdb couchdb 4096 Sep 9 11:16 include drwxr-xr-x 3 couchdb couchdb 4096 Sep 9 11:16 priv [r...@host]# ps -ef | grep couchdb couchdb 6655 1 0 04:14 ? 00:00:00 /bin/sh -e /usr/local/bin/couchdb -a /usr/local/etc/couchdb/default.ini -a /usr/local/etc/couchdb/local.ini -b -r 5 -p /usr/local/var/run/couchdb/couchdb.pid -o /dev/null -e /dev/null -R couchdb 6665 6655 0 04:14 ? 00:00:00 /bin/sh -e /usr/local/bin/couchdb -a /usr/local/etc/couchdb/default.ini -a /usr/local/etc/couchdb/local.ini -b -r 5 -p /usr/local/var/run/couchdb/couchdb.pid -o /dev/null -e /dev/null -R couchdb 6666 6665 0 04:14 ? 00:00:00 /usr/lib/erlang/erts-5.6.5/bin/beam -Bd -K true -A 4 -- -root /usr/lib/erlang -progname erl -- -home /usr/local/var/lib/couchdb -noshell -noinput -sasl errlog_type error -couch_ini /usr/local/etc/couchdb/default.ini /usr/local/etc/couchdb/local.ini /usr/local/etc/couchdb/default.ini /usr/local/etc/couchdb/local.ini -s couch -pidfile /usr/local/var/run/couchdb/couchdb.pid -heart couchdb 6675 6666 0 04:14 ? 00:00:00 heart -pid 6666 -ht 11 root 6760 6584 0 04:20 pts/0 00:00:00 grep couchdb When I start couchdb as couchdb user (not with the rc.d script) # su - couchdb $ couchdb then no more file error messages in the log. It must be something trivial, I'll have a look at the rc.d script. Thanks very much for your help. Zsolt On Fri, Sep 10, 2010 at 6:22 AM, Dave Cottlehuber <[email protected]> wrote: > On 10 September 2010 03:59, Zsolt Czinkos <[email protected]> wrote: >> Hello >> >> I've installed couchdb 1.0.1 to CentOS 5.4 (on Amazon EC2). >> >> I built it from source, installed and started with the rc.d/couchdb >> script (added couchdb before starting, and chown and chmod as it was >> written in INSTALL.Unix). >> >> It seems to work, I can run the tests in futon. Almost all tests >> succeed, but in the log there are "File operation errors". > >> [Thu, 09 Sep 2010 15:37:39 GMT] [error] [<0.249.0>] {error_report,<0.236.0>, >> {<0.249.0>,std_error, >> "File operation error: eacces. Target: >> ./couch_httpd_view.beam. Function: get_file. Process: code_server."}} > >> [Thu, 09 Sep 2010 15:37:40 GMT] [error] [<0.249.0>] {error_report,<0.236.0>, >> {<0.249.0>,std_error, >> "File operation error: eacces. Target: >> ./couch_changes.beam. Function: get_file. Process: code_server."}} > > Hi Zsolt > > eaccess is a file access error. Can you check you've got chown'd and > chmod'ed sorted for the binaries? I have: > > -rw-r--r-- 1 dave dave 4.2K 2010-08-18 01:38 > ./lib/couchdb/erlang/lib/couch-1.0.1/ebin/couch_changes.beam > -rw-r--r-- 1 dave dave 8.8K 2010-08-18 01:38 > ./lib/couchdb/erlang/lib/couch-1.0.1/ebin/couch_httpd_view.beam > > cheers > Dave >
