← Back to team overview

credativ team mailing list archive

Re: [Question #181897]: [template1] ERROR:db.connection_pool:Connection to the database failed

 

Question #181897 on OpenERP Server changed:
https://answers.launchpad.net/openobject-server/+question/181897

    Status: Open => Needs information

Olivier Dony (OpenERP) requested more information:
Based on your description, it seems that you have not properly setup the database connection parameters in the configuration of the OpenERP Server, therefore it cannot reach the database.
If you don't specify any database host with --db_host as a command-line parameter when launching the server, or by setting a db_host parameter in your configuration file, the system will assume an empty database host, which means that it will try to connect using a local unix socket.
If your PostgreSQL does not listen for local socket connections, you need to pass 'localhost' as the hostname for example.
See also the output of `./openerp-server.py --help` and the PostgreSQL manual.

You can also find more info on how to install OpenERP in our
installation manuals: http://doc.openerp.com/v6.0/install/index.html
#installation-link

Hope this helps..

-- 
You received this question notification because you are a member of
OpenERP Framework Experts, which is an answer contact for OpenERP
Server.