credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #03202
[Bug 914638] [NEW] error accessing database from command line - (for export of translation)
Public bug reported:
none of the users is able to login
/srv/openerp/instances/trunk/openobject-server/openerp-server
--modules=xml_template --i18n-export=xml_template/i18n/de_DE.po
--language=de_DE --config=/srv/openerp/.openerp_server_61_rc
--database=blau61a --db_user=admin --db_password=<my password> --stop-
after-init
Traceback (most recent call last):
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/sql_db.py", line 423, in borrow
result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
OperationalError: FATAL: Ident authentication failed for user "admin"
[2012-01-11 08:38:08,615][blau61a] ERROR:root:Failed to initialize database `blau61a`.
Traceback (most recent call last):
File "/srv/openerp/instances/trunk/openobject-server/openerp-server", line 92, in preload_registry
db, registry = openerp.pooler.get_db_and_pool(dbname, update_module=config['init'] or config['update'], pooljobs=False)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/pooler.py", line 33, in get_db_and_pool
registry = RegistryManager.get(db_name, force_demo, status, update_module, pooljobs)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/modules/registry.py", line 138, in get
update_module, pooljobs)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/modules/registry.py", line 150, in new
registry = Registry(db_name)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/modules/registry.py", line 53, in __init__
cr = self.db.cursor()
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/sql_db.py", line 468, in cursor
return Cursor(self._pool, self.dbname, serialized=serialized)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/sql_db.py", line 176, in __init__
self._cnx = pool.borrow(dsn(dbname))
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/sql_db.py", line 368, in _locked
return fun(self, *args, **kwargs)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/sql_db.py", line 423, in borrow
result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
OperationalError: FATAL: Ident authentication failed for user "admin"
** Affects: openobject-server
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/914638
Title:
error accessing database from command line - (for export of
translation)
Status in OpenERP Server:
New
Bug description:
none of the users is able to login
/srv/openerp/instances/trunk/openobject-server/openerp-server
--modules=xml_template --i18n-export=xml_template/i18n/de_DE.po
--language=de_DE --config=/srv/openerp/.openerp_server_61_rc
--database=blau61a --db_user=admin --db_password=<my password>
--stop-after-init
Traceback (most recent call last):
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/sql_db.py", line 423, in borrow
result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
OperationalError: FATAL: Ident authentication failed for user "admin"
[2012-01-11 08:38:08,615][blau61a] ERROR:root:Failed to initialize database `blau61a`.
Traceback (most recent call last):
File "/srv/openerp/instances/trunk/openobject-server/openerp-server", line 92, in preload_registry
db, registry = openerp.pooler.get_db_and_pool(dbname, update_module=config['init'] or config['update'], pooljobs=False)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/pooler.py", line 33, in get_db_and_pool
registry = RegistryManager.get(db_name, force_demo, status, update_module, pooljobs)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/modules/registry.py", line 138, in get
update_module, pooljobs)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/modules/registry.py", line 150, in new
registry = Registry(db_name)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/modules/registry.py", line 53, in __init__
cr = self.db.cursor()
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/sql_db.py", line 468, in cursor
return Cursor(self._pool, self.dbname, serialized=serialized)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/sql_db.py", line 176, in __init__
self._cnx = pool.borrow(dsn(dbname))
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/sql_db.py", line 368, in _locked
return fun(self, *args, **kwargs)
File "/home/srv/openerp/instances/trunk/openobject-server/openerp/sql_db.py", line 423, in borrow
result = psycopg2.connect(dsn=dsn, connection_factory=PsycoConnection)
OperationalError: FATAL: Ident authentication failed for user "admin"
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/914638/+subscriptions
Follow ups
References