You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by Andy Zhao <no...@github.com.INVALID> on 2022/03/25 03:17:27 UTC

[apache/incubator-teaclave] Failed to start teaclave service (Issue #641)

I failed to start the teaclave serviceslike as below.

Looks only "teaclave-execution-service exited with code 1" means failure?  

I haven't configured IAS, is that the reason?

-----------------------------------------
/dev/isgx device detected.
/var/run/aesmd/aesm.socket socket detected.
Error: No such volume: aesmd-socket
COMMAND: docker-compose -f docker-compose-ubuntu-1804.yml -f docker-compose-isgx-dev.override.yml -f docker-compose-aesm-socket.override.yml up
Starting teaclave-storage-service        ... done
Starting teaclave-access-control-service ... done
Starting teaclave-file-service           ... done
Starting teaclave-authentication-service ... done
Starting teaclave-scheduler-service      ... done
Starting teaclave-execution-service      ... done
Starting teaclave-management-service     ... done
Starting teaclave-frontend-service       ... done
Attaching to teaclave-storage-service, teaclave-scheduler-service, teaclave-access-control-service, teaclave-execution-service, teaclave-management-service, teaclave-authentication-service, teaclave-file-service, teaclave-frontend-service
teaclave-storage-service exited with code 0
teaclave-access-control-service exited with code 0
teaclave-scheduler-service exited with code 0
**teaclave-execution-service exited with code 1**
teaclave-authentication-service exited with code 0
teaclave-management-service exited with code 0
teaclave-frontend-service exited with code 0


-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/641
You are receiving this because you are subscribed to this thread.

Message ID: <ap...@github.com>

Re: [apache/incubator-teaclave] Failed to start teaclave service (Issue #641)

Posted by Andy Zhao <no...@github.com.INVALID>.
Closed #641.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/641#event-6356212833
You are receiving this because you are subscribed to this thread.

Message ID: <ap...@github.com>

Re: [apache/incubator-teaclave] Failed to start teaclave service (Issue #641)

Posted by Mingshen Sun <no...@github.com.INVALID>.
> Looks only "teaclave-execution-service exited with code 1" means failure?

In this case, the exit code may not help.

Seems that you are building for SGX hardware mode. For this mode, the service need to communicate with an attestation service (IAS or DCAP service depends on your setup).

If you can provide more information like building process and server setups, that will be very helpful.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/641#issuecomment-1079312607
You are receiving this because you are subscribed to this thread.

Message ID: <ap...@github.com>

Re: [apache/incubator-teaclave] Failed to start teaclave service (Issue #641)

Posted by Andy Zhao <no...@github.com.INVALID>.
Thanks for the reply. I will try to set up the Attestation service.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/641#issuecomment-1080257622
You are receiving this because you are subscribed to this thread.

Message ID: <ap...@github.com>

Re: [apache/incubator-teaclave] Failed to start teaclave service (Issue #641)

Posted by Qinkun Bao <no...@github.com.INVALID>.
> @qinkunbao no lucky with IAS setup (is there any proxy setting to be considered), where can I find the log?

https://asciinema.org/a/9pStDa5jVGJegkAhXF1jZF74l

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/641#issuecomment-1083853781
You are receiving this because you are subscribed to this thread.

Message ID: <ap...@github.com>

Re: [apache/incubator-teaclave] Failed to start teaclave service (Issue #641)

Posted by Qinkun Bao <no...@github.com.INVALID>.
Hi Andy, thank you for using Apache Teaclave. 

Yes, you cannot start the service unless you build Teaclave in the simulation mode (`cmake -DSGX_SIM_MODE=ON -DTEST_MODE=ON ..`).

You can run `export TEACLAVCE_LOG=info` before starting the services. It will enable the logs and provide more info.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/641#issuecomment-1079285655
You are receiving this because you are subscribed to this thread.

Message ID: <ap...@github.com>

Re: [apache/incubator-teaclave] Failed to start teaclave service (Issue #641)

Posted by Andy Zhao <no...@github.com.INVALID>.
@qinkunbao no lucky with IAS setup (is there any proxy setting to be considered),  where can I find the log?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/641#issuecomment-1082662276
You are receiving this because you are subscribed to this thread.

Message ID: <ap...@github.com>

Re: [apache/incubator-teaclave] Failed to start teaclave service (Issue #641)

Posted by Andy Zhao <no...@github.com.INVALID>.
@qinkunbao  thanks. Looks still a platform issue for attestation.  

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/641#issuecomment-1086488169
You are receiving this because you are subscribed to this thread.

Message ID: <ap...@github.com>