couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Installing_on_Ubuntu" by Linicks
Date Wed, 19 May 2010 21:42:53 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "Installing_on_Ubuntu" page has been changed by Linicks.
The comment on this change is: Add logging configuration tips..
http://wiki.apache.org/couchdb/Installing_on_Ubuntu?action=diff&rev1=20&rev2=21

--------------------------------------------------

  # {"couchdb":"Welcome","version":"0.11.0"}
  }}}
  === Additional Notes ===
+ 
+ ==== Problems with libmozjs and xulrunner? ====
  In Ubuntu 10.04 you may get an error similar to this:
  
  {{{
@@ -84, +86 @@

  sudo /sbin/ldconfig
  }}}
  This solution is referenced in this bug report @ https://bugs.launchpad.net/ubuntu/+source/xulrunner-1.9/+bug/557275
+ 
+ ==== Don't forget to configure logging! ====
+ 
+ -''Setup log rotate:''
+ 
+ First off, a lot of people run CouchDB from source which means that in 99% of all installs,
the log rotation is not activated.
+ 
+ To fix this (on Ubuntu/Debian), do the following:
+ {{{
+ sudo ln -s /usr/local/etc/logrotate.d/couch /etc/logrotate.d/couchdb
+ }}}
+ 
+ ,,- Don't forget to change the path to match your installation.,,
+ 
+ Make sure to familiarize yourself with log rotate. Depending on the space requirements and
business of your installation, you should adjust your configuration so that you don't run
out of disk space. If CouchDB is unable to log, it will crash.
+ 
+ -''Adjust the log level:''
+ 
+ In most cases it's more than alright to just run with a log level of error.
+ 
+ Add the following to your local.ini (in [log]): level = error
+ Log directory
+ 
+ If you are still running out of diskspace? Add the following to your local.ini (in [log]):
+ 
+ file = /path/to/more/diskspace/couch.log
+ 
+ ... if you adjusted the above, you will need to correct the config for logrotate.d as well.
+ 
+ -''No logging:''
+ 
+ Last but not least — if no logs are needed, just turn them off completely.
+ 
+ These logging tips is based on the recommendations found here: [[http://till.klampaeckel.de/blog/archives/95-Operating-CouchDB.html|Operating
CouchDB]]
  
  == Note on installing on  Ubuntu Desktop flavors ==
  

Mime
View raw message