openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #23700
[Bug 1121974] Re: OpenERP 7.0 will not use different database server than "localhost"
Hello Frido Steffers ,
I have checked your issue at my end , Its working fine at my end , I think problem occurs
your end due to PostgreSQL configuration ,
Same thing done in lp:1124440 but he did not face any problem to
connect.
So currently I am closing this issue , If you still face the problem regarding this issue then you can
reopen this issue with more clarification.
Thank you.
** Changed in: openobject-server
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1121974
Title:
OpenERP 7.0 will not use different database server than "localhost"
Status in OpenERP Server:
Invalid
Bug description:
On linux machines, OpenERP 7.0 does not use the database configuration
set in the configuration file.
In the configuration file ( /etc/openerp-server.conf) you can state db_host.
But this setting is not used by the server.
By changing /usr/lib/python2.6/site-packages/openerp-7.0_20130211_002141-py2.6.egg/openerp/tools/config.py
I was able to use a different database server than "localhost"
In the file mentioned above there is a section:
if self.options['db_password']:
if sys.platform == 'win32' and not self.options['db_host']:
self.options['db_host'] = 'localhost'
#if self.options['db_host']:
# self._generate_pgpassfile()
self.options['db_host'] = '192.168.122.73'
if opt.save:
self.save()
I added the line "self.options['db_host'] = '192.168.122.73'" so it
will use that IP address as database server.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1121974/+subscriptions
References