RedM Server Troubleshooting
Solutions to the most common RedM server problems including startup errors, connection issues, and database errors.
This guide covers the most common issues encountered when running a RedM server and how to fix them.
Server Won't Start
"License key not found" or "Invalid license key"
Your sv_licenseKey in server.cfg is missing or incorrect.
- Go to keymaster.fivem.net and generate or copy your key
- Make sure the key is set for RedM (not FiveM)
- Open your
server.cfgand verify the line:
sv_licenseKey "your_key_here"See Create a License Key for the full guide.
Server starts but immediately crashes
Check the console output for the first error line. Common causes:
- A resource is failing to load — check the resource name matches the folder name exactly
- Missing dependency — a resource requires another resource that isn't loaded yet
- Syntax error in
server.cfg— look for typos or missing quotes
"Failed to start resource [name]"
- Verify the resource folder exists in the
resourcesdirectory - Confirm the folder contains a valid
fxmanifest.luaor__resource.lua - Make sure the
ensure resource-nameline inserver.cfgmatches the folder name exactly (case-sensitive)
Connection Issues
Can't find server in server browser
- Your server may take a minute to appear — wait and refresh
- Make sure
sv_hostnameis set inserver.cfg - Check that your server port (default 30120) is open in your firewall
sudo iptables -A INPUT -p tcp --dport 30120 -j ACCEPT
sudo iptables -A INPUT -p udp --dport 30120 -j ACCEPT"Could not connect to server" error
- Verify the server is running in the console/panel
- Check that the IP and port are correct
- Try connecting via direct connect: open RedM, press F8 and type:
connect your-server-ip:30120Players get kicked immediately after joining
- Check your
server.cfgfor anyadd_ace/remove_acerules that may be blocking players - Verify OneSync is enabled if you have more than 32 players:
set onesync onDatabase Errors
"oxmysql: Couldn't establish a connection"
Your connection string is incorrect or the database is unreachable.
- Check the
mysql_connection_stringin yourserver.cfg - Make sure MariaDB is running:
sudo systemctl status mariadb - Verify the database user has the correct permissions
- Make sure port 3306 is open if connecting remotely
See Set Up a Database for the full setup guide.
"Table doesn't exist" errors
The SQL schema for a resource was not imported. Each framework and many plugins include a .sql file that must be imported into your database before first run.
Import it using HeidiSQL or via command line:
mysql -u youruser -p yourdatabase < resource.sqlFramework loads but character menu doesn't appear
- Make sure the character plugin (e.g.
vorp_character) is installed and ensured after the core framework inserver.cfg - Check the server console for any errors from the character resource
Performance Issues
High server CPU usage
- Check for resources with infinite loops or no wait in their tick handlers
- Use the
resmoncommand in the server console to see resource performance:
resmon 1This shows CPU and memory usage per resource.
Server stuttering / low tick rate
- Reduce
sv_maxclientsif your server hardware is underpowered - Disable unused resources — every running resource uses CPU even when idle
- Make sure your server has at least 4GB RAM for a production RedM server
txAdmin Issues
Can't access txAdmin web interface
- Make sure port 40120 is open on your firewall
- Access it via
http://your-server-ip:40120 - If running locally, use
http://localhost:40120
txAdmin shows server as "offline" even when running
- Check the txAdmin terminal for error messages
- Make sure your
server.cfgpath is correctly set in txAdmin's configuration - Restart txAdmin from the panel or via
screen -r redm
💡 Still stuck? Join our Discord and our support team will help you troubleshoot.
Related Guides
How is this guide?

How To Set Up a Database for Your RedM Server (MariaDB)
Learn how to install and configure MariaDB for your RedM server on Linux, including user creation and remote access.
Renown Server Documentation
Complete guides for setting up, configuring, and managing your Renown dedicated server on XGamingServer.