Can't find server.cfg

Ubuntu 18 running server 626(since that’s what my ZAP server is running)

I followed the FiveM wiki doc to install the server, including the creation of server.cfg in server-data but on startup, I get:

My server.cfg looks like this:

# only change these if you're using a server with multiple network interfaces
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"

start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start hardcap
start rconlog
start scoreboard
start playernames

# allow client mods such as Lamda Menu?
sv_scriptHookAllowed 0

# change this
rcon_password monroe

# a comma-separated list of tags for your server
# for example: sets tags "drifting, cars, racing" or sets tags "roleplay, military, tanks"
sets tags "default"

sv_hostname "Schwim's Dev Server"

# nested configs!
#exec server_internal.cfg

# loading a server icon (96x96 PNG file)
#load_server_icon myLogo.png

# convars for use from script
set temp_convar "hey world!"

# Uncomment to DISABLE your server coming up in the server list
sv_master1 ""

# want to only allow players authenticated with a third-party provider like Steam (don't forget, Social Club is a third party provider too!)?
#sv_authMaxVariance 1
#sv_authMinTrust 5

# 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.steam:xxxxxxxxxxxxxxx
# remove the # to hide player endpoints in external log output
#sv_endpointprivacy true

# server slots limit (must be between 1 and 32)
sv_maxclients 32

# license key for server (https://keymaster.fivem.net)
sv_licenseKey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

server.cfg is placed in server-data which is in the same dir as run.sh

Any chance someone can tell me what I’m doing wrong?

Thanks for your time!

From my original post:

have u space ( fivem$ bash) can’t use spaces - i.e Folders names

are you running Linux, ah if so not to sure on that as im windows

maybe do need space after bash… bash /root/myserver/server/run.sh +exec server.cfg

don’t know not tried set up Linux

There are no spaces in the path. The only space in the command is between run.sh and +exec server.cfg

Sorry, there is a space between the bash command and path. The server is starting up as you can see in the original post, it’s just not finding server.cfg which I don’t understand, as it’s in server-data, the same as instructed in the tutorial and where it’s at on my zap server.

Alright, what in the hell am I doing wrong?

I installed the server on a Windows machine. I followed every step to the letter. It still states that it can’t find server.cfg:

So my server.cfg is being missed in two completely different operating systems(win 10 and Ubuntu 18)What’s being done incorrectly?

wheres all other files

Here’s my file structure. As far as I can tell from the wiki, this seems the correct placement. If you see something wrong, please let me know :slight_smile:

and what still don’t work?

just one thing move all in server-data into main folder - like fivem folder, you don’t need that folder (server-data)
look at my pic . ( don’t have to just makes easier i think anyways)

image

2 how you start you server, have you a bat file?
3. make a .bat in same folder fivem… and put like

(the /d part is only if on different drive… i just leave don’t hurt (above)

all you need to change in .bat is location of or folder C:\Games
Five…>>> up to (highlighted) /run.cmd

if you leave in folder like in video yours in .bat should look C:\Fivem\run.cmd +exec server.cfg ( if all in fivem folder if in server-data then C:/fivem/server-data/rUn.cmd…

all in Same Folder then try…

1 Like

Thanks to all your help, I managed to get it working. Seeing the batch file made it click concerning which directory I needed to be in when I ran the command.

Thanks again!

Was there ever a fix for this? I’m having the exact same issue now. I’ve tried on 2 different builds, install everything correctly and getting this error when I try to launch the server.

First time trying to build a linux server I followed all the steps from FiveM’s wiki and double checked it. Did I miss a step?

INFO: No channel links found in configuration file.
Resolved live-internal.fivem.net:30110 to 62.210.162.18:30110
^3Couldn't find resource sessionmanager.^7
No such config file: server.cfg
GlobalError: This server does not have a license key specified. Please set the sv_licenseKey console variable to a key from https://keymaster.fivem.net/. (for example, `set sv_licenseKey "key"` in the config, or `+set sv_licenseKey key` on the command line)
This server does not have a license key specified. Please set the sv_licenseKey console variable to a key from https://keymaster.fivem.net/. (for example, `set sv_licenseKey "key"` in the config, or `+set sv_licenseKey key` on the command line)Stacktrace:

/proc/self/maps:
419ad000-419cd000 rwxp 00000000 00:00 0
41bfb000-41c0b000 rwxp 00000000 00:00 0
ab8ab280000-ab8ab300000 rw-p 00000000 00:00 0
13041bc80000-13041bd00000 rw-p 00000000 00:00 0
1746d5a92000-1746d5a94000 ---p 00000000 00:00 0
1746d5a94000-1746d5a9c000 rw-p 00000000 00:00 0
1746d5a9c000-1746d5a9e000 ---p 00000000 00:00 0
19a6d1a00000-19a6d1a47000 rw-p 00000000 00:00 0
273038ce8000-273038d00000 ---p 00000000 00:00 0
273038d00000-273038d03000 rw-p 00000000 00:00 0
273038d03000-273038d04000 ---p 00000000 00:00 0
273038d04000-273038d7f000 r-xp 00000000 00:00 0
273038d7f000-273058ce8000 ---p 00000000 00:00 0
38feeff00000-38feeff80000 rw-p 00000000 00:00 0
3c82cd000000-3c82cd006000 rw-p 00000000 00:00 0
7fbeda6e0000-7fbeda741000 r--p 00000000 08:00 258775                     /home/msrps1/alpine/opt/cfx-server/citizen/clr2/lib/mono/4.5/MsgPack.dll
7fbeda741000-7fbeda782000 rw-p 00000000 00:00 0
7fbeda782000-7fbeda784000 ---p 00000000 00:00 0
7fbeda784000-7fbeda886000 rw-p 00000000 00:00 0
7fbeda886000-7fbeda888000 ---p 00000000 00:00 0
7fbeda888000-7fbeda98a000 rw-p 00000000 00:00 0
7fbeda98a000-7fbeda98c000 ---p 00000000 00:00 0
7fbeda98c000-7fbedaa8e000 rw-p 00000000 00:00 0
7fbedaa8e000-7fbedaa90000 ---p 00000000 00:00 0
7fbedaa90000-7fbedab92000 rw-p 00000000 00:00 0
7fbedab92000-7fbedab94000 ---p 00000000 00:00 0
7fbedab94000-7fbedac96000 rw-p 00000000 00:00 0
7fbedac96000-7fbedac98000 ---p 00000000 00:00 0
7fbedac98000-7fbedad9a000 rw-p 00000000 00:00 0
7fbedad9a000-7fbedad9c000 ---p 00000000 00:00 0
7fbedad9c000-7fbedae9e000 rw-p 00000000 00:00 0
7fbedae9e000-7fbedaea0000 ---p 00000000 00:00 0
7fbedaea0000-7fbedafa2000 rw-p 00000000 00:00 0
7fbedafa2000-7fbedafa4000 ---p 00000000 00:00 0
7fbedafa4000-7fbedb0a6000 rw-p 00000000 00:00 0
7fbedb0a6000-7fbedb0a8000 ---p 00000000 00:00 0
7fbedb0a8000-7fbedb1aa000 rw-p 00000000 00:00 0
7fbedb1aa000-7fbedb1ac000 ---p 00000000 00:00 0
7fbedb1ac000-7fbedb2ae000 rw-p 00000000 00:00 0
7fbedb2ae000-7fbedb2b0000 ---p 00000000 00:00 0
7fbedb2b0000-7fbedb3b2000 rw-p 00000000 00:00 0
7fbedb3b2000-7fbedb3b4000 ---p 00000000 00:00 0
7fbedb3b4000-7fbedb4b6000 rw-p 00000000 00:00 0
7fbedb4b6000-7fbedb4b8000 ---p 00000000 00:00 0
7fbedb4b8000-7fbedb5ba000 rw-p 00000000 00:00 0
7fbedb5ba000-7fbedb5bc000 ---p 00000000 00:00 0
7fbedb5bc000-7fbedb6be000 rw-p 00000000 00:00 0
7fbedb6be000-7fbedb6c0000 ---p 00000000 00:00 0
7fbedb6c0000-7fbedb7c2000 rw-p 00000000 00:00 0
7fbedb7c2000-7fbedb7c4000 ---p 00000000 00:00 0
7fbedb7c4000-7fbedb8c6000 rw-p 00000000 00:00 0
7fbedb8c6000-7fbedb8c8000 ---p 00000000 00:00 0
7fbedb8c8000-7fbedb9ca000 rw-p 00000000 00:00 0
7fbedb9ca000-7fbedb9cc000 ---p 00000000 00:00 0
7fbedb9cc000-7fbedbace000 rw-p 00000000 00:00 0
7fbedbace000-7fbedbad0000 ---p 00000000 00:00 0
7fbedbad0000-7fbedbbd2000 rw-p 00000000 00:00 0
7fbedbbd2000-7fbedbbd4000 ---p 00000000 00:00 0
7fbedbbd4000-7fbedbcd6000 rw-p 00000000 00:00 0
7fbedbcd6000-7fbedbcd8000 ---p 00000000 00:00 0
7fbedbcd8000-7fbedbdda000 rw-p 00000000 00:00 0
7fbedbdda000-7fbedbddc000 ---p 00000000 00:00 0
7fbedbddc000-7fbedbede000 rw-p 00000000 00:00 0
7fbedbede000-7fbedbee0000 ---p 00000000 00:00 0
7fbedbee0000-7fbedbfe2000 rw-p 00000000 00:00 0
7fbedbfe2000-7fbedbfe4000 ---p 00000000 00:00 0
7fbedbfe4000-7fbedc0e6000 rw-p 00000000 00:00 0
7fbedc0e6000-7fbedc1de000 r--p 00000000 08:00 258923                     /home/msrps1/alpine/opt/cfx-server/citizen/clr2/lib/mono/4.5/System.Core.dll
7fbedc1de000-7fbedc1e0000 ---p 00000000 00:00 0
7fbedc1e0000-7fbedc2e2000 rw-p 00000000 00:00 0
7fbedc2e2000-7fbedc2e4000 ---p 00000000 00:00 0
7fbedc2e4000-7fbedc3e6000 rw-p 00000000 00:00 0
7fbedc3e6000-7fbedc62f000 r-xp 00000000 08:00 258951                     /home/msrps1/alpine/opt/cfx-server/libcitizen-server-main.so
7fbedc62f000-7fbedc631000 r--p 00049000 08:00 258951                     /home/msrps1/alpine/opt/cfx-server/libcitizen-server-main.so
7fbedc631000-7fbedc632000 rw-p 0004b000 08:00 258951                     /home/msrps1/alpine/opt/cfx-server/libcitizen-server-main.so
7fbedc632000-7fbedc634000 ---p 00000000 00:00 0
7fbedc634000-7fbedc835000 rw-p 00000000 00:00 0
7fbedc835000-7fbedcc00000 r--p 00000000 08:00 258921                     /home/msrps1/alpine/opt/cfx-server/citizen/clr2/lib/mono/4.5/mscorlib.dll
7fbedcc00000-7fbede000000 rw-p 00000000 00:00 0
7fbede031000-7fbede072000 rw-p 00000000 00:00 0
7fbede072000-7fbede074000 ---p 00000000 00:00 0
7fbede074000-7fbede175000 rw-p 00000000 00:00 0
7fbede175000-7fbede177000 ---p 00000000 00:00 0
7fbede177000-7fbede18c000 rw-p 00000000 00:00 0
7fbede18c000-7fbede19c000 r--p 00000000 08:00 258774                     /home/msrps1/alpine/opt/cfx-server/citizen/clr2/lib/mono/4.5/CitizenFX.Core.pdb
7fbede19c000-7fbede1c4000 r--p 00000000 08:00 258773                     /home/msrps1/alpine/opt/cfx-server/citizen/clr2/lib/mono/4.5/CitizenFX.Core.dll
7fbede1c4000-7fbede244000 rw-p 00000000 00:00 0
7fbede247000-7fbede4af000 r-xp 00000000 08:00 258944                     /home/msrps1/alpine/opt/cfx-server/libcitizen-resources-metadata-lua.so
7fbede4af000-7fbede4b2000 r--p 00068000 08:00 258944                     /home/msrps1/alpine/opt/cfx-server/libcitizen-resources-metadata-lua.so
7fbede4b2000-7fbede4b3000 rw-p 0006b000 08:00 258944                     /home/msrps1/alpine/opt/cfx-server/libcitizen-resources-metadata-lua.so
7fbede4b3000-7fbede725000 r-xp 00000000 08:00 258946                     /home/msrps1/alpine/opt/cfx-server/libcitizen-scripting-lua.so
7fbede725000-7fbede729000 r--p 00072000 08:00 258946                     /home/msrps1/alpine/opt/cfx-server/libcitizen-scripting-lua.so
7fbede729000-7fbede72a000 rw-p 00076000 08:00 258946                     /home/msrps1/alpine/opt/cfx-server/libcitizen-scripting-lua.so
7fbede72a000-7fbede978000 r-xp 00000000 08:00 258965                     /home/msrps1/alpine/opt/cfx-server/libsvadhesive.so
7fbede978000-7fbede97b000 r--p 0004e000 08:00 258965                     /home/msrps1/alpine/opt/cfx-server/libsvadhesive.so
7fbede97b000-7fbede97c000 rw-p 00051000 08:00 258965                     /home/msrps1/alpine/opt/cfx-server/libsvadhesive.so
7fbede97c000-7fbedecfb000 r-xp 00000000 08:00 142332                     /home/msrps1/alpine/lib/libcrypto.so.42.0.0
7fbedecfb000-7fbeded18000 r--p 0017f000 08:00 142332                     /home/msrps1/alpine/lib/libcrypto.so.42.0.0
7fbeded18000-7fbeded1e000 rw-p 0019c000 08:00 142332                     /home/msrps1/alpine/lib/libcrypto.so.42.0.0
7fbeded1e000-7fbeded22000 rw-p 00000000 00:00 0
7fbeded22000-7fbedef66000 r-xp 00000000 08:00 142322                     /home/msrps1/alpine/lib/libssl.so.44.0.1
7fbedef66000-7fbedef6a000 r--p 00044000 08:00 142322                     /home/msrps1/alpine/lib/libssl.so.44.0.1
7fbedef6a000-7fbedef6e000 rw-p 00048000 08:00 142322                     /home/msrps1/alpine/lib/libssl.so.44.0.1
7fbedef6e000-7fbedf194000 r-xp 00000000 08:00 142657                     /home/msrps1/alpine/usr/lib/libssh2.so.1.0.1
7fbedf194000-7fbedf195000 r--p 00026000 08:00 142657                     /home/msrps1/alpine/usr/lib/libssh2.so.1.0.1
7fbedf195000-7fbedf196000 rw-p 00027000 08:00 142657                     /home/msrps1/alpine/usr/lib/libssh2.so.1.0.1
7fbedf196000-7fbedf3b4000 r-xp 00000000 08:00 142655                     /home/msrps1/alpine/usr/lib/libnghttp2.so.14.15.0
7fbedf3b4000-7fbedf3b5000 r--p 0001e000 08:00 142655                     /home/msrps1/alpine/usr/lib/libnghttp2.so.14.15.0
7fbedf3b5000-7fbedf3b7000 rw-p 0001f000 08:00 142655                     /home/msrps1/alpine/usr/lib/libnghttp2.so.14.15.0
7fbedf3b7000-7fbedf5df000 r-xp 00000000 08:00 258961                     /home/msrps1/alpine/opt/cfx-server/libnng.so
7fbedf5df000-7fbedf5e1000 r--p 00028000 08:00 258961                     /home/msrps1/alpine/opt/cfx-server/libnng.so
7fbedf5e1000-7fbedf5e2000 rw-p 0002a000 08:00 258961                     /home/msrps1/alpine/opt/cfx-server/libnng.so
7fbedf5e2000-7fbedf5e3000 rw-p 00000000 00:00 0
7fbedf5e3000-7fbedf84c000 r-xp 00000000 08:00 142658                     /home/msrps1/alpine/usr/lib/libcurl.so.4.5.0
7fbedf84c000-7fbedf84f000 r--p 00069000 08:00 142658                     /home/msrps1/alpine/usr/lib/libcurl.so.4.5.0
7fbedf84f000-7fbedf850000 rw-p 0006c000 08:00 142658                     /home/msrps1/alpine/usr/lib/libcurl.so.4.5.0
7fbedf850000-7fbedfcf8000 r-xp 00000000 08:00 258949                     /home/msrps1/alpine/opt/cfx-server/libcitizen-server-impl.so
7fbedfcf8000-7fbedfd08000 r--p 002a8000 08:00 258949                     /home/msrps1/alpine/opt/cfx-server/libcitizen-server-impl.so
7fbedfd08000-7fbedfd09000 rw-p 002b8000 08:00 258949                     /home/msrps1/alpine/opt/cfx-server/libcitizen-server-impl.so
7fbedfd09000-7fbedfd0a000 rw-p 00000000 00:00 0
7fbedfd0a000-7fbedff39000 r-xp 00000000 08:00 258967                     /home/msrps1/alpine/opt/cfx-server/libvfs-impl-server.so
7fbedff39000-7fbedff3b000 r--p 0002f000 08:00 258967                     /home/msrps1/alpine/opt/cfx-server/libvfs-impl-server.so
7fbedff3b000-7fbedff3c000 rw-p 00031000 08:00 258967                     /home/msrps1/alpine/opt/cfx-server/libvfs-impl-server.so
7fbedff3c000-7fbee01e5000 r-xp 00000000 08:00 258968                     /home/msrps1/alpine/opt/cfx-server/libvoip-server-mumble.so
7fbee01e5000-7fbee01ea000 r--p 000a9000 08:00 258968                     /home/msrps1/alpine/opt/cfx-server/libvoip-server-mumble.so
7fbee01ea000-7fbee01eb000 rw-p 000ae000 08:00 258968                     /home/msrps1/alpine/opt/cfx-server/libvoip-server-mumble.so
7fbee01eb000-7fbee041f000 r-xp 00000000 08:00 258952                     /home/msrps1/alpine/opt/cfx-server/libcitizen-server-net.so
7fbee041f000-7fbee0421000 r--p 00034000 08:00 258952                     /home/msrps1/alpine/opt/cfx-server/libcitizen-server-net.so
7fbee0421000-7fbee0422000 rw-p 00036000 08:00 258952                     /home/msrps1/alpine/opt/cfx-server/libcitizen-server-net.so
7fbee0422000-7fbee0687000 r-xp 00000000 08:00 258959                     /home/msrps1/alpine/opt/cfx-server/libnet-http-server.so
7fbee0687000-7fbee068a000 r--p 00065000 08:00 258959                     /home/msrps1/alpine/opt/cfx-server/libnet-http-server.so
7fbee068a000-7fbee068c000 rw-p 00068000 08:00 258959                     /home/msrps1/alpine/opt/cfx-server/libnet-http-server.so
7fbee068c000-7fbee068d000 rw-p 00000000 00:00 0
7fbee068d000-7fbee08b3000 r-xp 00000000 08:00 258950                     /home/msrps1/alpine/opt/cfx-server/libcitizen-server-instance.so
7fbee08b3000-7fbee08b4000 r--p 00026000 08:00 258950                     /home/msrps1/alpine/opt/cfx-server/libcitizen-server-instance.so
7fbee08b4000-7fbee08b5000 rw-p 00027000 08:00 258950                     /home/msrps1/alpine/opt/cfx-server/libcitizen-server-instance.so
7fbee08b5000-7fbee23c7000 r--p 00000000 08:00 142596                     /home/msrps1/alpine/usr/lib/libicudata.so.59.1
7fbee23c7000-7fbee23c8000 r--p 01912000 08:00 142596                     /home/msrps1/alpine/usr/lib/libicudata.so.59.1
7fbee23c8000-7fbee2738000 r-xp 00000000 08:00 142589                     /home/msrps1/alpine/usr/lib/libicuuc.so.59.1
7fbee2738000-7fbee274b000 r--p 00170000 08:00 142589                     /home/msrps1/alpine/usr/lib/libicuuc.so.59.1
7fbee274b000-7fbee274c000 rw-p 00183000 08:00 142589                     /home/msrps1/alpine/usr/lib/libicuuc.so.59.1
7fbee274c000-7fbee274d000 rw-p 00000000 00:00 0
7fbee274d000-7fbee2b6d000 r-xp 00000000 08:00 142588                     /home/msrps1/alpine/usr/lib/libicui18n.so.59.1
7fbee2b6d000-7fbee2b7b000 r--p 00220000 08:00 142588                     /home/msrps1/alpine/usr/lib/libicui18n.so.59.1
7fbee2b7b000-7fbee2b7c000 rw-p 0022e000 08:00 142588                     /home/msrps1/alpine/usr/lib/libicui18n.so.59.1
7fbee2b7c000-7fbee2d97000 r-xp 00000000 08:00 142648                     /home/msrps1/alpine/usr/lib/libv8_libbase.so
7fbee2d97000-7fbee2d98000 r--p 0001b000 08:00 142648                     /home/msrps1/alpine/usr/lib/libv8_libbase.so
7fbee2d98000-7fbee2d99000 rw-p 0001c000 08:00 142648                     /home/msrps1/alpine/usr/lib/libv8_libbase.so
7fbee2d99000-7fbee2fa7000 r-xp 00000000 08:00 142569                     /home/msrps1/alpine/usr/lib/libcares.so.2.2.0
7fbee2fa7000-7fbee2fa8000 r--p 0000e000 08:00 142569                     /home/msrps1/alpine/usr/lib/libcares.so.2.2.0
7fbee2fa8000-7fbee2fa9000 rw-p 0000f000 08:00 142569                     /home/msrps1/alpine/usr/lib/libcares.so.2.2.0
7fbee2fa9000-7fbee31ba000 r-xp 00000000 08:00 142632                     /home/msrps1/alpine/usr/lib/libv8_libplatform.so
7fbee31ba000-7fbee31bb000 r--p 00011000 08:00 142632                     /home/msrps1/alpine/usr/lib/libv8_libplatform.so
7fbee31bb000-7fbee31bc000 rw-p 00012000 08:00 142632                     /home/msrps1/alpine/usr/lib/libv8_libplatform.so
7fbee31bc000-7fbee4169000 r-xp 00000000 08:00 142586                     /home/msrps1/alpine/usr/lib/libv8.so
7fbee4169000-7fbee41b7000 r--p 00dad000 08:00 142586                     /home/msrps1/alpine/usr/lib/libv8.so
7fbee41b7000-7fbee41bd000 rw-p 00dfb000 08:00 142586                     /home/msrps1/alpine/usr/lib/libv8.so
7fbee41bd000-7fbee41cc000 rw-p 00000000 00:00 0
7fbee41cc000-7fbee4793000 r-xp 00000000 08:00 258962                     /home/msrps1/alpine/opt/cfx-server/libnode.so
7fbee4793000-7fbee47ac000 r--p 003c7000 08:00 258962                     /home/msrps1/alpine/opt/cfx-server/libnode.so
7fbee47ac000-7fbee47af000 rw-p 003e0000 08:00 258962                     /home/msrps1/alpine/opt/cfx-server/libnode.so
7fbee47af000-7fbee47b1000 rw-p 00000000 00:00 0
7fbee47b1000-7fbee49f5000 r-xp 00000000 08:00 258948                     /home/msrps1/alpine/opt/cfx-server/libcitizen-scripting-v8.so
7fbee49f5000-7fbee49f8000 r--p 00044000 08:00 258948                     /home/msrps1/alpine/opt/cfx-server/libcitizen-scripting-v8.so
7fbee49f8000-7fbee49f9000 rw-p 00047000 08:00 258948                     /home/msrps1/alpine/opt/cfx-server/libcitizen-scripting-v8.so
7fbee49f9000-7fbee502e000 r-xp 00000000 08:00 258942                     /home/msrps1/alpine/opt/cfx-server/libbotan.so
7fbee502e000-7fbee5051000 r--p 00435000 08:00 258942                     /home/msrps1/alpine/opt/cfx-server/libbotan.so
7fbee5051000-7fbee5052000 rw-p 00458000 08:00 258942                     /home/msrps1/alpine/opt/cfx-server/libbotan.so
7fbee5052000-7fbee505a000 rw-p 00000000 00:00 0
7fbee505a000-7fbee527d000 r-xp 00000000 08:00 258957                     /home/msrps1/alpine/opt/cfx-server/liblibuv.so
7fbee527d000-7fbee527e000 r--p 00023000 08:00 258957                     /home/msrps1/alpine/opt/cfx-server/liblibuv.so
7fbee527e000-7fbee527f000 rw-p 00024000 08:00 258957                     /home/msrps1/alpine/opt/cfx-server/liblibuv.so
7fbee527f000-7fbee54cf000 r-xp 00000000 08:00 258960                     /home/msrps1/alpine/opt/cfx-server/libnet-tcp-server.so
7fbee54cf000-7fbee54d2000 r--p 00050000 08:00 258960                     /home/msrps1/alpine/opt/cfx-server/libnet-tcp-server.so
7fbee54d2000-7fbee54d3000 rw-p 00053000 08:00 258960                     /home/msrps1/alpine/opt/cfx-server/libnet-tcp-server.so
7fbee54d3000-7fbee5702000 r-xp 00000000 08:00 258958                     /home/msrps1/alpine/opt/cfx-server/libnet-base.so
7fbee5702000-7fbee5704000 r--p 0002f000 08:00 258958                     /home/msrps1/alpine/opt/cfx-server/libnet-base.so
7fbee5704000-7fbee5705000 rw-p 00031000 08:00 258958                     /home/msrps1/alpine/opt/cfx-server/libnet-base.so
7fbee5705000-7fbee5ca7000 r-xp 00000000 08:00 258947                     /home/msrps1/alpine/opt/cfx-server/libcitizen-scripting-mono.so
7fbee5ca7000-7fbee5cb1000 r--p 003a2000 08:00 258947                     /home/msrps1/alpine/opt/cfx-server/libcitizen-scripting-mono.so
7fbee5cb1000-7fbee5cb5000 rw-p 003ac000 08:00 258947                     /home/msrps1/alpine/opt/cfx-server/libcitizen-scripting-mono.so
7fbee5cb5000-7fbee5ccc000 rw-p 00000000 00:00 0
7fbee5ccc000-7fbee5f1f000 r-xp 00000000 08:00 258945                     /home/msrps1/alpine/opt/cfx-server/libcitizen-scripting-core.so
7fbee5f1f000-7fbee5f22000 r--p 00053000 08:00 258945                     /home/msrps1/alpine/opt/cfx-server/libcitizen-scripting-core.so
7fbee5f22000-7fbee5f23000 rw-p 00056000 08:00 258945                     /home/msrps1/alpine/opt/cfx-server/libcitizen-scripting-core.so
7fbee5f23000-7fbee6149000 r-xp 00000000 08:00 258954                     /home/msrps1/alpine/opt/cfx-server/libconhost-server.so
7fbee6149000-7fbee614a000 r--p 00026000 08:00 258954                     /home/msrps1/alpine/opt/cfx-server/libconhost-server.so
7fbee614a000-7fbee614b000 rw-p 00027000 08:00 258954                     /home/msrps1/alpine/opt/cfx-server/libconhost-server.so
7fbee614b000-7fbee6372000 r-xp 00000000 08:00 258964                     /home/msrps1/alpine/opt/cfx-server/libscripting-server.so
7fbee6372000-7fbee6374000 r--p 00027000 08:00 258964                     /home/msrps1/alpine/opt/cfx-server/libscripting-server.so
7fbee6374000-7fbee6375000 rw-p 00029000 08:00 258964                     /home/msrps1/alpine/opt/cfx-server/libscripting-server.so
7fbee6375000-7fbee658a000 r-xp 00000000 08:00 142336                     /home/msrps1/alpine/lib/libz.so.1.2.11
7fbee658a000-7fbee658b000 r--p 00015000 08:00 142336                     /home/msrps1/alpine/lib/libz.so.1.2.11
7fbee658b000-7fbee658c000 rw-p 00016000 08:00 142336                     /home/msrps1/alpine/lib/libz.so.1.2.11
7fbee658c000-7fbee67ea000 r-xp 00000000 08:00 142341                     /home/msrps1/alpine/lib/libssl.so.1.0.0
7fbee67ea000-7fbee67ef000 r--p 0005e000 08:00 142341                     /home/msrps1/alpine/lib/libssl.so.1.0.0
7fbee67ef000-7fbee67f5000 rw-p 00063000 08:00 142341                     /home/msrps1/alpine/lib/libssl.so.1.0.0
7fbee67f5000-7fbee6bea000 r-xp 00000000 08:00 142340                     /home/msrps1/alpine/lib/libcrypto.so.1.0.0
7fbee6bea000-7fbee6c06000 r--p 001f5000 08:00 142340                     /home/msrps1/alpine/lib/libcrypto.so.1.0.0
7fbee6c06000-7fbee6c11000 rw-p 00211000 08:00 142340                     /home/msrps1/alpine/lib/libcrypto.so.1.0.0
7fbee6c11000-7fbee6c15000 rw-p 00000000 00:00 0
7fbee6c15000-7fbee6ed5000 r-xp 00000000 08:00 258943                     /home/msrps1/alpine/opt/cfx-server/libcitizen-resources-core.so
7fbee6ed5000-7fbee6eda000 r--p 000c0000 08:00 258943                     /home/msrps1/alpine/opt/cfx-server/libcitizen-resources-core.so
7fbee6eda000-7fbee6edb000 rw-p 000c5000 08:00 258943                     /home/msrps1/alpine/opt/cfx-server/libcitizen-resources-core.so
7fbee6edb000-7fbee6edc000 rw-p 00000000 00:00 0
7fbee6edc000-7fbee7107000 r-xp 00000000 08:00 258966                     /home/msrps1/alpine/opt/cfx-server/libvfs-core.so
7fbee7107000-7fbee7109000 r--p 0002b000 08:00 258966                     /home/msrps1/alpine/opt/cfx-server/libvfs-core.so
7fbee7109000-7fbee710a000 rw-p 0002d000 08:00 258966                     /home/msrps1/alpine/opt/cfx-server/libvfs-core.so
7fbee710a000-7fbee731a000 r-xp 00000000 08:00 142572                     /home/msrps1/alpine/usr/lib/libgcc_s.so.1
7fbee731a000-7fbee731b000 r--p 00010000 08:00 142572                     /home/msrps1/alpine/usr/lib/libgcc_s.so.1
7fbee731b000-7fbee731c000 rw-p 00011000 08:00 142572                     /home/msrps1/alpine/usr/lib/libgcc_s.so.1
7fbee731c000-7fbee765c000 r-xp 00000000 08:00 142574                     /home/msrps1/alpine/usr/lib/libstdc++.so.6.0.22
7fbee765c000-7fbee766a000 r--p 00140000 08:00 142574                     /home/msrps1/alpine/usr/lib/libstdc++.so.6.0.22
7fbee766a000-7fbee766b000 rw-p 0014e000 08:00 142574                     /home/msrps1/alpine/usr/lib/libstdc++.so.6.0.22
7fbee766b000-7fbee766e000 rw-p 00000000 00:00 0
7fbee766e000-7fbee793e000 r-xp 00000000 08:00 142600                     /home/msrps1/alpine/usr/lib/libc++.so.1.0
7fbee793e000-7fbee7945000 r--p 000d0000 08:00 142600                     /home/msrps1/alpine/usr/lib/libc++.so.1.0
7fbee7945000-7fbee7946000 rw-p 000d7000 08:00 142600                     /home/msrps1/alpine/usr/lib/libc++.so.1.0
7fbee7946000-7fbee7948000 rw-p 00000000 00:00 0
7fbee7948000-7fbee7bbe000 r-xp 00000000 08:00 258941                     /home/msrps1/alpine/opt/cfx-server/libCoreRT.so
7fbee7bbe000-7fbee7bc2000 r--p 00076000 08:00 258941                     /home/msrps1/alpine/opt/cfx-server/libCoreRT.so
7fbee7bc2000-7fbee7bc3000 rw-p 0007a000 08:00 258941                     /home/msrps1/alpine/opt/cfx-server/libCoreRT.so
7fbee7bc3000-7fbee7dee000 r-xp 00000000 08:00 258940                     /home/msrps1/alpine/opt/cfx-server/FXServer
7fbee7dee000-7fbee7def000 r--p 0002b000 08:00 258940                     /home/msrps1/alpine/opt/cfx-server/FXServer
7fbee7def000-7fbee7df0000 rw-p 0002c000 08:00 258940                     /home/msrps1/alpine/opt/cfx-server/FXServer
7fbee7df0000-7fbee7e79000 r-xp 00000000 08:00 258993                     /home/msrps1/alpine/opt/cfx-server/ld-musl-x86_64.so.1
7fbee7e85000-7fbee7e87000 ---p 00000000 00:00 0
7fbee7e87000-7fbee7f96000 rw-p 00000000 00:00 0
7fbee7f96000-7fbee7ff5000 ---p 00000000 00:00 0
7fbee7ff5000-7fbee7ff6000 rw-s 00000000 00:18 4                          /dev/shm/mono.22482
7fbee7ff6000-7fbee8078000 rw-p 00000000 00:00 0
7fbee8078000-7fbee8079000 r--p 00088000 08:00 258993                     /home/msrps1/alpine/opt/cfx-server/ld-musl-x86_64.so.1
7fbee8079000-7fbee807a000 rw-p 00089000 08:00 258993                     /home/msrps1/alpine/opt/cfx-server/ld-musl-x86_64.so.1
7fbee807a000-7fbee807d000 rw-p 00000000 00:00 0
7fbee9827000-7fbee9c6f000 rw-p 00000000 00:00 0                          [heap]
7ffccc580000-7ffccc5a1000 rw-p 00000000 00:00 0                          [stack]
7ffccc5a3000-7ffccc5a6000 r--p 00000000 00:00 0                          [vvar]
7ffccc5a6000-7ffccc5a8000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Segmentation fault (core dumped)

Can I please get some help?

This was such a painful and confusing process but the best way I can explain it is this:

YOU MUST RUN THE START COMMAND WHILE YOU ARE IN THE DIRECTORY IN WHICH YOUR SERVER.CFG FILE RESIDES

Does that make a bit more sense?

you must run from within your server-data directory, please read the tutorial very carefully.

Both my server.cfg and resource folder is in the server-data folder! I don’t know what I’ve done wrong man…

I think you’re misunderstanding what we’re saying. Don’t feel bad because until I saw that screenshot above, I didn’t understand either.

Do not try to start the file from a file explorer or file manager. it needs to be run by a command and while in the directory of you server.cfg.

If you’re on windows, try starting it from a batch file:

cd /d C:\FiveM\server-data
C:\FiveM\run.cmd +exec server.cfg
  1. Line one needs to be the file path of your server.cfg
  2. Line two must be the path leading to run.cmd

Save that file anywhere and double-click it. Hopefully that will get you up and running.

3 Likes

Thank you som much this fix all the probroblems

1 Like

I’m still having this problem even though I’ve done as stated. I’ve even tried combining directories, running from different directories, and at one point I said fuck it and copied server.cfg to every folder in the tree and it still isn’t being recognized. I managed to get the server to run without it by putting the license key in the command line but still, the server absolutely doesn’t want to find the cfg.

Edit: Oh fuck my mother, on my server OS I didn’t have file extensions viewable so when I saved my config as “.cfg”, it saved it as “server.cfg” but it was really .cfg.txt. Someone kill me. Server operational now.

Could you paste the results of a cd in the directory and startup command when you run one right after the other?

[EDIT] Glad you got it working :slight_smile:

1 Like

server.cfg.zip (1.4 KB)

this is my custom made server.cfg

i wrote this so there wont be any misshaps with the cfg

2 Likes

(the /d part is only if on different drive… i just leave don’t hurt (above)

it help me !! thanks!!
i remove “/e” in my text

GFDI, was having the same issue. Thanks for mentioning it PapaQuam xD