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

Linux Illegal instruction. WAT?

Felipe Muniz

C++ Programmer
Joined
Dec 20, 2007
Messages
15
Reaction score
0
Location
Brazil
Code:
root:/opt/otserv# ./theforgottenserver
[13:50:31.322] > WARNING: The Forgotten Server has been executed as super user! It is recommended to run as a normal user.
[13:50:31.322] Continue? (y/N)
[13:50:32.693] The Forgotten Server, version 0.4_SVN ()
[13:50:32.693] Compiled with GNU C++ version 4.4.1 at May 16 2011, 09:34:14.
[13:50:32.693] A server developed by Elf, Talaturen, Dalkon, Slawkens, KaczooH and Kornholijo.
[13:50:32.693] Visit our forum for updates, support and resources: http://otland.net.

[13:50:32.693] >> Loading config (config.lua)
Illegal instruction


any idea?
 
Code:
root:/opt/otserv# ./theforgottenserver
[13:50:31.322] > WARNING: The Forgotten Server has been executed as super user! It is recommended to run as a normal user.
[13:50:31.322] Continue? (y/N)
[13:50:32.693] The Forgotten Server, version 0.4_SVN ()
[13:50:32.693] Compiled with GNU C++ version 4.4.1 at May 16 2011, 09:34:14.
[13:50:32.693] A server developed by Elf, Talaturen, Dalkon, Slawkens, KaczooH and Kornholijo.
[13:50:32.693] Visit our forum for updates, support and resources: http://otland.net.

[13:50:32.693] >> Loading config (config.lua)
Illegal instruction


any idea?

Maybe because you're not a premium user?
Red
 
add some debug lines in the source, or make sure there's a read permission on it. but no, that would cause a different error
 
you need to chmod the folder where the server is at so that you can run it as a normal user , plus if you are Admin in your computer you should be able to compile the server without putting it on a root privileged folder :
Code:
/opt/otserver

You can move that folder else where(like anywhere except a root directory) and DO NOT RUN IT AS A SUPER USER!!!!!! just normal.
 
Back
Top