Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification. The "Error_messages" page has been changed by LenaHerrmann. The comment on this change is: Hint to problem where directories are missing. http://wiki.apache.org/couchdb/Error_messages?action=diff&rev1=18&rev2=19 -------------------------------------------------- * [[#BinaryArchitectureMismatchSolarisSPARC|Binary Architecture Mismatch Solaris/SPARC]] * [[#UnavailablePort|Unavailable Port]] * [[#MissingOpenSSL|Missing OpenSSL]] - * [[#IncorrectPermissions|Incorrect Permissions]] + * [[#IncorrectPermissions|Incorrect Permissions or Missing Directories]] * [[#CrashOnStartup|Crash On Startup]] * [[#RuntimeErrors|Runtime Errors]] * [[#functionraisedexceptionCannotencodeundefinedvalueasJSON|function raised exception (Cannot encode 'undefined' value as JSON)]] @@ -225, +225 @@ If you compiled by hand, you need to install the OpenSSL libraries and recompile Erlang with SSL enabled. <> - == Incorrect Permissions == + == Incorrect Permissions or Missing Directories == === Problem === @@ -241, +241 @@ === Solution === You need to make sure that the user running couchdb has permissions to write to /usr/local/var/lib/couchdb and /usr/local/var/log/couchdb. This error message may also appear if CouchDB is trying to bind to a port that is already in use. + + Also check that the directories specified in your local.ini are there, like the database_dir and the directory where the log file is created. If they are not there, create them. <> == Crash On Startup ==