<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Ruby on Rails 2.3 and PostgreSQL on Ubuntu Hardy 8.04 LTS and 10.04 LTS Server</title>
	<atom:link href="http://www.nachbar.name/blog/2008/11/28/rails-and-postgresql-on-ubuntu-hardy-804-lts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nachbar.name/blog/2008/11/28/rails-and-postgresql-on-ubuntu-hardy-804-lts/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rails-and-postgresql-on-ubuntu-hardy-804-lts</link>
	<description>Programming and Plastic Surgery</description>
	<lastBuildDate>Fri, 16 Mar 2012 20:11:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: nachbar</title>
		<link>http://www.nachbar.name/blog/2008/11/28/rails-and-postgresql-on-ubuntu-hardy-804-lts/#comment-15</link>
		<dc:creator>nachbar</dc:creator>
		<pubDate>Wed, 21 Jul 2010 03:27:12 +0000</pubDate>
		<guid isPermaLink="false">http://nachbar.name/blog/?p=8#comment-15</guid>
		<description>Alex:  To troubleshoot, try su&#039;ing to the httpd user, and then, as the httpd user, try accessing your database with &quot;psql testp_development&quot; .  Try the psql commands above to list databases, etc.  Don&#039;t forget to GRANT the privileges to the httpd user that you need.  Reread the sections above on PostgreSQL users, and the psql commands.</description>
		<content:encoded><![CDATA[<p>Alex:  To troubleshoot, try su&#8217;ing to the httpd user, and then, as the httpd user, try accessing your database with &#8220;psql testp_development&#8221; .  Try the psql commands above to list databases, etc.  Don&#8217;t forget to GRANT the privileges to the httpd user that you need.  Reread the sections above on PostgreSQL users, and the psql commands.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://www.nachbar.name/blog/2008/11/28/rails-and-postgresql-on-ubuntu-hardy-804-lts/#comment-14</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Tue, 20 Jul 2010 08:55:20 +0000</pubDate>
		<guid isPermaLink="false">http://nachbar.name/blog/?p=8#comment-14</guid>
		<description>I have a problem with postgresql ident authentication.
I installed apache, ruby on rails and passenger.
I use ident authentication and i got &quot;MIdent authentication failed for user &quot;httpd&quot;.
I added httpd user to postgresql users. But it does not help.
Here is my database.yml
development:
  adapter: postgresql
  encoding: unicode
  database: testp_development
  pool: 5
  username: httpd
  password: 12345
I know that problem is in ident authentication.
Here is pg_hba.conf

 TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD

# &quot;local&quot; is for Unix domain socket connections only
local   all         all                               ident sameuser
# IPv4 local connections:
host    all         all         127.0.0.1/32          ident sameuser
# IPv6 local connections:
host    all         all         ::1/128               ident sameuser

Please help me.</description>
		<content:encoded><![CDATA[<p>I have a problem with postgresql ident authentication.<br />
I installed apache, ruby on rails and passenger.<br />
I use ident authentication and i got &#8220;MIdent authentication failed for user &#8220;httpd&#8221;.<br />
I added httpd user to postgresql users. But it does not help.<br />
Here is my database.yml<br />
development:<br />
  adapter: postgresql<br />
  encoding: unicode<br />
  database: testp_development<br />
  pool: 5<br />
  username: httpd<br />
  password: 12345<br />
I know that problem is in ident authentication.<br />
Here is pg_hba.conf</p>
<p> TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD</p>
<p># &#8220;local&#8221; is for Unix domain socket connections only<br />
local   all         all                               ident sameuser<br />
# IPv4 local connections:<br />
host    all         all         127.0.0.1/32          ident sameuser<br />
# IPv6 local connections:<br />
host    all         all         ::1/128               ident sameuser</p>
<p>Please help me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nachbar</title>
		<link>http://www.nachbar.name/blog/2008/11/28/rails-and-postgresql-on-ubuntu-hardy-804-lts/#comment-13</link>
		<dc:creator>nachbar</dc:creator>
		<pubDate>Thu, 15 Oct 2009 13:22:46 +0000</pubDate>
		<guid isPermaLink="false">http://nachbar.name/blog/?p=8#comment-13</guid>
		<description>Thanks, Gintaras.  Great to know it works with 9.04.</description>
		<content:encoded><![CDATA[<p>Thanks, Gintaras.  Great to know it works with 9.04.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gintaras</title>
		<link>http://www.nachbar.name/blog/2008/11/28/rails-and-postgresql-on-ubuntu-hardy-804-lts/#comment-12</link>
		<dc:creator>Gintaras</dc:creator>
		<pubDate>Thu, 15 Oct 2009 10:32:55 +0000</pubDate>
		<guid isPermaLink="false">http://nachbar.name/blog/?p=8#comment-12</guid>
		<description>Great guide, followed using Ubuntu 9.04. Works perfectly, thanks :)</description>
		<content:encoded><![CDATA[<p>Great guide, followed using Ubuntu 9.04. Works perfectly, thanks <img src='http://www.nachbar.name/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthijs Groen</title>
		<link>http://www.nachbar.name/blog/2008/11/28/rails-and-postgresql-on-ubuntu-hardy-804-lts/#comment-11</link>
		<dc:creator>Matthijs Groen</dc:creator>
		<pubDate>Wed, 30 Sep 2009 20:01:01 +0000</pubDate>
		<guid isPermaLink="false">http://nachbar.name/blog/?p=8#comment-11</guid>
		<description>Thanks! this really helped. now to setup the geo functions and I&#039;m off!</description>
		<content:encoded><![CDATA[<p>Thanks! this really helped. now to setup the geo functions and I&#8217;m off!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.nachbar.name/blog/2008/11/28/rails-and-postgresql-on-ubuntu-hardy-804-lts/#comment-10</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 31 Mar 2009 17:06:14 +0000</pubDate>
		<guid isPermaLink="false">http://nachbar.name/blog/?p=8#comment-10</guid>
		<description>Just what I needed for a new vps installation.

Great guide, very smooth going.
Thanks a million !</description>
		<content:encoded><![CDATA[<p>Just what I needed for a new vps installation.</p>
<p>Great guide, very smooth going.<br />
Thanks a million !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nachbar</title>
		<link>http://www.nachbar.name/blog/2008/11/28/rails-and-postgresql-on-ubuntu-hardy-804-lts/#comment-9</link>
		<dc:creator>nachbar</dc:creator>
		<pubDate>Mon, 02 Feb 2009 21:49:49 +0000</pubDate>
		<guid isPermaLink="false">http://nachbar.name/blog/?p=8#comment-9</guid>
		<description>Yes, mihserf: you can use su to change to the postgres account either from root (without a password) or from another user (with a password).  There are pros and cons to doing it either way; use whichever you are more comfortable with.</description>
		<content:encoded><![CDATA[<p>Yes, mihserf: you can use su to change to the postgres account either from root (without a password) or from another user (with a password).  There are pros and cons to doing it either way; use whichever you are more comfortable with.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mihserf</title>
		<link>http://www.nachbar.name/blog/2008/11/28/rails-and-postgresql-on-ubuntu-hardy-804-lts/#comment-8</link>
		<dc:creator>mihserf</dc:creator>
		<pubDate>Thu, 29 Jan 2009 10:03:20 +0000</pubDate>
		<guid isPermaLink="false">http://nachbar.name/blog/?p=8#comment-8</guid>
		<description>Thanks for the article!
When I tried to su postgres I had authentication error cause of wrong password.
To fix it you need to do sudo passwd postgres and then type your new password twice.
Now you can simply change user to postgres by command su postgres and typing your password.
Maybe someone will find it helpful.</description>
		<content:encoded><![CDATA[<p>Thanks for the article!<br />
When I tried to su postgres I had authentication error cause of wrong password.<br />
To fix it you need to do sudo passwd postgres and then type your new password twice.<br />
Now you can simply change user to postgres by command su postgres and typing your password.<br />
Maybe someone will find it helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nachbar</title>
		<link>http://www.nachbar.name/blog/2008/11/28/rails-and-postgresql-on-ubuntu-hardy-804-lts/#comment-7</link>
		<dc:creator>nachbar</dc:creator>
		<pubDate>Fri, 12 Dec 2008 19:07:34 +0000</pubDate>
		<guid isPermaLink="false">http://nachbar.name/blog/?p=8#comment-7</guid>
		<description>Thanks, Boris.  Yes; everything above was with Rails 2.2.2 .  I had not tried it with Rails 2.1</description>
		<content:encoded><![CDATA[<p>Thanks, Boris.  Yes; everything above was with Rails 2.2.2 .  I had not tried it with Rails 2.1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boris Barroso</title>
		<link>http://www.nachbar.name/blog/2008/11/28/rails-and-postgresql-on-ubuntu-hardy-804-lts/#comment-6</link>
		<dc:creator>Boris Barroso</dc:creator>
		<pubDate>Fri, 12 Dec 2008 16:30:27 +0000</pubDate>
		<guid isPermaLink="false">http://nachbar.name/blog/?p=8#comment-6</guid>
		<description>Thanx so much, I&#039;ve been having problems with Postgre, It worked with Rails 2.1 but it is not working with Rails 2.2. Did you make it work PostgreSQL with Rails 2.2</description>
		<content:encoded><![CDATA[<p>Thanx so much, I&#8217;ve been having problems with Postgre, It worked with Rails 2.1 but it is not working with Rails 2.2. Did you make it work PostgreSQL with Rails 2.2</p>
]]></content:encoded>
	</item>
</channel>
</rss>

