• 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!

Configuration Ubuntu - From nothing to complete server (TFS, ModernAAC, MySQL, Lighttpd)!

I just installed Modern AAC, now I want to ask you how to fix that error I don't get it with Windows I have 0 errors just with Linux.

BTW using 244 maybe it's bugged I used 243 before.

Code:
A Database Error Occurred
Error Number: 1140

Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause

SELECT p.id, p.question, GROUP_CONCAT(a.answer SEPARATOR ';') AS answers, GROUP_CONCAT(a.id SEPARATOR ';') AS answers_id FROM poll p JOIN poll_answer a ON p.id = a.poll_id WHERE p.status = 1 AND date_start <= NOW() AND date_end >= NOW()
 
Stian why you dont add at the start to use apt-get update and upgrade???
 
Last edited:
[/code]
Then 0.3.6pl1:
Code:
svn co svn://svn.otland.net/public/forgottenserver/tags/0.3.6pl1 tfs
cd tfs
0.4:
Upload the .tar.gz rev to your home directory. And run this:
Code:
tar xf *trunk*.tar.gz
mv *trunk* tfs
chmod 777 -R tfs
cd tfs

I no find "svn co svn://svn.otland.net/public/forgottenserver/tags/0.3.6pl1 tfs"
And Were Find TFS .tar.gz :S

Were fin 1 link to download :(
 
Hmm, used to work.
@MxSoft:
Because it goes under regular maintaince anyway, and noobs will just choose auto update under install anyway. :)
 
Please add 0.2 instructions as well. :)

They dont got autogen or ./configure.

However if i type make it looks like it works compiling.
 
I have already added repositories + atp-get update/upgrade . Installed mysql/lighttpd/phpmyadmin with commands "su apt-get install mysql-server", later su apt-get install lighttpd php5-cgi ; su lighty-enable-mod fastcgi ; su apt-get install phpmyadmin. i set passwords etc. Than like MxSoft said i used commands cd /var/www chown www-data -R . ; chmod 777 -R .

I should get my phpmyadmin on http://yourserver/phpmyadmin/index.php but i'm getting nothing (using windows vista x64 and opera, debian is on virtualbox). Debian is connected to internet (does it matter on localhost? Don't think so). I can see just the icon of Uniform Server when entering http://127.0.0.1 or localhost~ next to the adress, and icon of phpmyadmin when entering http://127.0.0.1/phpmyadmin/index.php . And I can't enter any. It's an error like on windows' xampp, when apache/mysql is off - "Can't connect~".
 
theforgottenserver: /usr/include/boost/thread/pthread/condition_variable_fwd.hpp:38: boost::condition_variable::~condition_variable(): Assertion `!pthread_cond_destroy(&cond)' failed.
 
I did everything as in the tutorial but I get these errors after "build -j 2":

Code:
iomap.cpp: In member function âbool IOMap::loadMap(Map*, const std::string&)â:
iomap.cpp:574: error: invalid conversion from âuint32_tâ to âtileflags_tâ
iomap.cpp:574: error:   initializing argument 1 of âvoid Tile::setFlag(tileflags_t)â
iologindata.cpp: In member function âbool IOLoginData::savePlayer(Player*, bool, bool)â:
iologindata.cpp:981: error: âquery_insertâ was not declared in this scope
iologindata.cpp:1028: error: âbufferâ was not declared in this scope
iologindata.cpp:1053: error: âbufferâ was not declared in this scope
iologindata.cpp:1083: error: âbufferâ was not declared in this scope
iologindata.cpp:1085: error: âbufferâ was not declared in this scope
iologindata.cpp:1087: error: âbufferâ was not declared in this scope
make[1]: *** [iomap.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [iologindata.o] Error 1
make[1]: Leaving directory `/home/zalvera/tfs'
make: *** [all] Error 2

Tried with both Ubuntu 10.04 and 10.10 (64bit).
 
i dont understand this part

Code:
tar xf *trunk*.tar.gz
mv *trunk* tfs
chmod 777 -R tfs
cd tfs
 
i dont understand this part

Code:
tar xf *trunk*.tar.gz
mv *trunk* tfs
chmod 777 -R tfs
cd tfs
run those commands in that order, *trunk* is the version of your trunk example: trunk.r4235

Anyways;
error:


CXX raids.o
cc1plus: warnings being treated as errors
quests.cpp: In member function ‘std::string Mission::parseStorages(std::string, std::string, Player*)’:
quests.cpp:45: error: ‘end’ is used uninitialized in this function
make[1]: *** [quests.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/cory/tfs'
make: *** [all] Error 2
 
I'm getting Segmentation Fault when I'm trying to start the server.. Anyone know what could be causing this?
 
Currently Im at this part right now.

Code:
tar xf *trunk*.tar.gz
mv *trunk* tfs
chmod 777 -R tfs
cd tfs

Trying tar command.
Code:
tar: otserver.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

I tried to just put my old files into the dedicated server. But when Im trying ./theforgottenserver im getting this.

Code:
./theforgottenserver: error while loading shared libraries: libboost_filesystem.so.1.42.0: cannot open shared object file: No such file or directory

Help anyone? :) rep+
 
Check your spelling with the command. Be sure to type exactly this: 'sudo apt-get install lighttpd php5-cgi' witout the quotes.
 
be sure to press spacebar when phpmyadmin prompts for apache or lighttpd
 
Last edited:
Back
Top