• 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!
  • If you're using Gesior 2012 or MyAAC, please review this thread for information about a serious security vulnerability and a fix.

Ongoing thread

Mavyn

New Member
Joined
Mar 17, 2022
Messages
15
Reaction score
0
Hey Guys!

I'm trying to get a server online to experiment some on, and eventually bring public for people to come and play.

However I havent hosted a OTserv since like 2006, and a lot has changed since x_X.

Im trying to get a TFS server up on my ubuntu server, using Myaac.
I've been able to get myaac up, but now I'm not sure on what to do.
I was following this guide last



What I've been able to do so far - Install TFS & Myaac.

But now I'm stuck, what to do? In that guide it says just run ./tfs but when I do that it says
[email protected]:~/forgottenserver$ ./tfs
-bash: ./tfs: No such file or directory

Any suggestions what steps I have to take?
 

Rexxar

of Unimatrix Zero-One
Joined
Jun 4, 2009
Messages
980
Solutions
3
Reaction score
96
Location
Narnia
Try typing ls to make sure you're in the right directory and that the executable is in there.
If you're not in the right place, you can use cd to navigate to the correct directory.
 
OP
OP
M

Mavyn

New Member
Joined
Mar 17, 2022
Messages
15
Reaction score
0
Yeah it's strange because the file dosnt seem to exist,

Lua:
[email protected]:~/forgottenserver/data$ cd /home/XXXX/forgottenserver/
[email protected]:~/forgottenserver$ ls
AUTHORS  build  cmake  CMakeLists.txt  config.lua  data  Dockerfile  key.pem  LICENSE  README.md  schema.sql  src  vc17

And the bashscript to install was the following
Code:
#!/bin/bash
echo "This script will compile TFS and install a LAMP stack for Ubuntu 18.04 64bit LTS."
echo "This script needs to be executed as a user with sudo privileges."
cd
echo "Updating the system"
apt-get -y update
apt-get -y install sudo
echo "Installing LAMP Stack"
sudo apt-get -y install apache2
sudo apt-get -y install mysql-server
sudo mysql -e "CREATE USER 'XXXXX'@'localhost' IDENTIFIED BY 'XXXXX';"
sudo mysql -e "CREATE DATABASE otsdb;"
sudo mysql -e "GRANT ALL PRIVILEGES ON otsdb.* TO 'otsuser'@'localhost';"
sudo apt-get -y install php libapache2-mod-php php-mysql
sudo service apache2 start
echo "Installing required software"
sudo apt-get -y install luajit
sudo apt-get -y install git cmake build-essential liblua5.2-dev libgmp3-dev libmysqlclient-dev libboost-system-dev libboost-iostreams-dev libboost-filesystem-dev libpugixml-dev libcrypto++-dev
sudo apt-get -y update
echo "Downloading and compiling TFS..Please wait"
sudo git clone --recursive https://github.com/otland/forgottenserver.git
cd forgottenserver
sudo mkdir build && cd build
sudo cmake ..
sudo make
sudo mv tfs ..
cd ..
sudo mysql -u otsuser -p otsdb < schema.sql
cd
cd forgottenserver
echo "Done! Make sure to adjust configlua before starting the server."
echo "The following dummy user has been created at MySQL localhost"
echo "MySQL username: otsuser pw: password db: otsdb  Warning: TESTING PURPOSES ONLY"
echo "You can launch the server from /home/username/forgottenserver using ./tfs"
 

slaw

MyAAC Creator
Premium User
Joined
Aug 27, 2007
Messages
3,476
Solutions
113
Reaction score
916
Location
Germany
GitHub
slawkens
Twitch
PL_Flamaster
Yeah it's strange because the file dosnt seem to exist,

Lua:
[email protected]:~/forgottenserver/data$ cd /home/XXXX/forgottenserver/
[email protected]:~/forgottenserver$ ls
AUTHORS  build  cmake  CMakeLists.txt  config.lua  data  Dockerfile  key.pem  LICENSE  README.md  schema.sql  src  vc17

It should be in the build/ dir.
 
OP
OP
M

Mavyn

New Member
Joined
Mar 17, 2022
Messages
15
Reaction score
0
Code:
[email protected]:~/forgottenserver/build$ sudo cmake ..
CMake Error at CMakeLists.txt:33 (find_package):
  By not providing "Findfmt.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "fmt", but
  CMake did not find one.

  Could not find a package configuration file provided by "fmt" (requested
  version 6.1.2) with any of the following names:

    fmtConfig.cmake
    fmt-config.cmake

  Add the installation prefix of "fmt" to CMAKE_PREFIX_PATH or set "fmt_DIR"
  to a directory containing one of the above files.  If "fmt" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
See also "/home/XXXX/forgottenserver/build/CMakeFiles/CMakeOutput.log".
[email protected]:~/forgottenserver/build$ sudo make
make: *** No targets specified and no makefile found.  Stop.
 
OP
OP
M

Mavyn

New Member
Joined
Mar 17, 2022
Messages
15
Reaction score
0
Lua:
[email protected]:~$ sudo apt-get update && sudo apt-get install libfmt-dev -y
[sudo] password for XXXX:
Hit:1 http://se.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://se.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 http://se.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:4 http://se.archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Ign:5 http://ppa.launchpad.net/certbot/certbot/ubuntu focal InRelease
Err:6 http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release
  404  Not Found [IP: 91.189.95.85 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

And
Code:
[email protected]:~$ cd ~/forgottenserver/build/ && cmake ..
CMake Error at CMakeLists.txt:33 (find_package):
  By not providing "Findfmt.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "fmt", but
  CMake did not find one.

  Could not find a package configuration file provided by "fmt" (requested
  version 6.1.2) with any of the following names:

    fmtConfig.cmake
    fmt-config.cmake

  Add the installation prefix of "fmt" to CMAKE_PREFIX_PATH or set "fmt_DIR"
  to a directory containing one of the above files.  If "fmt" provides a
  separate development package or SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
 

Thyrelia

Idea Creator
Joined
Apr 15, 2009
Messages
49
Solutions
2
Reaction score
18
Location
127.0.0.1
Are you sure that the FMT library has been installed? From what I can see in the snippet the certbot repository isn't reachable.
Try to resolve your Let's Encrypt CertBot issue at first if you'd want a secure website (can't see why you wouldn't want to have a secure connection), then run the commands again.
 
Top