TheCubicWebBook #123516 we need simple steps manual configuration for postgres & likewise stuff [rejected]

It is far too easy to overlook something when setting it up, especially "just for peeking around" or testing packages or whatever.


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>
 File "/usr/lib/python2.5/site-packages/cubicweb/", line 806, in run
   main_run(args, __doc__)
 File "/usr/lib/python2.5/site-packages/cubicweb/", line 255, in main_run
   base_main_run(args, doc)
 File "/usr/lib/python2.5/site-packages/logilab/common/", line 136, in main_run
   cmd_run(arg, *args)
 File "/usr/lib/python2.5/site-packages/logilab/common/", line 119, in cmd_run
 File "/usr/lib/python2.5/site-packages/cubicweb/server/", 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/", 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/", 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/", line 54, in source_cnx
 File "/usr/lib/python2.5/site-packages/logilab/common/", line 673, in get_connection
   return adapted_module.connect(host, database, user, password, port=port)
 File "/usr/lib/python2.5/site-packages/logilab/common/", line 269, in connect
   cnx = self._native_module.connect(cnx_string)
psycopg2.OperationalError: FATAL:  authentification Ident échouée pour l'utilisateur « docaster »
done in201001
load left0.000
closed by<not specified>