Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4343 Visualizzazioni

After installing odoo and run this command

./openerp-server -c /etc/openerp-server.conf & 

and go to http://........:8069

I have this message : 

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application

there my error

tail -f /var/log/openerp/openerp-server.log

    return Cursor(self.__pool, self.dbname, serialized=serialized)
  File "/opt/odoo/v8/server/openerp/sql_db.py", line 177, in __init__
    self._cnx = pool.borrow(dsn(dbname))
  File "/opt/odoo/v8/server/openerp/sql_db.py", line 439, in _locked
    return fun(self, *args, **kwargs)
  File "/opt/odoo/v8/server/openerp/sql_db.py", line 502, in borrow
    result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
  File "/usr/share/pyshared/psycopg2/__init__.py", line 179, in connect
    connection_factory=connection_factory, async=async)
OperationalError: fe_sendauth: no password supplied

Thank you

oitsuki

 

Avatar
Abbandona

I had the same problem and here is the solution. Create an openerp-server.conf file in the project directory, and copy paste this content. [options] ; This is the password that allows database operations: ; admin_passwd = admin db_host = False db_port = False db_user = openpg db_password = openpgpwd addons_path = "your addons path" for exemple C:\Users\hp-pc\workspace\openerp-8.0-9d5fb65\openerp\addons start again your server and that's it.

Risposta migliore

I guess you didn't add database password information in openerp-server.conf file.

Add "db_password = your_db_password" in conf file.

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mag 15
4442
0
mar 15
4833
3
mar 22
14907
1
ott 20
12234
2
mar 15
5758