<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>My DNS :: DevNoteSite</title>
	<link>http://www.warden.pl</link>
	<description>&#34;Idiopathic, from the Latin meaning we&#039;re idiots cause we can&#039;t figure out what&#039;s causing it.&#34; by dr House</description>
	<lastBuildDate>Tue, 27 Sep 2011 22:44:42 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.1.1" -->

	<item>
		<title>Monitoring Tomcat PermGen, OldGen and Threads with Nagios nrpe</title>
		<description><![CDATA[Today I am sharing with you a Nagios Perl script for monitoring Tomcat through JMX. This script can be used for monitoring Tomcat server parameters through Nagios NRPE server. Script can be found here. It is not all parametrised with the command line, but can be easily adapted to monitor other parameters and/or display other [...]]]></description>
		<link>http://www.warden.pl/2011/09/28/monitoring-tomcat-permgen-oldgen-and-threads-with-nagios-nrpe/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
			</item>
	<item>
		<title>Railscast: backup database before migration</title>
		<description><![CDATA[The code for the db:backup task can be found in this post.]]></description>
		<link>http://www.warden.pl/2011/02/02/railscast-backup-database-before-migration/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
			</item>
	<item>
		<title>Rake task for backing up MySQL database</title>
		<description><![CDATA[It is often a good idea to do backups, right? ActiveRecord doesn&#8217;t provide a straight task to do them, so I have written a small rake task to achieve that. This task automatically cleans up old backups. Additionally, it offers two additional variables to define max number of backups left and the directory name to [...]]]></description>
		<link>http://www.warden.pl/2011/01/10/rake-task-for-backing-up-mysql-database/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
			</item>
	<item>
		<title>Running Redmine under unicorn in Debian</title>
		<description><![CDATA[This post explains how to set up Redmine &#8211; the packaged version in Debian, to be hosted by Unicorn server and to use apache load balancing module. This is a faster alternative to running Redmine with mod_passenger. The idea is as follows: unicorn is starting X servers running Redmine, and Apache is load-balancing the requests [...]]]></description>
		<link>http://www.warden.pl/2011/01/07/running-redmine-under-unicorn-in-debian/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
			</item>
	<item>
		<title>Deleting duplicate records in MySQL</title>
		<description><![CDATA[Sometimes you have multiple records where the same data spans across multiple columns in the table and you&#8217;d like to clean up that mess by leaving only one copy per unique set of records. Let&#8217;s consider the following recordset: mysql&#62; select * from testdup; +----+------+------+------+ &#124; id &#124; a &#124; b &#124; c &#124; +----+------+------+------+ [...]]]></description>
		<link>http://www.warden.pl/2011/01/05/deleting-duplicate-records-in-mysql/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
			</item>
	<item>
		<title>RVM, Passenger 3, REE, Rails3 in a Debian</title>
		<description><![CDATA[This post explains how to install a global RVM (Ruby Version Manager) with Passenger 3 gem, Ruby Enterprise Edition in a Debian server machine for all users. 1. Create /etc/rvmrc with the contents: export rvm_path=&#34;/opt/rvm&#34; export rvm_source_path=&#34;${rvm_path}/src&#34; export rvm_log_path=&#34;${rvm_path}/log&#34; export rvm_bin_path=&#34;${rvm_path}/bin&#34; export rvm_gems_path=&#34;$rvm_path/gems&#34; export rvm_tmp_path=&#34;${rvm_tmp_path:-&#34;$rvm_path/tmp&#34;}&#34; export rvm_install_on_use_flag=0 export rvm_gemset_create_on_use_flag=0 # export rvm_make_flags=&#34;-j7&#34; export rvm_trust_rvmrcs_flag=1 export [...]]]></description>
		<link>http://www.warden.pl/2011/01/03/quickies-installing-global-rvm-passenger-3-ree-rails3-in-a-debian/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
			</item>
	<item>
		<title>Mysql gem under MacOS Snow Leopard</title>
		<description><![CDATA[To set up this software under your Applebook, you have to download MySQL first. Go to MySQL download page and fetch an appropriate version for your system, depending if it 32 or 64 bits. I&#8217;m having MacBook Pro with Intel Core 2 Duo. Ergo, this is 64-bit architecture, ergo, I&#8217;ve chosen to download Mac OS [...]]]></description>
		<link>http://www.warden.pl/2010/11/15/how-to-install-mysql-gem-under-macos-snow-leopard/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
			</item>
	<item>
		<title>Can’t create global fcgid-proctbl mutex</title>
		<description><![CDATA[You probably see this error when you are trying to start apache with /etc/init.d/apache2 start and there is no effect. This error is caused by not clearing semaphores by apache and/or mod_fcgid and/or mod_passenger. You can see the list of semaphores with the command ipcs -s. warden@host:~$ sudo ipcs -s [sudo] password for warden: ------ [...]]]></description>
		<link>http://www.warden.pl/2010/10/27/cant-create-global-fcgid-proctbl-mutex/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
			</item>
	<item>
		<title>Rails application crashing when trying to upload files with mod_passenger</title>
		<description><![CDATA[If you are using Ruby on Rails with Apache (or Apache ITK) and mod_passenger and you get an error while you are trying to upload a file through Rails application, you are probably facing the problem of wrong permissions set in the webserver_private directory of passenger. Passenger is not currently supporting ITK and is not [...]]]></description>
		<link>http://www.warden.pl/2010/10/27/rails-application-crashing-when-trying-to-upload-files-with-mod_passenger/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
			</item>
	<item>
		<title>Mysql::Error: query: not connected with Rails ActiveRecord</title>
		<description><![CDATA[If you run rake db:migrate and experience that error: rake aborted! Mysql::Error: query: not connected: CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract_adapter.rb:202:in `rescue in log' C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract_adapter.rb:194:in `log' C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/connection_adapters/mysql_adapter.rb:289:in `execute' C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/schema_statements.rb:167:in `create_table' C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/connection_adapters/mysql_adapter.rb:445:in `create_table' C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/connection_adapters/abstract/schema_statements.rb:430:in `initialize_schema_migrations_table' C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/migration.rb:487:in `initialize' C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/migration.rb:433:in `new' C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/migration.rb:433:in `up' C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/migration.rb:415:in `migrate' C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.0.0/lib/active_record/railties/databases.rake:142:in `block (2 levels) in ' C:/Ruby192/lib/ruby/1.9.1/rake.rb:634:in `call' C:/Ruby192/lib/ruby/1.9.1/rake.rb:634:in `block [...]]]></description>
		<link>http://www.warden.pl/2010/09/03/mysqlerror-query-not-connected-with-rails-activerecord/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
			</item>
</channel>
</rss>

