NVFlare icon indicating copy to clipboard operation
NVFlare copied to clipboard

When I run the start.sh from poc/server/

Open holiday01 opened this issue 4 years ago • 6 comments

start fl because of no pid.fl new pid 18071 The following files are not secure content. fed_server.json start fl because process of 18071 does not exist new pid 18081 The following files are not secure content. fed_server.json start fl because process of 18081 does not exist new pid 18092 The following files are not secure content. fed_server.json start fl because process of 18092 does not exist new pid 18102 The following files are not secure content. fed_server.json start fl because process of 18102 does not exist new pid 18111 The following files are not secure content. fed_server.json start fl because process of 18111 does not exist System is in trouble and unable to start the task!!!!!

holiday01 avatar May 17 '22 08:05 holiday01

thanks for raise the issue, probably you can help us by giving us a bit context. for example, python version, OS, what are the steps you have performed before you starting to see the errors.

chesterxgchen avatar May 18 '22 18:05 chesterxgchen

Thank you for your relpy. Here is my server detail. They are viture machines. Operating System: Ubuntu 20.04.3 LTS Kernel: Linux 5.4.0-97-generic Architecture: x86-64

I had tried two processes by following above two links.

https://nvidia.github.io/NVFlare/quickstart.html https://nvidia.github.io/NVFlare/user_guide/provisioning_tool.html?highlight=project%20yml

At first, I used "poc -n 2". And server, admin, two clients were at localhost. I could run it.

Next, I would like to set that server and the clients are different machine. Hence, the name was edited the server IP. I edited the project.yml and ran the "provision -p project.yml". The issue error was the ran "./start.sh". Before this error I got. I added the "min_num_clients" that was another error.

holiday01 avatar May 19 '22 02:05 holiday01

It seems like you edited the fed_server.json file manually after it was created by the provisioning process. This file is considered secure content and is signed, so it cannot be changed after provisioning or the signature verification will fail.

In order to change the preset values in fed_server.json, it may be necessary to alter nvflare/lighter/impl/master_template.yml near line 100 before running provision with your edited version of the code (may need to make sure PYTHONPATH points to the location of where you checked out the NVFlare repository).

nvkevlu avatar May 20 '22 16:05 nvkevlu

also, make sure you are using python 3.8.

chesterxgchen avatar May 20 '22 17:05 chesterxgchen

It was done. I opened a new VM and it worked. Thank you.

holiday01 avatar May 23 '22 01:05 holiday01

great. Close the issue

chesterxgchen avatar May 23 '22 02:05 chesterxgchen