Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4348 Lượt xem

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

 

Ảnh đại diện
Huỷ bỏ

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.

Câu trả lời hay nhất

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

Add "db_password = your_db_password" in conf file.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 5 15
4444
0
thg 3 15
4836
3
thg 3 22
14914
1
thg 10 20
12236
2
thg 3 15
5759