Looks like the problem is that you are trying to use the same port for both
:)
Change the second 21000 to 21001!
On 16 March 2017 at 09:57, William Di Luigi <williamdiluigi@xxxxxxxxx>
wrote:
It probably gets killed before writing any log... Try to start it manually
and see the output:
$ cmsContestWebServer 1
On Thu, Mar 16, 2017 at 10:33 AM Pravein GK <praveingk@xxxxxxxxx> wrote:
Hi Stefano and William,
Thanks for the reply.
There is no directory ContestWebServer-1 in /var/local/log/cms
The only log I see of the error in Resourceservice is :
2017-03-16 02:30:01,458 - INFO [Resource,0 1
ResourceService::_restart_services]
Restarting (ContestWebServer, 1)...
2017-03-16 02:30:06,463 - INFO [Resource,0 1
ResourceService::_restart_services]
Restarting (ContestWebServer, 1)...
2017-03-16 02:30:11,465 - INFO [Resource,0 1
ResourceService::_restart_services]
Restarting (ContestWebServer, 1)...
2017-03-16 02:30:16,467 - INFO [Resource,0 1
ResourceService::_restart_services]
Restarting (ContestWebServer, 1)...
2017-03-16 02:30:21,477 - INFO [Resource,0 1
ResourceService::_restart_services]
Restarting (ContestWebServer, 1)...
(ContestWebServer,0) is working fine btw.
In the cms.conf, I had just replicated like below . Am i missing any
other config ?:
"ContestWebServer": [["n1", 21000],
["n2", 21000]],
Thanks,
Pravein
ᐧ
On Thu, Mar 16, 2017 at 5:17 PM, Stefano Maggiolo <s.maggiolo@xxxxxxxxx>
wrote:
Hi Pravein,
You should take a look at the logs for cws1 to see if it starts and dies
immediately (and you'll also see the reason) or if it is a problem with RS
not being able to launch it (if so, maybe logs of RS could say something
about it).
On 16 Mar 2017 6:16 am, "Pravein GK" <praveingk@xxxxxxxxx> wrote:
Hi,
I am trying to run multiple ContestWebServers (2 for now.)
I see a problem that only 1 contestwebserver is running in the main
server nd others are restarting.
*2017-03-15 23:16:45,644 - INFO [Resource,0] Restarting
(ContestWebServer, 1)...*
*2017-03-15 23:16:50,649 - INFO [Resource,0] Restarting
(ContestWebServer, 1)...*
*2017-03-15 23:16:55,645 - INFO [Resource,0] Restarting
(ContestWebServer, 1)...*
*2017-03-15 23:17:00,646 - INFO [Resource,0] Restarting
(ContestWebServer, 1)...*
Any way to fix that?
Thanks,
Pravein
ᐧ