You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by gjj <no...@github.com> on 2020/06/29 09:47:13 UTC

[apache/incubator-teaclave] start service error (#373)

docker-compose -f docker-compose-ubuntu-1804.yml up --build


![image](https://user-images.githubusercontent.com/30582212/85995064-7a396600-ba30-11ea-988d-e2938d9c31ab.png)


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

Re: [apache/incubator-teaclave] start service error (#373)

Posted by Mingshen Sun <no...@github.com>.
Also, try to restart the AESM daemon which helps to manage architectural enclaves : `sudo systemctl restart aesmd`.

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

Re: [apache/incubator-teaclave] start service error (#373)

Posted by Mingshen Sun <no...@github.com>.
The main reason is that the kernel may be upgraded when you reboot the system. You can setup your Linux distro to manually upgrade kernel.

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

Re: [apache/incubator-teaclave] start service error (#373)

Posted by Mingshen Sun <no...@github.com>.
There is something wrong with your SGX environment. Please check if the SGX device (`/dev/isgx`) still exists.

Also, I'll come up a fix to provide more information on the error.

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

Re: [apache/incubator-teaclave] start service error (#373)

Posted by Mingshen Sun <no...@github.com>.
I think this issue has been solved. Closed.

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

Re: [apache/incubator-teaclave] start service error (#373)

Posted by gjj <no...@github.com>.
> There is something wrong with your SGX environment. Please check if the SGX device (`/dev/isgx`) still exists.
> 
> Also, I'll come up a fix to provide more information on the error.

The SGX environment and teaclave of the server were running normally. Later, after the server was shut down and restarted, the error unable to find "/dev/ isgx" was reported when starting teaclave. Then, I installed SGX_driver again, there is the file "/dev/isgx", and then starting teaclave will report an error as shown in the figure


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

Re: [apache/incubator-teaclave] start service error (#373)

Posted by gjj <no...@github.com>.
> sudo systemctl restart aesmd

it work. thanks
but next time when i reboot the system.  
i have to continue to reload SGX_ Driver and restart aesmd?

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

Re: [apache/incubator-teaclave] start service error (#373)

Posted by Mingshen Sun <no...@github.com>.
Hi, #375 is merged. You will see more error type on SGX related errors. Thanks.

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

Re: [apache/incubator-teaclave] start service error (#373)

Posted by Mingshen Sun <no...@github.com>.
Closed #373.

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