My guess is that your connection string specifies connecting as user
"acacian", specifies no password and that you've been logged in as a
user with the same name to run runserver. The default configuration of
postgresql allows users to connect as a postgresql user of the same
name as them without a password (over local sockets).

I suspect the apache process is not running as user "acacian" thus
password-less authentication is failing.

To fix it you'll need to fiddle around with postgresql authentication
settings (unless you want to change the user which apache runs as).

On Apr 19, 11:54 pm, Daryl <d...@antonius.cc> wrote:
> Hello,
>
> I'm getting the following error when deployed under mod_wsgi
>
>    File "/usr/lib/python2.5/site-packages/Django-1.0.2_final-py2.5.egg/
> django/db/backends/postgresql_psycopg2/base.py", line 98, in _cursor
>      self.connection = Database.connect(**conn_params)
>  OperationalError: FATAL:  Ident authentication failed for user
> "acacian"
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to