PostgreSQL OperationalError

89 views
Skip to first unread message

Muhammed TÜFEKYAPAN

unread,
Oct 18, 2013, 4:28:45 AM10/18/13
to django...@googlegroups.com
Hello,


I just start to publish my app on web. Everything going well but I face a new problem, before I never face. Site working but sometimes raise error like this;

OperationalError at /

fe_sendauth: no password supplied



Full error looks like this;

OperationalError at /

fe_sendauth: no password supplied
Request Method: GET
Request URL: http://www.domain.co/
Django Version: 1.5.1
Exception Type: OperationalError
Exception Value:
fe_sendauth: no password supplied
Exception Location: /var/www/www.domain.co/env/local/lib/python2.7/site-packages/psycopg2/__init__.py in connect, line 164
Python Executable: /var/www/www.domain.co/env/bin/python
Python Version: 2.7.3
Python Path:
['/var/www/www.domain.co/dictionaryproject',
 '/var/www/www.domain.co/env/bin',
 '/var/www/www.domain.co/env/lib/python2.7',
 '/var/www/www.domain.co/env/lib/python2.7/plat-linux2',
 '/var/www/www.domain.co/env/lib/python2.7/lib-tk',
 '/var/www/www.domain.co/env/lib/python2.7/lib-old',
 '/var/www/www.domain.co/env/lib/python2.7/lib-dynload',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/var/www/www.domain.co/env/local/lib/python2.7/site-packages']
Server time: Fri, 18 Oct 2013 03:26:32 -0500


What is the problem and how can I solve it?


Best.

Xavier Ordoquy

unread,
Oct 18, 2013, 4:51:55 AM10/18/13
to django...@googlegroups.com
Hello,

Your DATABASES settings aren't correct.
fe_sendauth is about Postgresql complaining the login/password didn't match.

Regards,
Xavier,
Linovia.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/108c39f7-dc12-435f-8eb0-77a761708aa7%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Muhammed TÜFEKYAPAN

unread,
Oct 18, 2013, 5:38:18 AM10/18/13
to django...@googlegroups.com
Thanks for answer. But if my login and pass didn't match, it always raise error. It just sometimes raise error, sometimes doesn't.


2013/10/18 Xavier Ordoquy <xord...@linovia.com>

--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/oM0ayk0Mw0U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.

To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.

For more options, visit https://groups.google.com/groups/opt_out.



--
Muhammed Tüfekyapan
İTÜ - Tekstil Müh.
532 172 70 66

Xavier Ordoquy

unread,
Oct 18, 2013, 5:45:14 AM10/18/13
to django...@googlegroups.com
If you are using anything other than the devserver, you'll need to reload / restart your service in order for your changes to take effects.
Django/webservers differ a couple of things until a request comes. This means that if you changed the settings after a first request you may have a some threads that don't have correct settings and some that do.

Regards,
Xavier,
Linovia.

Muhammed TÜFEKYAPAN

unread,
Oct 18, 2013, 12:40:48 PM10/18/13
to django...@googlegroups.com
I restart and problem solved.

Thanks everbody.

Best.
Reply all
Reply to author
Forward
0 new messages