On 04/16/2013 06:48 AM, Sebastian Reichel wrote:
It seems to be a problem with
> your/default postgresql configuration for local connections:
> 
> http://www.postgresql.org/docs/9.1/static/auth-methods.html#AUTH-PEER
> 
> The tt-rss php script is running via your webserver as user
> www-data, so it cannot access the ttrss database.
> 
> There's a simple guide to change the postgresql settings for local
> connections here:
> 
> http://blog.deliciousrobots.com/2011/12/13/get-postgres-working-on-ubuntu-or-linux-mint/
> 
> -- Sebastian

On 04/16/2013 06:48 AM, Sebastian Reichel wrote:
> The tt-rss php script is running via your webserver as user
> www-data, so it cannot access the ttrss database.
>
> There's a simple guide to change the postgresql settings for local
> connections here:
>
>
http://blog.deliciousrobots.com/2011/12/13/get-postgres-working-on-ubuntu-or-linux-mint/
>
> -- Sebastian

Thanks for the help.

I added "local all all md5" to /etc/postgresql/9.2/main/pg_hba.conf and
that appears to have done the trick as the /var/log/tt-rss.log is no
longer throwing the "FATAL:  Peer authentication" error.


I had one last issue and I was getting a "403 - Forbidden" when
accessing http://localhost/tt-rss while http://localhost opened just
fine as the placeholder for lighttpd.     The solution to that was to
enable php in lighttpd:

lighty-enable-mod fastcgi-php

Maybe there's a way to configure lighttpd to enable php when the tt-rss
package is configured for use with lighttpd?

Thanks for your help.

-David


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to