Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Log In with Steam Sign In
  • Create Account
Photo

Problems with installation


  • Please log in to reply
40 replies to this topic

#1
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 120 posts
13
A step in the right direction
Hi,

My gameserver provider tryed to install the Silent Mod.
But they have problems with it.
See below.

Sys_LoadDll(/home/stocken/games/et/silent/qagame.mp.i386.so) failed:
"liblua5.1.so: cannot open shared object file: No such file or directory"
Sys_LoadDll(qagame) failed dlopen() completely!
----- Server Shutdown -----
Resolving etmaster.idsoftware.com
etmaster.idsoftware.com resolved to 192.246.40.60:27950
Sending heartbeat to etmaster.idsoftware.com
---------------------------
Sys_Error: VM_Create on game failed

#2
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 120 posts
13
A step in the right direction
I don't know much about it, but:

In jaymod you have a directory file called: server.cfg
with in it:
_____________
pb_sv_enable

exec jaymod.cfg

exec mapcycle.cfg
_____________

And you have the :Jaymod.cfg
With the game settings in it.

I noticed that in silentmod this file like jaymod.cfg is called also server.cfg.
Why is this not called silent.cfg

So do i need the directory server.cfg with the:
-------------
pb_sv_enable

exec jaymod.cfg

exec mapcycle.cfg
-------------
Files in it??
Because those 2 files now have the same name.

I hope i made clear what i ment.

I have a file now on the server that is called: server cfg, with in it:

--------------
pb_sv_enable

exec etconfig.cfg

exec mapcycle.cfg
----------------

#3
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
The error is that the liblua5.1.so is not found and loaded.

The liblua5.1.so will need to be placed at the fs_homepath. Or the LD_LIBRARY_PATH environment variable will need to include the folder where it is placed.

An example of the LD_LIBRARY_PATH export that will add the folder to the end of the list:
(this assumes the liblua5.1.so is placed at the et folder)
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/stocken/games/et/

This is the standard way to handle dynamically loaded libraries in Linux. (I assume the system is Linux based on the printed error.)

If you want to install the Lua to the silent folder. Just add silent/ to the end of the path.

However, the module will search for the Lua library also from the fs_homepath. So you can place the liblua5.1.so to where ever the fs_homepath is set in the startup script/command line.

Hope this helps :)

#4
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
Answering to your second question. Which you posted while I was replying to your first question. :P

The server.cfg is common name for the init cfg file with several mods. This does not relate to Jaymod at all. In case you place any sensitive settings like your rconpassword in it, you should rename it to something unguessable. This is a common security advise against known and future unknown game engine exploits.

The file itself contains settings that are used by silEnT mod. It is in a way example config but it may be that you don't like the configuration so it is advised you go the settings through and edit them to your likings. There should be a file named index.html that will have the setting variables explained. In future there will be wiki and online cvar reference for the mod.

The documentation in the internet may change according the what is the current silEnT mod version so I advise you use the html file that come with the installation zip so you have the correct cvar reference document always at hand.

I admit. I haven't thoroughly looked at what the cfg files that are in the docs/examples folder that came with the zip. I'm sure hellreturn will be able to help you more with the configuration issues. I can say though that we are going to make the installation as easy as possible and we are cleaning cvars that are not very usefull or have redundant or confusing meanings.

Hope this helps :)

#5
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 120 posts
13
A step in the right direction
I edit my post, can you plaese look again to it?
Thanks for the fast support.

On my normal servers the file: server.cfg is renamed to unguessable, but not on my own test server what is password protected.

#6
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
pb_sv_enable

exec etconfig.cfg

exec mapcycle.cfg

This looks ok to me.

You may also want to add the watchdog command. It is optional but if the server hangs for some reason, it will execute the command specified.

It would then be like this:
pb_sv_enable

exec etconfig.cfg

set com_watchdog_cmd "exec mapcycle.cfg"

exec mapcycle.cfg


#7
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 120 posts
13
A step in the right direction
ok, but:

The file that sets the server configuration is also called server.cfg.
Or should that be renamed to: silent.cfg?

I mean the file in the download called server.cfg with this in it:
// silEnT mod - Sample server.cfg file

//set dedicated 2
//set net_ip "localhost"
//set net_port 27960
set sv_maxclients 20
set g_password ""
set sv_privateclients 0
set sv_privatepassword ""
set rconpassword ""
set refereePassword ""

(i know it has to be renamed on the normal public server to a unguessable name. But now i have 2 files with the same directory name)

#8
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
You can rename it to any name that doesn't conflict with your existing files. You can also put the file into any folder you wish (under the fs_game) as long as the path to the file is valid in the command line.

(e.g. etded.x86 +set dedicated 2 +set fs_game silent +exec silent/server.cfg )

Personally I like to put the mod specific settings in one file and the generic server settings to another file. Then exec the mod specific settings from the generic server settings cfg.

Remember, that any cfg file that you exec from the file you exec in the command line, has equal value in the server init with the file that is execed in the command line. It is just a simple way to organise different types of settings into different groups. You could just as well put everything in only one file that you exec from the actual command line.

Hope this helps :)

#9
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 120 posts
13
A step in the right direction
We still have craches.

9630 files in pk3 files
Sys_LoadDll(/home/****/games/et/silent/qagame.mp.i386.so)...
Sys_LoadDll(/home/****/games/et/silent/qagame.mp.i386.so) failed:
"liblua5.1.so: cannot open shared object file: No such file or directory"
Sys_LoadDll(/home/****/games/et/silent/qagame.mp.i386.so)...
Sys_LoadDll(/home/****/games/et/silent/qagame.mp.i386.so) failed:
"liblua5.1.so: cannot open shared object file: No such file or directory"
Sys_LoadDll(qagame) failed dlopen() completely!
----- Server Shutdown -----
Resolving etmaster.idsoftware.com
etmaster.idsoftware.com resolved to 192.246.40.60:27950
Sending heartbeat to etmaster.idsoftware.com
---------------------------
Sys_Error: VM_Create on game failed

#10
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
It still cannot find the liblua5.1.so file. Try setting the LD_LIBRARY_PATH in the users local environment variables just before executing the etded command.

May I ask in which folder the liblua5.1.so has been placed and what is the actual command to start the ET server.

#11
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 120 posts
13
A step in the right direction
I shall ask my game provider, because i don't have acces to that part.

#12
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
If you have partial FTP access to your server folders you can try putting the file your self to various folders in your server. I would try placing it to the topmost folder you can access first. It may be that that is the folder your provider is setting the fs_homepath to be. If it fails, you can try placing the file to even lower in the folder hierarchy right down to where the qagame so file is.

#13
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 120 posts
13
A step in the right direction

It still cannot find the liblua5.1.so file. Try setting the LD_LIBRARY_PATH in the users local environment variables just before executing the etded command.

May I ask in which folder the liblua5.1.so has been placed and what is the actual command to start the ET server.


Do you mean this:
"+set fs_game silent"

#14
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 120 posts
13
A step in the right direction
I gave my provider the weburl from this forum, so hopefully they read this to.
Cos i don't have much experiance with all of this.

#15
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 120 posts
13
A step in the right direction
In the mod map there is:

default
etconfig
liblua5.1.so
mapcycle
mapvotecycle
qagame.mp.i386.so
server
settings
shrubbot
silEnT
silent-0.1.4.pk3

My Jaymod and NQ servers have this same setup, and work.

#16
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
No, I meant fs_homepath.

There are three directory settings you can give to the ET server from the command line: fs_basepath, fs_homepath and fs_game. The fs_game is the mod folder. Fs_homepath is where the process home directory will be set. This is equivalent to "." from the processess viewpoint. The fs_basepath is where the etded.x86 file is located. If you don't change any of the paths, except the fs_game since that is the mod folder, from the command line the fs_basepath and fs_homepath will be set to where the etded.x86 is.

Take not that pk3 directory paths start from the view that fs_game is the "." when your making configurations to custom sound files or alike.

The installation regarding Lua libraries is the same with ETPub.

Jaymod doesn't use Lua at all and as far as I know, NQ requires you to place the library where the etded.x86 is located.

#17
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 120 posts
13
A step in the right direction
Is this what you mean:

./etded +set ttycon 0 +set fs_game silent +set vm_game 0 +set net_ip
80.84.250.68 +set net_port 27960 +set com_hunkmegs 64 +set com_zoneMegs
32 +set fs_basepath /home/stocken/games/et +set fs_homepath
/home/stocken/games/et +exec server.cfg > ~/server.log 2>&1;

#18
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
Yes that exactly.

From that command, the liblua5.1.so included in the 0.1.4 zip should be placed at the folder "/home/stocken/games/et" and it will load it then.

#19
OFFLINE   Tosa_Inu

Tosa_Inu

    Regular Member

  • Members
  • PipPipPip
  • 120 posts
13
A step in the right direction
So you mean its in the wrong map now?

#20
OFFLINE   gaoesa

gaoesa

    Advanced Member

  • Management
  • PipPipPipPip
  • 4391 posts
341
Will become famous
  • LocationFinland
Map?

EDIT:
This setting: +set fs_homepath "/home/stocken/games/et" defines where the liblua5.1.so needs to be placed.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users