Hello,
I just installed my FiveM server on my Linux (Ubuntu 18.04) system.
Now I have the following problem that the FXServer does not start properly via txAdmin.
I have already tried to restart the server several times and also reinstalled the server with different versions.
Information about the server:
- 32 GB Ram
- 8 cores
- 800 GB storage space
Error:
================================================================
======== FXServer starting - 1.8.2021, 16:45:43
================================================================
[ c-scripting-core] Creating script environments for _cfx_internal
[ citizen-server-impl] Scanning resources.
[ citizen-server-impl] Found 25 resources.
[ c-scripting-core] Creating script environments for sessionmanager
[ citizen-server-impl] Started resource sessionmanager
[ c-scripting-core] Creating script environments for monitor
[ script:monitor] [txAdminClient] Version 4.4.1 starting...
[ citizen-server-impl] Started resource monitor
[ c-scripting-core] Creating script environments for mapmanager
[ citizen-server-impl] Started resource mapmanager
[ c-scripting-core] Creating script environments for yarn
[ citizen-server-impl] Started resource yarn
[ citizen-server-impl] Running build tasks on resource webpack - it'll restart once completed.
[ c-resources-core] Could not start dependency webpack for resource chat.
[ citizen-server-impl] Couldn't start resource chat.
[ citizen-server-impl] Started resource spawnmanager
/home/fivem/nurgaming/alpine/opt/cfx-server/../../../run.sh: fork: retry: Resource temporarily unavailable
[ script:mapmanager] Started gametype Freeroam
[ citizen-server-impl] Started resource basic-gamemode
[ c-scripting-core] Creating script environments for hardcap
[ citizen-server-impl] Started resource hardcap
[ svadhesive] Authenticating server license key...
terminate called after throwing an instance of 'std::system_error'
what(): Resource temporarily unavailable
An error occurred while checking server license key: getaddrinfo() thread failed to start
- CURL error code 6 (Couldn't resolve host name)
[txAdmin:FXRunner] >> [21506] FXServer Exited.
[txAdmin:FXRunner] FXServer didn't start. This is not an issue with txAdmin.
yarn install v1.22.5
[1/4] Resolving packages...
success Already up-to-date.
Done in 1.06s.
[txAdmin:FXRunner] >> [21506] FXServer Closed. (code null)
My config.cfg:
# This file is a minimal version of the default config file.
# This is NOT supposed to be enough for a fully running server.
# Please read the fivem documentation:
# https://docs.fivem.net/docs/server-manual/server-commands/
# https://docs.fivem.net/docs/server-manual/setting-up-a-server/
## You CAN edit the following:
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
sv_maxclients 48
set steam_webApiKey "none"
sets tags "default, deployer"
## You MAY edit the following:
sv_licenseKey "MYENTEREDKEY"
sv_hostname "nurgaming built with CFX Default by Tabarra!"
sets sv_projectName "[CFX Default] nurgaming"
sets sv_projectDesc "Recipe for the base resources required to run a minimal FiveM server."
sets locale "root-AQ"
## These resources will start by default.
ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure basic-gamemode
ensure hardcap
## Add system admins
add_ace group.admin command allow # allow all commands
add_ace group.admin command.quit deny # but don't allow quit
add_principal identifier.fivem:1219550 group.admin #Tixm
I proceed like this at the start:
1. Run “./run.sh” in the appropriate directory to start txAdmin
2. In the web browser I then go to “ipfromserver: 40120”
3. I carried out the installation in txAdmin and then the server always starts by itself
I can’t find much about the error on the Internet so far.
Maybe someone of you has ideas.
I thank you in advance anyway!
Sincerely
Tim
