Giter Club home page Giter Club logo

zato-docker's People

Contributors

dsuch avatar

Forkers

kemkes

zato-docker's Issues

Postgresql Error in docker

Hi,

I'm trying to test Zato on my Mac with Docker. When I launch this command :

docker run --pull=always -it --rm -p 22022:22 -p 8183:8183 -p 11223:11223 -p 17010:17010
--name zato-3.2-quickstart
ghcr.io/zatosource/zato-3.2-quickstart

I have this error :

fatal: [localhost]: FAILED! => {"changed": true, "cmd": "DEBIAN_FRONTEND=noninteractive service postgresql restart\n", "delta": "0:00:01.073188", "end": "2024-02-19 16:57:20.955774", "msg": "non-zero return code", "rc": 1, "start": "2024-02-19 16:57:19.882586", "stderr": "", "stderr_lines": [], "stdout": " * Restarting PostgreSQL 14 database server\n * Error: /usr/lib/postgresql/14/bin/pg_ctl /usr/lib/postgresql/14/bin/pg_ctl start -D /var/lib/postgresql/14/main -l /var/log/postgresql/postgresql-14-main.log -s -o -c config_file="/etc/postgresql/14/main/postgresql.conf" exited with status 1: \n2024-02-19 16:57:20.886 UTC [1641] LOG: starting PostgreSQL 14.11 (Ubuntu 14.11-1.pgdg20.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.4.0-1ubuntu120.04.2) 9.4.0, 64-bit\n2024-02-19 16:57:20.895 UTC [1641] LOG: listening on IPv4 address "127.0.0.1", port 5432\n2024-02-19 16:57:20.896 UTC [1641] LOG: could not bind IPv6 address "::1": Cannot assign requested address\n2024-02-19 16:57:20.898 UTC [1641] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"\n2024-02-19 16:57:20.906 UTC [1645] LOG: database system was shut down at 2024-02-19 04:41:32 UTC\nqemu: uncaught target signal 11 (Segmentation fault) - core dumped\nqemu: uncaught target signal 11 (Segmentation fault) - core dumped\nqemu: uncaught target signal 11 (Segmentation fault) - core dumped\nqemu: uncaught target signal 11 (Segmentation fault) - core dumped\nqemu: uncaught target signal 11 (Segmentation fault) - core dumped\nqemu: uncaught target signal 11 (Segmentation fault) - core dumped\npg_ctl: could not start server\nExamine the log output.\n ...fail!", "stdout_lines": [" * Restarting PostgreSQL 14 database server", " * Error: /usr/lib/postgresql/14/bin/pg_ctl /usr/lib/postgresql/14/bin/pg_ctl start -D /var/lib/postgresql/14/main -l /var/log/postgresql/postgresql-14-main.log -s -o -c config_file="/etc/postgresql/14/main/postgresql.conf" exited with status 1: ", "2024-02-19 16:57:20.886 UTC [1641] LOG: starting PostgreSQL 14.11 (Ubuntu 14.11-1.pgdg20.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.4.0-1ubuntu120.04.2) 9.4.0, 64-bit", "2024-02-19 16:57:20.895 UTC [1641] LOG: listening on IPv4 address "127.0.0.1", port 5432", "2024-02-19 16:57:20.896 UTC [1641] LOG: could not bind IPv6 address "::1": Cannot assign requested address", "2024-02-19 16:57:20.898 UTC [1641] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"", "2024-02-19 16:57:20.906 UTC [1645] LOG: database system was shut down at 2024-02-19 04:41:32 UTC", "qemu: uncaught target signal 11 (Segmentation fault) - core dumped", "qemu: uncaught target signal 11 (Segmentation fault) - core dumped", "qemu: uncaught target signal 11 (Segmentation fault) - core dumped", "qemu: uncaught target signal 11 (Segmentation fault) - core dumped", "qemu: uncaught target signal 11 (Segmentation fault) - core dumped", "qemu: uncaught target signal 11 (Segmentation fault) - core dumped", "pg_ctl: could not start server", "Examine the log output.", " ...fail!"]}

Is there is something wrong on my machine or in docker ?

Thanks

issue with docker quickstart bootup

TASK [Wait for the environment to start (up to 10-20 seconds) (02)] ************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "~/current/bin/zato wait --path /opt/zato/env/qs-1/server1 --timeout 120 --silent\n", "delta": "0:00:01.448982", "end": "2022-07-05 22:43:49.225478", "msg": "non-zero return code", "rc": 16, "start": "2022-07-05 22:43:47.776496", "stderr": "", "stderr_lines": [], "stdout": "AttributeError: ('secret_keys',) (Hint: re-run with --verbose for full traceback)", "stdout_lines": ["AttributeError: ('secret_keys',) (Hint: re-run with --verbose for full traceback)"]}

PLAY RECAP *********************************************************************
localhost                  : ok=54   changed=42   unreachable=0    failed=1    skipped=27   rescued=0    ignored=0   

with

#!/bin/bash


export src=/Users/seb/dev/Pacto/ESB/pacto-zato-scripts
export target=/opt/hot-deploy

docker run \
 --rm \
 --name zato-3.2-quickstart \
 --pull=always \
 --env-file .docker-env \
 -p 22022:22 \
 -p 8183:8183 \
 -p 17010:17010 \
 -p 11223:11223 \
 --mount type=bind,source=$src/requirements.txt,target=$target/python-reqs/requirements.txt \
 --mount type=bind,source=$src/services,target=$target/services \
 --mount type=bind,source=$src/models,target=/opt/zato/current/extlib/models \
 --mount type=bind,source=$src/enmasse.yaml,target=$target/enmasse/enmasse.yaml \
 --mount type=bind,source=$HOME/.ssh,target=/opt/zato/.ssh \
 ghcr.io/zatosource/zato-3.2-quickstart:latest

#  --mount type=bind,source=$src/account.json,target=/opt/zato/account.json \
#  --mount type=bind,source=$src/project.ini,target=$target/user-conf/project.ini \

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.