heya,

Thanks for the tip. It does work now, following your advice =).

I created a new PostgreSQL user named "www-data". I then changed my
settings.py file:

            'USER': 'www-data',                      # Not used with
sqlite3.
            'PASSWORD': 'ourpassword',                  # Not used
with sqlite3.
            'HOST': '',                      # Set to empty string for
localhost. Not used with sqlite3.
            'PORT': '',                      # Set to empty string for
default. Not used with sqlite3.
        }

However, I'm still curious as to what changed, as I'm fairly sure this
setup worked on the old Ubuntu 9.04 server? And I'm definitely sure
that the database username was set to "victorhooi" on that old system
- I copied the settings.py file over using verbatim (rsync).

Also, is this recommended practice, to use "www-data" as the backend
database username?

Cheers,
Victor

On Jun 21, 3:54 pm, Torsten Bronger <bron...@physik.rwth-aachen.de>
wrote:
> Hall chen!
>
> Victor Hooi writes:
> > [...]
>
> > I created a blank PostgreSQL database as myself ("victorhooi").
>
> > I ran ./manage.py syncdb, and this seemed to authenticate fine,
> > and create all the required tables.
>
> > When I try to go tohttp://site.com/adminthough, I get an error:
>
> >     OperationalError at /admin/
> >     FATAL:  Ident authentication failed for user "victorhooi"
>
> Does the webserver also run as victorhooi?  Maybe it runs as
> www-data for example.
>
> Tsch ,
> Torsten.
>
> --
> Torsten Bronger, aquisgrana, europa vetus
>                    Jabber ID: torsten.bron...@jabber.rwth-aachen.de
>                                   orhttp://bronger-jmp.appspot.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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