The online racing simulator
Multiple Lapper servers Error
Hi

I am trying to install multiple instances of Lapper from my customers but for some reason I am getting the following error if there is more than one lapper running

Do you have any suggestions

Paul
Attached images
error2.jpg
Can you upload the log-file of Lapper?
here is the log it looks normal

---------------------------------------------------------------------------
9/7/2009 2:03:11 PM
-----------------------------------------------------------------------------
9/7/2009 2:03:11 PM -> Parsing config file...Ok
9/7/2009 2:03:12 PM -> Loading WR...Not Loaded
9/7/2009 2:03:12 PM -> Loading swearwords...Ok
9/7/2009 2:03:12 PM -> Connecting to 78.110.160.85 / 29000
Connection OK
9/7/2009 2:03:12 PM -> Product:S2 Version:0.5Z13 InSim Version:4
07/09/2009 14:03:12 -> Ftp Upload grip DB Thread Started...
07/09/2009 14:03:12 -> Ftp Upload drift DB Thread Started...
07/09/2009 14:03:12 -> 07/09/2009 14:03:12 -> PubStat Thread Started...
9/7/2009 2:03:12 PM -> 07/09/2009 14:03:12 -> Register Web Thread Started...
Web Commands Thread Started...
LFSLapper is running...
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
Ok now I am really confused when I start the second Lapper I get the following error in the working one as shown below
Attached images
error3.jpg
First of all, you shouldn't start multiple lappers.
Version 5.4 is designed to handle multiple servers with one instance of Lapper.
Second, you showd the log of your LPR-file, while there's also a log file in \bin\logs and that should give you some inside in the problem.
Quote from Yisc[NL] :First of all, you shouldn't start multiple lappers.
Version 5.4 is designed to handle multiple servers with one instance of Lapper.
Second, you showd the log of your LPR-file, while there's also a log file in \bin\logs and that should give you some inside in the problem.

I need to have multiple Lappers because my customers install them for their individual server's
Also there are no error logs in the folder
yes u would still only use one
Quote from boyracer1981 :I need to have multiple Lappers because my customers install them for their individual server's
Also there are no error logs in the folder

Hi,
You can have serval dedi(s) with one LFSLapper.
In the LFSServers.cfg you add them.

LFSServers.cfg

# Configuration of LFSServer to be Managed with LFSLapper
# One line per server
# Remote port is the port used to manage LFSLapper remotely, future extension
# One remote port per LFSLapper on one machine, autoStart is optionnal
#Unique ID|GroupId|Ip|Port|WorkDir|IniFile|autoStart
remotePort=3001;
SVR1|gr1|127.0.0.1|29991|./default|S2_GTR.ini|autowork
SVR2|gr1|127.0.0.1|29992|./default|Demo_bronze.ini|autowork
SVR3|gr1|127.0.0.1|29993|./default|Demo_copper.ini|autowork
SVR4|gr1|127.0.0.1|29994|./default|S2_FBM.ini|autowork
SVR5|gr1|127.0.0.1|29995|./default|S2_Test.ini|autoStart

Quote from Tim NL :Hi,
You can have serval dedi(s) with one LFSLapper.
In the LFSServers.cfg you add them.

LFSServers.cfg

# Configuration of LFSServer to be Managed with LFSLapper
# One line per server
# Remote port is the port used to manage LFSLapper remotely, future extension
# One remote port per LFSLapper on one machine, autoStart is optionnal
#Unique ID|GroupId|Ip|Port|WorkDir|IniFile|autoStart
remotePort=3001;
SVR1|gr1|127.0.0.1|29991|./default|S2_GTR.ini|autowork
SVR2|gr1|127.0.0.1|29992|./default|Demo_bronze.ini|autowork
SVR3|gr1|127.0.0.1|29993|./default|Demo_copper.ini|autowork
SVR4|gr1|127.0.0.1|29994|./default|S2_FBM.ini|autowork
SVR5|gr1|127.0.0.1|29995|./default|S2_Test.ini|autoStart


that would be all the servers running 1 lpr

better would be


<?php 
 
#    Configuration of LFSServer to be Managed with LFSLapper
# One line per server
# Remote port is the port used to manage LFSLapper remotely, future extension
# One remote port per LFSLapper on one machine, autoStart is optionnal
#Unique ID|GroupId|Ip|Port|WorkDir|IniFile|autoStart
remotePort=3001;
SVR1|gr1|127.0.0.1|29991|./default_1|S2_GTR.ini|autowork
SVR2
|gr1|127.0.0.1|29992|./default_2|Demo_bronze.ini|autowork
SVR3
|gr1|127.0.0.1|29993|./default_3|Demo_copper.ini|autowork
SVR4
|gr1|127.0.0.1|29994|./default_4|S2_FBM.ini|autowork
SVR5
|gr1|127.0.0.1|29995|./default_5|S2_Test.ini|autoStart
?>


i think that would be the best thats what we do when we tried ours
That will be fine if it works like that is there any way to have individual database files?
if u did it in the separate directory yes
Hello,

if you run more than one LFSLapper ( it's better to run one ) put a different
remotePort for each LFSLapper on same computer

remotePort
=3001;

remotePort=3002;
etc...
I've tried that But for some reason the error box still comes up
What's your's LFSServers.cfg file look? Because the error it's tipically due to this RemotePort conflict
i have just been tinkering around with it and the port 3002 wont work so i just started higher up in the range and it works ok now

strange because nothing is running on that port
but thanks for your help

FGED GREDG RDFGDR GSFDG