簡體   English   中英

CouchDB:不提供被褥

[英]CouchDB: Not Serving Futon

我已經在Ubuntu 11.10中安裝了CouchDB。 我有一個正在運行的HTTPD服務器(其功能正常)以及CouchDB的所有先決條件。

我已經在后台為系統上的用戶啟動了CouchDB:

須藤-i -u bpetruk couchdb -b

它告訴我它已經開始,並且是“放松的時候了”。 不幸的是,我不能放松-因為即使服務器已加載,我也無法從標准的http://127.0.0.1:5984/_utils位置訪問Futon。

這是啟動例程的一些錯誤輸出。 太可怕了,我知道。 似乎剛剛將一些JSON轉儲到了終端:

Apache CouchDB 1.2.0(LogLevel = info)已啟動。 [錯誤] [<0.96.0>] {錯誤報告,<0.31.0>,{<0.96.0>,崩潰報告,[[{initial_call,{couch_auth_cache,init,['Argument__1']}}}},{pid,< 0.96.0>},{registered_name,[]},{error_info,{exit,{{badmatch,{error,eacces}}},[{couch_auth_cache,ensure_users_db_exists,2},{couch_auth_cache,open_auth_db,0},{couch_auth_cache, reinit_cache,1},{couch_auth_cache,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]},[{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}} ,{祖先,[couch_secondary_services,couch_server_sup,<0.32.0>]},{消息,[]},{鏈接,[<0.94.0>,<0.97.0>]},{字典,[]},{ trap_exit,true},{status,running},{heap_size,610},{stack_size,24},{reductions,227}],[{neighbour,[{pid,<0.97.0>}},{registered_name,[] },{initial_call,{couch_event_sup,init,['Argument__1']}},{current_function,{gen_server,loop,6}},{祖先,[couch_auth_cache,couch_secondary_services,couch_server_sup,<0.32.0>]},{消息,[]},{links,[<0.96.0>,<0.89.0>]},{dictionary,[]},{trap_exit,false},{st atus,waiting},{heap_size,233},{stack_size,9},{reductions,32}]}]}}}} {“初始化終止於do_boot”,{{badmatch,{error,{bad_return,{{couch_app,開始,[正常,[“ / usr / local / etc / couchdb / default.ini”,“ / usr / local / etc / couchdb / local.ini”]]},{'退出',{{badmatch,{錯誤,shutdown}},[{couch_server_sup,start_server,1},{application_master,start_it_old,4}]}}}}}}}}}}},} [{couch,start,0},{init,start_it,1},{init,start_em ,1}]}}

同樣令人沮喪的事實是,在沙發床上定義-s標志(應該打印后台進程的狀態)絕對不會產生任何結果! 因此,我也無法提供這方面的信息。

在我首次進入CouchDB世界時,我可能會忽略任何常見的問題嗎? 我真的被這個卡住了!

正如上面錯誤輸出第三行中的“ {{badmatch,{error,eacces}}} ”所建議的那樣,CouchDB遇到了一些文件許可權錯誤,無法正確寫入某些文件。 我無法確定是哪個文件導致了此問題,但是獲得整個CouchDB目錄的所有權可以解決此問題。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM