Jump to content

More than one Server on same Host


Recommended Posts

Posted

Hello,

 

i updated to Version 3.5.0 from the latest 3.4 version. i described in the past why i have more than one server running on same host on different ports and differen data-folder. So DO NOT TELL ME USE ONLY ONE SERVER!!!!

 

The host is running linux. When i start servers i get after the first one is running this error:

 

- Exiting because another instance is already running.

 

There is a file /tmp/.dotnet/shm/global/\{33f235d6052e5d7a6f3ee67b73136121\} that is checked. 

 

Questions:

- is there a commandline switch to stop checking for running other instance?

- Can i set this GUID via commandline?

- Why is this GUID the same even when the bin-dir is different for every server

- Why is /tmp FIX set to /tmp and the env $TEMP or $TMP not used? So i would be able to set different /tmp folder the get around this new silly check

- for the moment i only can remove the file before starting a new server instance.

 

bye volker

Posted

Hi, unfortunately there's currently no workaround for this.

Posted

You could run separate VMs on the same machine...

Posted

The mutex is set by the install path. I would imagine you could all also put multiple unique installations on the same machine.

Posted

Hello,

 

The mutex is set by the install path. I would imagine you could all also put multiple unique installations on the same machine.

 

In my posting i wrote this:

- Why is this GUID the same even when the bin-dir is different for every server

 

I tested it before asking with different dirs.

/var/lib/emby-server and /var/lib/emby-volker

but the mutex that was checked was the same for both :-(

 

What did i wrong? What is the "installation path"? not the emby-bin path?

 

bye vk

Posted

by install path i mean the path to the main emby server executable.

Posted

Hello,

 

i tested it again. copy of /usr/lib/emby-server as /usr/lib/emby-volker works when 2 things are done:

 

a) do NOT only a ln -s /usr/lib/emby-server /usr/lib/emby-volker BUT do a real copy

B) edit the APP_DIR variable

 

result is this:

 

ls -l /tmp/.dotnet/shm/global
total 16
-rw-rw-rw- 1 root root 4096 Jul 27 15:13 {33f235d6052e5d7a6f3ee67b73136121}
-rw-rw-rw- 1 root root 4096 Jul 27 15:13 {81bca3ae3fe08ed65b38e2339f3b9d0e}
-rw-rw-rw- 1 root root 4096 Jul 27 15:12 {857de6ec6a573dce9281940913b4f652}
-rw-rw-rw- 1 root root 4096 Jul 27 15:12 {9f75064f10d4702dfd3043ce597da6cf}
 

bye

Posted

Thanks for the info.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...