Troubleshooting - AsYetUntitled/Framework GitHub Wiki

Mission

Mission [missionName].[mapName] read from bank. spam in arma3server*.rpt file

The server does not correctly launch. The arma3server*.rpt log file is filled with this error message.

Mission Altis_Life.Altis read from bank.

1. Check that the mission.sqm file is in the mission folder (e.g. Altis_Life.Altis.pbo).

Arma 3 Server
├ MPMissions
  └ [missionName].[mapName].pbo
    └ mission.sqm

2. If not, copy a mission[Altis/Tanoa].sqm file from the /SQMs/ folder and rename it to mission.sqm


Warning Message: Script \*\*.* not found in arma3server*.rpt file

The server does not correctly launch. The arma3server*.rpt log file has this error message.

Warning Message: Script \life_server\fix_headgear.sqf not found

1. Check that the offending file is actually present in that directory.

2a. If no, then add the file, re-pack the PBO file, and try again.

2b. If yes, then re-pack the PBO file using PBO Manager and try again.

FileBank in Arma 3 Tools is known to incorrectly pack files and folders.


extDB2

"extDB2: Error with Database Connection" in arma3server*.rpt:

The extDB2 addon is loaded, but a connection to the database cannot be established.

1. Check that the connection details in the extdb-conf.ini file are correct:

[databaseName]
Type = MySQL
Name = databaseName

Username = databaseUserName
Password = databaseUserNamePassword

IP = databaseIP
Port = databasePort

Real-world example:

[altislife]
Type = MySQL
Name = altislife

Username = arma3
Password = 75t4nZ33w33xQ2

IP = 127.0.0.1
Port = 3306

2. Check that the DatabaseName in description.ext is correct:

    DatabaseName = "databaseName"; //Config name that'll be grep in the extdb-conf.ini. Default: [altislife]

Real-world example:

    DatabaseName = "altislife"; //Config name that'll be grep in the extdb-conf.ini. Default: [altislife]

3. Check that Microsoft Visual C++ 2015 Redistributable (x86) is installed (Windows):

Start → Control Panel → Programs → Programs and Features → Microsoft Visual C++ 2015 Redistributable (x86)

4. Check that tbbmalloc.dll is unblocked and is in the same folder as arma3server.exe (Windows):

The tbbmalloc.dll file is included with the extDB2 releases.

Check that the file is not blocked by Windows by:

  1. Right-clicking on the file

  2. Clicking "Properties"

  3. Under the "General" tab and at the bottom of the window click "Unblock." If the option to unlock is not present then the file was not blocked.


Access denied for user '%userName%'@'%databaseIP%' (using password: YES) in extDB2 log:

extDB2: Database Exception Error: Connection attempt failed: Can't connect to MySQL server on '127.0.0.1' (10061)

extDB2 could not connect to the database because the specified user does not have sufficient permissions to access the database.

1. Ensure that the specified user has sufficient permissions to access the database:

Upgrade the user's permissions or create a new user with sufficient permission then add them to the extdb-conf.ini file.

[databaseName]
Type = MySQL
Name = databaseName

Username = databaseUserName
Password = databaseUserNamePassword

IP = databaseIP
Port = databasePort

PROCEDURE altislife.resetLifeVehicles does not exist in extDB2 log:

extDB2: SQL_RAW_V2: Error StatementException: MySQL: [MySQL]: [Comment]: mysql_stmt_execute error	[mysql_stmt_error]: PROCEDURE altislife.resetLifeVehicles does not exist	[mysql_stmt_errno]: 1305	[mysql_stmt_sqlstate]: 42000	[statemnt]: CALL resetLifeVehicles
extDB2: SQL_RAW_V2: Error StatementException: SQL: CALL resetLifeVehicles

The wrong user was specified for the procedures in the altislife.sql file:

1. Specify the correct user as done for the extdb-conf:

CREATE DEFINER=`arma3`@`localhost` PROCEDURE `resetLifeVehicles`()
--
-- Procedures
-- Edit arma3 to match a user in MySQL
-- For external databases: Edit localhost to match arma3server IP
--

CREATE DEFINER=`arma3`@`localhost` PROCEDURE `resetLifeVehicles`()
BEGIN
  UPDATE `vehicles` SET `active`= 0;
END$$

CREATE DEFINER=`arma3`@`localhost` PROCEDURE `deleteDeadVehicles`()
BEGIN
  DELETE FROM `vehicles` WHERE `alive` = 0;
END$$

CREATE DEFINER=`arma3`@`localhost` PROCEDURE `deleteOldHouses`()
BEGIN
  DELETE FROM `houses` WHERE `owned` = 0;
END$$

CREATE DEFINER=`arma3`@`localhost` PROCEDURE `deleteOldGangs`()
BEGIN
  DELETE FROM `gangs` WHERE `active` = 0;
END$$

CREATE DEFINER=`arma3`@`localhost` PROCEDURE `deleteOldContainers`()
BEGIN
  DELETE FROM `containers` WHERE `owned` = 0;
END$$


extDB3

extDB3: Database Type: altislife: No such node (altislife.IP) in extDB3 log:

The node for the altislife database could not be found.

1. Check that the details in the extdb3-conf.ini file are correct:

Note that the databaseName in [] will need to be in all lower case.

[databaseName]
IP = databaseIP
Port = databasePort
Username = databaseUserName
Password =  databaseUserNamePassword
Database = databaseName

Real-world example:

[altislife]
IP = 127.0.0.1
Port = 3306
Username = arma3
Password =  4u2E3Vcvs24Nn6rE
Database = altislife

Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause in extDB3 log:

The currently installed version of MySQL does not support the above.

1. Update MySQL version:

Update your version of MySQL server to version 5.6.5 or newer.