Complete newb to rails & passenger. I'm running passenger 3.0.19 on Linux Mint. My app runs fine with WEBrick(rails server) and with standalone passenger. When I try to use mod_passenger I get "FATAL: Peer authentication failed for user "me_user" (PG::Error)":
#Phusion Passenger config info
LoadModule passenger_module /var/lib/gems/1.9.1/gems/passenger-3.0.19/ext/apache2/mod_passenger.so
PassengerRoot /var/lib/gems/1.9.1/gems/passenger-3.0.19
PassengerRuby /usr/bin/ruby1.9.1
#Suppose you have a Rails application in /somewhere. Add a virtual host to your
#Apache configuration file and set its DocumentRoot to /somewhere/public:
<VirtualHost *:80>
ServerName localhost
# !!! Be sure to point DocumentRoot to 'public'!
DocumentRoot /var/www/myapp/public
<Directory /var/www/myapp/public>
# This relaxes Apache security settings.
AllowOverride all
# MultiViews must be turned off.
Options -MultiViews
</Directory>
</VirtualHost>I should note: that the db account works via commandline and is configured in database.yml. I've seen ppl indicate that this is an issue with pg_hba.conf...but if that were my problem then the application wouldn't work in standalone either...but it does. thanks in advance.