[Wapt] Erreur postgre au post-install du serveur wapt

Joël Latieule joel.latieule at ac-montpellier.fr
Tue Nov 5 14:02:41 CET 2019


Problème résolu en réinstallant le serveur depuis le début.

Le 31/10/2019 à 14:41, Joël Latieule a écrit :
>
> Bonjour,
>
>
> Je viens de rencontrer une erreur sur une installation fraiche de 
> Debian lors de la post-installation dont le retour erreur est le suivant :
>
> Avant de reprendre l'installation de Debian au début, y a t'il une 
> solution moins radicale ?
>
> Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install.
> Executing: /lib/systemd/systemd-sysv-install enable postgresql
> psql: could not connect to server: No such file or directory
>          Is the server running locally and accepting
>          connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?──────┐
> Traceback (most recent call last):                     │ Do you want to launch post │
>    File "/opt/wapt/waptserver/scripts/postconf.py", line 621, in <module>ool ?       │
>      main()                                             │                            │
>    File "/opt/wapt/waptserver/scripts/postconf.py", line 421, in main                │
>      ensure_postgresql_db(db_name=server_config['db_name'],db_owner=server_config['db_name'],db_password=server_config['db_password'])
>    File "/opt/wapt/waptserver/scripts/postconf.py", line 188, in ensure_postgresql_db│
>      val = run(""" sudo -u postgres psql template1 -c " select usename from pg_catalog.pg_user where usename='wapt';"  """, cwd='/opt/wapt')
>    File "/opt/wapt/waptserver/scripts/postconf.py", line 66, in run >   < No  >      │
>      return subprocess.check_output(*args, shell=True, **kwargs)─────────────────────┘
>    File "/usr/lib/python2.7/subprocess.py", line 223, in check_output
>      raise CalledProcessError(retcode, cmd, output=output)
> subprocess.CalledProcessError: Command ' sudo -u postgres psql template1 -c " select usename from pg_catalog.pg_user where usename='wapt';"  '
> returned non-zero exit status 2
>
>
>
> _______________________________________________
> WAPT mailing list
> WAPT at lists.tranquil.it
> http://lists.tranquil.it/listinfo/wapt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20191105/c799d161/attachment.html>


More information about the WAPT mailing list