root@MacBook:~/XENA# ./setup_linux_64bit
Welcome to XENA!
Setup process initiated. This may take some time.
Creating a key pair. Created.
Checking Docker. Installed.
Creating a docker network. Created.
Creating two containers: xena-atila, xena-atila-postgres. Success.
Creating two containers: xena-domena, xena-domena-postgres. Success.
Creating two containers: xena-pyramid, xena-pyramid-postgres. Success.
Creating one container: xena-gateway. Success.
Creating one container: xena-Face.
-
-
-
-
-
-
-
- XENA_ATILA - - - - - - -
{"level":30,"time":1646303669652,"pid":1,"hostname":"2ed9d1c216b2","name":"atila","msg":"started server on 0.0.0.0:60666"}
-
-
-
-
-
-
-
- XENA_ATILA_POSTGRES - - - - - - -
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... Etc/UTC
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
Success. You can now start the database server using:
pg_ctl -D /var/lib/postgresql/data -l logfile start
waiting for server to start....2022-03-03 10:31:43.104 UTC [47] LOG: starting PostgreSQL 14.2 (Debian 14.2-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2022-03-03 10:31:43.106 UTC [47] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2022-03-03 10:31:43.116 UTC [48] LOG: database system was shut down at 2022-03-03 10:31:42 UTC
2022-03-03 10:31:43.123 UTC [47] LOG: database system is ready to accept connections
done
server started
CREATE DATABASE
/usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
2022-03-03 10:31:43.423 UTC [47] LOG: received fast shutdown request
waiting for server to shut down....2022-03-03 10:31:43.425 UTC [47] LOG: aborting any active transactions
2022-03-03 10:31:43.433 UTC [47] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1
2022-03-03 10:31:43.433 UTC [49] LOG: shutting down
2022-03-03 10:31:43.447 UTC [47] LOG: database system is shut down
done
server stopped
PostgreSQL init process complete; ready for start up.
-
-
-
-
-
-
- XENA_DOMENA - - - - - - -
{"level":30,"time":1646303862766,"pid":1,"hostname":"0b6eadcee1a6","name":"xena-service-domena","msg":"started server on 0.0.0.0:60798"}
-
-
-
-
-
-
- XENA_DOMENA_POSTGRES - - - - - - -
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... Etc/UTC
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
Success. You can now start the database server using:
pg_ctl -D /var/lib/postgresql/data -l logfile start
waiting for server to start....2022-03-03 10:34:30.560 UTC [47] LOG: starting PostgreSQL 14.2 (Debian 14.2-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2022-03-03 10:34:30.566 UTC [47] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2022-03-03 10:34:30.577 UTC [48] LOG: database system was shut down at 2022-03-03 10:34:30 UTC
2022-03-03 10:34:30.587 UTC [47] LOG: database system is ready to accept connections
done
server started
CREATE DATABASE
/usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
2022-03-03 10:34:30.965 UTC [47] LOG: received fast shutdown request
waiting for server to shut down....2022-03-03 10:34:30.967 UTC [47] LOG: aborting any active transactions
2022-03-03 10:34:30.974 UTC [47] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1
2022-03-03 10:34:30.975 UTC [49] LOG: shutting down
2022-03-03 10:34:30.988 UTC [47] LOG: database system is shut down
done
server stopped
PostgreSQL init process complete; ready for start up.
-
-
-
-
-
-
- XENA_PYRAMID - - - - - - -
{"level":30,"time":1646304028329,"pid":1,"hostname":"e8a3285c6ae5","name":"xena-pyramid","msg":"started server on 0.0.0.0:60667"}
-
-
-
-
-
-
- XENA_PYRAMID_POSTGRES - - - - - - -
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale "en_US.utf8".
The default database encoding has accordingly been set to "UTF8".
The default text search configuration will be set to "english".
Data page checksums are disabled.
fixing permissions on existing directory /var/lib/postgresql/data ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... Etc/UTC
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok
syncing data to disk ... ok
Success. You can now start the database server using:
pg_ctl -D /var/lib/postgresql/data -l logfile start
waiting for server to start....2022-03-03 10:37:43.712 UTC [48] LOG: starting PostgreSQL 14.2 (Debian 14.2-1.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
2022-03-03 10:37:43.721 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2022-03-03 10:37:43.735 UTC [49] LOG: database system was shut down at 2022-03-03 10:37:43 UTC
2022-03-03 10:37:43.744 UTC [48] LOG: database system is ready to accept connections
done
server started
CREATE DATABASE
/usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
2022-03-03 10:37:44.199 UTC [48] LOG: received fast shutdown request
waiting for server to shut down....2022-03-03 10:37:44.200 UTC [48] LOG: aborting any active transactions
2022-03-03 10:37:44.212 UTC [48] LOG: background worker "logical replication launcher" (PID 55) exited with exit code 1
2022-03-03 10:37:44.212 UTC [50] LOG: shutting down
2022-03-03 10:37:44.237 UTC [48] LOG: database system is shut down
done
server stopped
PostgreSQL init process complete; ready for start up.
-
-
-
-
-
-
- XENA_FACE - - - - - - -
An error happened during the printing of container logs: exit status 1
-
-
-
-
-
-
- XENA_GATEWAY - - - - - - -
-
-
- DOCKER PS - - -
a988914cfa27 xena-service-gateway "/app/main" 3 minutes ago Up 2 minutes 0.0.0.0:60606->60606/tcp, :::60606->60606/tcp xena-gateway
e8a3285c6ae5 xena-service-pyramid "docker-entrypoint.s…" 3 minutes ago Up 3 minutes 0.0.0.0:60667->60667/tcp, :::60667->60667/tcp xena-pyramid
5e50866fbc0a postgres "docker-entrypoint.s…" 6 minutes ago Up 6 minutes 5432/tcp xena-pyramid-postgres
0b6eadcee1a6 xena-service-domena "docker-entrypoint.s…" 6 minutes ago Up 6 minutes 0.0.0.0:60798->60798/tcp, :::60798->60798/tcp xena-domena
0bb9b22940a8 postgres "docker-entrypoint.s…" 9 minutes ago Up 9 minutes 5432/tcp xena-domena-postgres
2ed9d1c216b2 xena-service-atila "docker-entrypoint.s…" 9 minutes ago Up 9 minutes 0.0.0.0:60666->60666/tcp, :::60666->60666/tcp xena-atila
bb27b017e8c0 postgres "docker-entrypoint.s…" 12 minutes ago Up 12 minutes 5432/tcp xena-atila-postgres
-
Seems like something went wrong.
Please, submit a ticket at: https://github.com/zarkones/XENA/issues
Provide the logs when submiting a ticket.
FIX TIPS:
1. "exit status 125" indicates a conflict in container names. Delete all containers with the prefix 'xena' and run setup process again.
exit status 1. Unable to build and run xena-face container.
panic: DOCKER_INIT_FACE_FAILED
goroutine 1 [running]:
main.main()
/home/windowsx/Desktop/xena/tools/xena-tool-automagic/main.go:178 +0xc18