← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 700814] Re: db_user and db_password not read

 

I made a few modifications to the /doc/openerp-server.conf file to add 
the database password that I created for the openerp postgres user. But 
it doesn't seem to read this file when I run ./openerp-server.py.

The file I'm using is pasted below.

I hope this helps.


[options]
without_demo = True
; This is the password that allows database operations:
admin_passwd = admin
upgrade = False
verbose = False
netrpc = True
xmlrpc = True
port = 8069
interface = localhost
db_host = False
db_port = 5432
; Please uncomment the following line *after* you have created the
; database. It activates the auto module check on startup.
; db_name = terp
db_user = openerp
db_password = ********
; Uncomment these for xml-rpc over SSL
; secure = True
; secure_cert_file = /etc/openerp/server.cert
; secure_pkey_file = /etc/openerp/server.key
root_path = /opt/openerp-server
soap = False
translate_modules = ['all']
demo = {}
addons_path = /opt/openerp-server/bin/addons
reportgz = False

; Static http parameters
static_http_enable = False
static_http_document_root = /var/www/html
static_http_url_prefix = /


On 1/9/2011 11:08 PM, Saz(OpenERP) wrote:
> Hello Gregg,
>
> Would you please provide me more information regarding the bug.
>
> 1) By default system will consider the parameters of configuration as in
> the .openerp_serverrc file.
>
> 2) If you are making your own configuration file then you need to use
> the following command "./openerp-server.py --addons=../../openobject-
> addons/ -c /home/saz/test.cfg " for reading the parameters which are in
> test.cfg file.
>
> 3) File config.py of server is for only executable purpose not for
> reading the parameters of it.
>
> I wanted to know about your conf file, whether it is customized or you
> are talking about any of others.
>
> Thanks.
>
>
> ** Changed in: openobject-server
>         Status: New =>  Incomplete
>

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/700814

Title:
  db_user and db_password not read

Status in OpenObject Server:
  Incomplete

Bug description:
  When running the command python openerp-server.py, the values for db_user and db_password in the conf file are not used. The server starts without issues only if the --db_user and --db_password arguments are used on the command line.

This is on a Ubuntu 10.04 server using version 6 RC2 that was downloaded 1/9/2011





References