openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #07884
[Bug 914638] Re: Authentication failed : Can not login from command line
Hello,
I have login by using following parameters in server configuration from
command line :
--database=trunk_feb_22 --db_user=admin --db_password=a
It's prevent me for login and faced the same problem as per bug
description.
Thanks.
** Changed in: openobject-server
Importance: Undecided => Medium
** Changed in: openobject-server
Status: New => Confirmed
** Changed in: openobject-server
Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)
--
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/914638
Title:
Authentication failed : Can not login from command line
Status in OpenERP Server:
Confirmed
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
References