I change the Method to trust, and it's word. Thank you for help.

2009/9/1 Karen Tracey <kmtra...@gmail.com>

> On Tue, Sep 1, 2009 at 10:54 AM, NMarcu <marcu.nico...@gmail.com> wrote:
>
>>
>> Hello all,
>>
>>   I'm very new in python, Django... I have a Django project. If I run
>> it like: python manage.py runserver, everything is OK. When I run it
>> in Apache2 I got this error:
>> OperationalError at /login
>>
>> FATAL:  Ident authentication failed for user "nmarcu"
>>
>> How can be this possible? In Django server the project works fine, the
>> connection with postgresql works fine, and when i run it on Apache, I
>> can't connect to db with my valid user?
>>
>
> When you run the development server I'd guess you are logged in as nmarcu.
> When the server runs under Apache it isn't logged in as you, it is running
> as another user.  Based on the error message your PostgreSQL server is
> apparently using ident-based authentication, so if the server is not
> actually running as the user you are trying to connect as, you will get this
> error.  Likely you want to change the authentication setup for your
> database.  See:
>
> http://www.postgresql.org/docs/8.0/interactive/auth-methods.html
>
> Karen
>
> >
>


-- 
All the best,

Nicolae MARCU

--~--~---------~--~----~------------~-------~--~----~
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