fanyx / docker-tmserver

Docker image for simple or customizable Trackmania Nations/United Forever server
https://hub.docker.com/r/fanyx/tmserver
GNU General Public License v3.0
19 stars 6 forks source link

server crashes with exit code 9 #2

Closed hacker-h closed 2 years ago

hacker-h commented 4 years ago

Trying to run the docker-compose setup out of the box after defining credentials and inserting TNF credentials into SERVER_LOGIN and SERVER_LOGIN_PASSWORD results in a crashing server:

$ docker-compose up
Creating trackmania_db ... done
Creating trackmania_phpmyadmin ... done
Creating trackmania_tmserver   ... done
Creating trackmania_xaseco     ... done
Attaching to trackmania_db, trackmania_phpmyadmin, trackmania_tmserver, trackmania_xaseco
trackmania_db | 2020-09-17 15:46:15+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.31-1debian10 started.
trackmania_phpmyadmin | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.31.0.3. Set the 'ServerName' directive globally to suppress this message
trackmania_db | 2020-09-17 15:46:15+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
trackmania_tmserver | No gamemode was specified. Defaulting to TimeAttack.
trackmania_tmserver | No chat timeout was specified. Defaulting to 10000 ms.
trackmania_phpmyadmin | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.31.0.3. Set the 'ServerName' directive globally to suppress this message
trackmania_phpmyadmin | [Thu Sep 17 15:46:16.755919 2020] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.38 (Debian) PHP/7.4.9 configured -- resuming normal operations
trackmania_phpmyadmin | [Thu Sep 17 15:46:16.755953 2020] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
trackmania_tmserver | No finish timeout was specified. Defaulting to adaptive mode.
trackmania_tmserver | Respawns were not specified. Defaulting to enabled.
trackmania_db | 2020-09-17 15:46:15+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.31-1debian10 started.
trackmania_xaseco | Server account login is missing. Server cannot start.
trackmania_xaseco | Please set environment variable SERVER_LOGIN.
trackmania_db | 2020-09-17T15:46:16.031988Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
trackmania_db | 2020-09-17T15:46:16.033413Z 0 [Note] mysqld (mysqld 5.7.31) starting as process 1 ...
trackmania_tmserver | No points limit was specified for rounds mode. Defaulting to 30.
trackmania_db | 2020-09-17T15:46:16.035726Z 0 [Note] InnoDB: PUNCH HOLE support available
trackmania_db | 2020-09-17T15:46:16.035740Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
trackmania_db | 2020-09-17T15:46:16.035743Z 0 [Note] InnoDB: Uses event mutexes
trackmania_db | 2020-09-17T15:46:16.035746Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
trackmania_db | 2020-09-17T15:46:16.035748Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
trackmania_db | 2020-09-17T15:46:16.035750Z 0 [Note] InnoDB: Using Linux native AIO
trackmania_tmserver | No time limit was specified for time attack mode. Defaulting to 180000 ms.
trackmania_db | 2020-09-17T15:46:16.036028Z 0 [Note] InnoDB: Number of pools: 1
trackmania_db | 2020-09-17T15:46:16.036110Z 0 [Note] InnoDB: Using CPU crc32 instructions
trackmania_tmserver | No points limit was specified for team mode. Defaulting to 50.
trackmania_tmserver | No number of maximum points per round was specified for team mode. Defaulting to 6.
trackmania_tmserver | No number of laps was specified for laps mode. Defaulting to 5.
trackmania_db | 2020-09-17T15:46:16.037607Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
trackmania_tmserver | No time limit was specified for laps mode. Defaulting to no limit.
trackmania_tmserver | Evaluation over
trackmania_tmserver | Checking for custom playlist
trackmania_db | 2020-09-17T15:46:16.044207Z 0 [Note] InnoDB: Completed initialization of buffer pool
trackmania_tmserver | Evaluating custom playlist over
trackmania_tmserver | Substition in config files
trackmania_db | 2020-09-17T15:46:16.046060Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
trackmania_db | 2020-09-17T15:46:16.058322Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
trackmania_db | 2020-09-17T15:46:16.060143Z 0 [Note] InnoDB: Log scan progressed past the checkpoint lsn 12579341
trackmania_db | 2020-09-17T15:46:16.060224Z 0 [Note] InnoDB: Doing recovery: scanned up to log sequence number 12579350
trackmania_db | 2020-09-17T15:46:16.060266Z 0 [Note] InnoDB: Database was not shutdown normally!
trackmania_db | 2020-09-17T15:46:16.060280Z 0 [Note] InnoDB: Starting crash recovery.
trackmania_db | 2020-09-17T15:46:16.208737Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
trackmania_db | 2020-09-17T15:46:16.208789Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
trackmania_db | 2020-09-17T15:46:16.208921Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
trackmania_db | 2020-09-17T15:46:16.406694Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
trackmania_db | 2020-09-17T15:46:16.408854Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
trackmania_db | 2020-09-17T15:46:16.408883Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
trackmania_db | 2020-09-17T15:46:16.409571Z 0 [Note] InnoDB: Waiting for purge to start
trackmania_db | 2020-09-17T15:46:16.459729Z 0 [Note] InnoDB: 5.7.31 started; log sequence number 12579350
trackmania_db | 2020-09-17T15:46:16.460276Z 0 [Note] Plugin 'FEDERATED' is disabled.
trackmania_db | 2020-09-17T15:46:16.461044Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
trackmania_db | 2020-09-17T15:46:16.462549Z 0 [Note] InnoDB: Buffer pool(s) load completed at 200917 15:46:16
trackmania_db | 2020-09-17T15:46:16.466487Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
trackmania_db | 2020-09-17T15:46:16.466501Z 0 [Note] Skipping generation of SSL certificates as certificate files are present in data directory.
trackmania_db | 2020-09-17T15:46:16.467058Z 0 [Warning] CA certificate ca.pem is self signed.
trackmania_db | 2020-09-17T15:46:16.467090Z 0 [Note] Skipping generation of RSA key pair as key files are present in data directory.
trackmania_db | 2020-09-17T15:46:16.467526Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
trackmania_db | 2020-09-17T15:46:16.467656Z 0 [Note] IPv6 is available.
trackmania_db | 2020-09-17T15:46:16.467678Z 0 [Note]   - '::' resolves to '::';
trackmania_db | 2020-09-17T15:46:16.467697Z 0 [Note] Server socket created on IP: '::'.
trackmania_db | 2020-09-17T15:46:16.477910Z 0 [Warning] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
trackmania_db | 2020-09-17T15:46:16.486148Z 0 [Note] Event Scheduler: Loaded 0 events
trackmania_db | 2020-09-17T15:46:16.486342Z 0 [Note] mysqld: ready for connections.
trackmania_db | Version: '5.7.31'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)
trackmania_xaseco exited with code 9
fanyx commented 2 years ago

GitHub never notified me that people opened issues on my own repository... very interesting. Sorry for the lack of a response...

If it is of any concern to you, I reworked the entire project to include TMServer and Xaseco in one container from now on. There will be new documentation in the coming days but I will close this issue as it relates to an old version of the project.

If you're still having issues with the new version feel free to open a new issue, I have enabled notifications on all activity on this repo now.