It is far too easy to overlook something when setting it up, especially "just for peeking around" or testing packages or whatever. trace:
lenny:~# cubicweb-ctl db-create docaster
**** connecting to postgres database template1@None as docaster
Traceback (most recent call last):
File "/usr/bin/cubicweb-ctl", line 4, in <module>
run(sys.argv[1:])
File "/usr/lib/python2.5/site-packages/cubicweb/cwctl.py", line 806, in run
main_run(args, __doc__)
File "/usr/lib/python2.5/site-packages/cubicweb/toolsutils.py", line 255, in main_run
base_main_run(args, doc)
File "/usr/lib/python2.5/site-packages/logilab/common/clcommands.py", line 136, in main_run
cmd_run(arg, *args)
File "/usr/lib/python2.5/site-packages/logilab/common/clcommands.py", line 119, in cmd_run
command.run(args)
File "/usr/lib/python2.5/site-packages/cubicweb/server/serverctl.py", line 304, in run
dbcnx = _db_sys_cnx(source, 'CREATE DATABASE and / or USER', verbose=verbose)
File "/usr/lib/python2.5/site-packages/cubicweb/server/serverctl.py", line 82, in _db_sys_cnx
cnx = system_source_cnx(source, True, special_privs=special_privs, verbose=verbose)
File "/usr/lib/python2.5/site-packages/cubicweb/server/serverctl.py", line 66, in system_source_cnx
return source_cnx(source, system_db, special_privs=special_privs, verbose=verbose)
File "/usr/lib/python2.5/site-packages/cubicweb/server/serverctl.py", line 54, in source_cnx
port=source.get('db-port'))
File "/usr/lib/python2.5/site-packages/logilab/common/db.py", line 673, in get_connection
return adapted_module.connect(host, database, user, password, port=port)
File "/usr/lib/python2.5/site-packages/logilab/common/db.py", line 269, in connect
cnx = self._native_module.connect(cnx_string)
psycopg2.OperationalError: FATAL: authentification Ident échouée pour l'utilisateur « docaster »
| |
| priority | normal |
|---|---|
| type | enhancement |
| appeared in | <not specified> |
| done in | 201001 |
| load | 0.000 |
| load left | 0.000 |
| closed by | <not specified> |


#120075 [doc] proposed structure