[ 
https://issues.apache.org/jira/browse/COUCHDB-2287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joan Touzet resolved COUCHDB-2287.
----------------------------------

    Resolution: Invalid

{code}
File operation error: eacces. Target: /usr/local/lib/couchdb/erlang/lib. 
Function: list_dir.
{code}

EACCES means the permissions are wrong on that path. Make sure that the user 
who couchdb runs as, is able to access and read that directory and the files 
inside of it.

> couchdb 1.6 crash on FreeBSD 10
> -------------------------------
>
>                 Key: COUCHDB-2287
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2287
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Database Core
>    Affects Versions: 1.6.0
>         Environment: FreeBSD 10 Erlang 17
>            Reporter: Edison Chindrawaly
>
> Dear All,
> I am using FreeBSD 10 and I install couchdb 1.6 from port without any 
> problem. However upon starting couchdb using service couchdb start, it 
> crashed without having a specific reason. 
> I looked for answer in google and many says due to permission in all the 
> folders of couchdb /var/{run log db}/couchdb and /usr/local/lib/couchdb - I 
> set them all to couchdb and set mod to 770 as many of results in google. 
> However the couchdb won't start either.
> I tried to run as normal user (not couchdb user) and it will give me this 
> error.
> {error_logger,{{2014,7,30},{10,15,44}},std_error,"File operation error: 
> eacces. Target: /usr/local/lib/couchdb/erlang/lib. Function: list_dir. 
> Process: code_server."}
> =ERROR REPORT==== 30-Jul-2014::17:15:44 ===
> File operation error: eacces. Target: /usr/local/lib/couchdb/erlang/lib. 
> Function: list_dir. Process: code_server.
> {"init terminating in 
> do_boot",{undef,[{couch,start,[],[]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
> if I ran as root (service couchdb start) - it won't give me that error above, 
> it just simply crash with 
> heart_beat_kill_pid = 542
> heart_beat_timeout = 11
> heart: Wed Jul 30 10:00:24 2014: Erlang is crashing .. (waiting for crash 
> dump file)
> heart: Wed Jul 30 10:00:25 2014: Executed "/usr/local/bin/couchdb -k" -> 0. 
> Terminating.
> -----
> Any idea?
> Thanks in advance



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to