• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Trying to get forgottenserver.exe to run at bootup in Ubuntu 20.04.

CoolBuys1290

Member
Joined
Aug 23, 2018
Messages
80
Reaction score
8
Tried steps from This Guide
Edited this file with nano: /etc/systemd/system/myservice.service.

.service file is:

[Unit]
Description=DOESN'T WORK.

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=wine /home/otsmanager/NOSTWINDOWS2/theforgottenserver.exe

[Install]
WantedBy=multi-user.target
journalctl -u myservice

I get this output in the console:

otsmanager@167-114-137-36:~/NOSTWINDOWS2$ sudo systemctl status myservice
● myservice.service - DOESN'T WORK.
Loaded: loaded (/etc/systemd/system/myservice.service; enabled; vendor preset: enabled)
Active: active (exited) since Sat 2021-06-19 17:45:34 CEST; 7s ago
Process: 9997 ExecStart=/usr/bin/wine /home/otsmanager/NOSTWINDOWS2/theforgottenserver.exe (code=exited, status=0/SUCCESS)
Main PID: 9997 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4915)
Memory: 2.4M
CGroup: /system.slice/myservice.service

Jun 19 17:45:34 167-114-137-36 wine[9997]: Compiled on Jun 17 2021 14:44:03 for platform x64
Jun 19 17:45:34 167-114-137-36 wine[9997]:
Jun 19 17:45:34 167-114-137-36 wine[9997]: A server developed by Alejandro Mujica
Jun 19 17:45:34 167-114-137-36 wine[9997]: Visit our forum for updates, support, and resources: OTLand (http://otland.net/).
Jun 19 17:45:34 167-114-137-36 wine[9997]:
Jun 19 17:45:34 167-114-137-36 wine[9997]: >> Loading config
Jun 19 17:45:34 167-114-137-36 wine[9997]: [Error - ConfigManager::load] cannot open config.lua: No such file or directory
Jun 19 17:45:34 167-114-137-36 wine[9997]: > ERROR: Unable to load config.lua!
Jun 19 17:45:34 167-114-137-36 wine[9997]: >> No services running. The server is NOT online.
Jun 19 17:45:34 167-114-137-36 systemd[1]: Finished DOESN'T WORK..
otsmanager@167-114-137-36:~/NOSTWINDOWS2$


Please help.

Thanks
 
Tried steps from This Guide
Edited this file with nano: /etc/systemd/system/myservice.service.

.service file is:

[Unit]
Description=DOESN'T WORK.

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=wine /home/otsmanager/NOSTWINDOWS2/theforgottenserver.exe

[Install]
WantedBy=multi-user.target
journalctl -u myservice

I get this output in the console:

otsmanager@167-114-137-36:~/NOSTWINDOWS2$ sudo systemctl status myservice
● myservice.service - DOESN'T WORK.
Loaded: loaded (/etc/systemd/system/myservice.service; enabled; vendor preset: enabled)
Active: active (exited) since Sat 2021-06-19 17:45:34 CEST; 7s ago
Process: 9997 ExecStart=/usr/bin/wine /home/otsmanager/NOSTWINDOWS2/theforgottenserver.exe (code=exited, status=0/SUCCESS)
Main PID: 9997 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4915)
Memory: 2.4M
CGroup: /system.slice/myservice.service

Jun 19 17:45:34 167-114-137-36 wine[9997]: Compiled on Jun 17 2021 14:44:03 for platform x64
Jun 19 17:45:34 167-114-137-36 wine[9997]:
Jun 19 17:45:34 167-114-137-36 wine[9997]: A server developed by Alejandro Mujica
Jun 19 17:45:34 167-114-137-36 wine[9997]: Visit our forum for updates, support, and resources: OTLand (http://otland.net/).
Jun 19 17:45:34 167-114-137-36 wine[9997]:
Jun 19 17:45:34 167-114-137-36 wine[9997]: >> Loading config
Jun 19 17:45:34 167-114-137-36 wine[9997]: [Error - ConfigManager::load] cannot open config.lua: No such file or directory
Jun 19 17:45:34 167-114-137-36 wine[9997]: > ERROR: Unable to load config.lua!
Jun 19 17:45:34 167-114-137-36 wine[9997]: >> No services running. The server is NOT online.
Jun 19 17:45:34 167-114-137-36 systemd[1]: Finished DOESN'T WORK..
otsmanager@167-114-137-36:~/NOSTWINDOWS2$


Please help.

Thanks
If you never ended up getting an answer to this, I would advise running the native linux version of TFS. exe files are native to windows only and attempting to emulate it through wine will only add additional problems, especially with systemd.
 
Back
Top