Error when starting node

ok, I ran the commands suggested by @anon60841010. seems i’m still getting the same error when i run bash start.sh - output below

nsn@znode:~$ wget -O install-enigma-node.sh https ://raw.githubusercontent.com/secretnodes/scripts/master/nuc-general/install-enigma-node.sh
–2019-10-31 09:31:56-- https ://raw.githubusercontent.com/secretnodes/scripts/master/nuc-general/install-enigma-node.sh
Resolving raw.githubusercontent. com (raw.githubusercontent. com)… 151.101.96.133
Connecting to raw.githubusercontent. com (raw.githubusercontent. com)|151.101.96.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 351 [text/plain]
Saving to: ‘install-enigma-node.sh’

install-enigma-node.sh 100%[====================================================>] 351 --.-KB/s in 0s

2019-10-31 09:31:56 (4.11 MB/s) - ‘install-enigma-node.sh’ saved [351/351]

nsn@znode:~ bash install-enigma-node.sh Downloading and installing enigma node software. Pre Genesis Games | DevNet | Discovery-Docker-Network. Cloning into 'tmp'... remote: Enumerating objects: 68, done. remote: Counting objects: 100% (68/68), done. remote: Compressing objects: 100% (55/55), done. remote: Total 810 (delta 29), reused 33 (delta 13), pack-reused 742 Receiving objects: 100% (810/810), 241.06 KiB | 401.00 KiB/s, done. Resolving deltas: 100% (471/471), done. nsn@znode:~ bash start.sh
CD into Discovery-Docker-Network
Making sure discovery-docker-network is up to date.
ERROR: Couldn’t connect to Docker daemon at http+docker://localhost - is it running?

If it’s at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
Start 9 workers on your Secret Node. Note : 9 is the max amount of workers you can run.
[sudo] password for nsn:
Running in Hardware Mode, as per SGX_MODE=HW in .env file.
NODES is set to 9
Error: SGX driver not found. Run in simulation mode instead with:
./launch.bash -s

Okay, thanks for the the logged output, @R0bb0.

I’ll do some digging on this and let you know what I find.

After running the commands below, re-run the sendnodes.sh script

wget -0 install-docker.sh https://raw.githubusercontent.com/secretnodes/scripts/master/nuc-general/install-docker.sh

bash install-docker.sh

Save the output from the install in case there are errors.

Thanks!

the wget command didnt work with the -0. other than that things ran smoothly but i’m still getting the same error when i run start.sh

nsn@znode:~$ wget install-docker.sh https ://raw .githubusercontent.com/secretnodes/scripts/master/nuc-general/install-docker.sh
–2019-10-31 19:49:56-- http ://install-docker.sh/
Resolving install-docker.sh (install-docker.sh)… failed: Name or service not known.
wget: unable to resolve host address ‘install-docker.sh’
–2019-10-31 19:49:56-- https ://raw .githubusercontent.com/secretnodes/scripts/master/nuc-general/install-docker.sh
Resolving raw .githubusercontent.com (raw .githubusercontent.com)… 151.101.96.133
Connecting to raw .githubusercontent.com (raw .githubusercontent.com)|151.101.96.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1452 (1.4K) [text/plain]
Saving to: ‘install-docker.sh.1’

install-docker.sh.1 100%[====================================================>] 1.42K --.-KB/s in 0s

2019-10-31 19:49:57 (8.17 MB/s) - ‘install-docker.sh.1’ saved [1452/1452]

FINISHED --2019-10-31 19:49:57–
Total wall clock time: 0.6s
Downloaded: 1 files, 1.4K in 0s (8.17 MB/s)
nsn@znode:~ bash install-docker.sh ===> Running step 1 [sudo] password for nsn: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 617 0 617 0 0 1296 0 --:--:-- --:--:-- --:--:-- 1293 100 16.1M 100 16.1M 0 0 1952k 0 0:00:08 0:00:08 --:--:-- 3249k ===> Running step 2 ===> Running Step 4 Hit:1 http ://au.archive.ubuntu.com/ubuntu bionic InRelease Hit:2 https ://download.docker.com/linux/ubuntu bionic InRelease Get:3 http ://au.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:4 http ://au.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Get:5 http ://au.archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Get:6 http ://au.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [768 kB] Get:7 http ://au.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,018 kB] Get:8 http ://au.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [4,024 B] Fetched 2,041 kB in 1s (1,502 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. ===> install prerequisite packages which let apt use packages over HTTPS Reading package lists... Done Building dependency tree Reading state information... Done ca-certificates is already the newest version (20180409). curl is already the newest version (7.58.0-2ubuntu3.8). software-properties-common is already the newest version (0.96.24.32.11). apt-transport-https is already the newest version (1.6.12). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ===> Add the GPG key for the official Docker repository to your system OK ===> Add the Docker repository to APT sources Hit:1 http ://au.archive.ubuntu.com/ubuntu bionic InRelease Hit:2 http ://au.archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:3 http ://au.archive.ubuntu.com/ubuntu bionic-backports InRelease Hit:4 https ://download.docker.com/linux/ubuntu bionic InRelease Hit:5 http ://au.archive.ubuntu.com/ubuntu bionic-security InRelease Reading package lists... Done ===> update the package database with the Docker packages from the newly added repo Hit:1 http ://au.archive.ubuntu.com/ubuntu bionic InRelease Hit:2 http ://au.archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:3 http ://au.archive.ubuntu.com/ubuntu bionic-backports InRelease Hit:4 https ://download.docker.com/linux/ubuntu bionic InRelease Hit:5 http ://au.archive.ubuntu.com/ubuntu bionic-security InRelease Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ===> install from the Docker repo instead of the default Ubuntu repo docker-ce: Installed: 5:19.03.4~3-0~ubuntu-bionic Candidate: 5:19.03.4~3-0~ubuntu-bionic Version table: *** 5:19.03.4~3-0~ubuntu-bionic 500 500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages 100 /var/lib/dpkg/status 5:19.03.3~3-0~ubuntu-bionic 500 500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages 5:19.03.2~3-0~ubuntu-bionic 500 500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages 5:19.03.1~3-0~ubuntu-bionic 500 500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages 5:19.03.0~3-0~ubuntu-bionic 500 500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages 5:18.09.9~3-0~ubuntu-bionic 500 500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages 5:18.09.8~3-0~ubuntu-bionic 500 500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages 5:18.09.7~3-0~ubuntu-bionic 500 500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages 5:18.09.6~3-0~ubuntu-bionic 500 500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages 5:18.09.5~3-0~ubuntu-bionic 500 500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages 5:18.09.4~3-0~ubuntu-bionic 500 500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages 5:18.09.3~3-0~ubuntu-bionic 500 500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages 5:18.09.2~3-0~ubuntu-bionic 500 500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages 5:18.09.1~3-0~ubuntu-bionic 500 500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages 5:18.09.0~3-0~ubuntu-bionic 500 500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages 18.06.3~ce~3-0~ubuntu 500 500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages 18.06.2~ce~3-0~ubuntu 500 500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages 18.06.1~ce~3-0~ubuntu 500 500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages 18.06.0~ce~3-0~ubuntu 500 500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages 18.03.1~ce~3-0~ubuntu 500 500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages ===> Install Docker Reading package lists... Done Building dependency tree Reading state information... Done docker-ce is already the newest version (5:19.03.4~3-0~ubuntu-bionic). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ===> Verify Docker Compose installation was successful. ===> type : docker-compose --version ===> Docker should now be installed, the daemon started, and the process enabled to start on boot. Check that it’s running ===> type : sudo systemctl status docker <3 from https ://secretnodes.org nsn@znode:~ sendnodes.sh
sendnodes.sh: command not found
nsn@znode:~$ bash sendnodes.sh
Downloading scripts to configure your Secret Node.
–2019-10-31 19:52:22-- https ://raw .githubusercontent.com/secretnodes/scripts/master/nuc-general/install-docker.sh
Resolving raw .githubusercontent.com (raw .githubusercontent.com)… 151.101.96.133
Connecting to raw .githubusercontent.com (raw .githubusercontent.com)|151.101.96.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1452 (1.4K) [text/plain]
Saving to: ‘install-docker.sh’

install-docker.sh 100%[====================================================>] 1.42K --.-KB/s in 0s

2019-10-31 19:52:22 (6.50 MB/s) - ‘install-docker.sh’ saved [1452/1452]

–2019-10-31 19:52:23-- https ://raw .githubusercontent.com/secretnodes/scripts/master/nuc-general/install-sgx.sh
Resolving raw .githubusercontent.com (raw .githubusercontent.com)… 151.101.96.133
Connecting to raw .githubusercontent.com (raw .githubusercontent.com)|151.101.96.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1645 (1.6K) [text/plain]
Saving to: ‘install-sgx.sh’

install-sgx.sh 100%[====================================================>] 1.61K --.-KB/s in 0s

2019-10-31 19:52:23 (6.93 MB/s) - ‘install-sgx.sh’ saved [1645/1645]

–2019-10-31 19:52:24-- https ://raw .githubusercontent.com/secretnodes/scripts/master/nuc-general/start.sh
Resolving raw .githubusercontent.com (raw .githubusercontent.com)… 151.101.96.133
Connecting to raw .githubusercontent.com (raw .githubusercontent.com)|151.101.96.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 348 [text/plain]
Saving to: ‘start.sh’

start.sh 100%[====================================================>] 348 --.-KB/s in 0s

2019-10-31 19:52:24 (4.16 MB/s) - ‘start.sh’ saved [348/348]

–2019-10-31 19:52:25-- https ://raw .githubusercontent.com/secretnodes/scripts/master/nuc-general/install-enigma-node.sh
Resolving raw .githubusercontent.com (raw .githubusercontent.com)… 151.101.96.133
Connecting to raw .githubusercontent.com (raw .githubusercontent.com)|151.101.96.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 351 [text/plain]
Saving to: ‘install-enigma-node.sh’

install-enigma-node.sh 100%[====================================================>] 351 --.-KB/s in 0s

2019-10-31 19:52:26 (3.19 MB/s) - ‘install-enigma-node.sh’ saved [351/351]

–2019-10-31 19:52:27-- https ://raw .githubusercontent.com/secretnodes/scripts/master/nuc-general/upgrade.sh
Resolving raw .githubusercontent.com (raw .githubusercontent.com)… 151.101.96.133
Connecting to raw .githubusercontent.com (raw .githubusercontent.com)|151.101.96.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 285 [text/plain]
Saving to: ‘upgrade.sh’

upgrade.sh 100%[====================================================>] 285 --.-KB/s in 0s

2019-10-31 19:52:27 (3.66 MB/s) - ‘upgrade.sh’ saved [285/285]

–2019-10-31 19:52:28-- https ://raw .githubusercontent.com/secretnodes/scripts/master/nuc-general/install-fixes.sh
Resolving raw .githubusercontent.com (raw .githubusercontent.com)… 151.101.96.133
Connecting to raw .githubusercontent.com (raw .githubusercontent.com)|151.101.96.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 426 [text/plain]
Saving to: ‘install-fixes.sh’

install-fixes.sh 100%[====================================================>] 426 --.-KB/s in 0s

2019-10-31 19:52:29 (5.05 MB/s) - ‘install-fixes.sh’ saved [426/426]

–2019-10-31 19:52:30-- https ://raw .githubusercontent.com/secretnodes/scripts/master/nuc-general/uninstall.sh
Resolving raw .githubusercontent.com (raw .githubusercontent.com)… 151.101.96.133
Connecting to raw .githubusercontent.com (raw .githubusercontent.com)|151.101.96.133|:443… connected.
HTTP request sent, awaiting response… 404 Not Found
2019-10-31 19:52:30 ERROR 404: Not Found.

Change permissions for install sgx, install docker, start, & upgrade scripts.
Running upgrade.sh script.
Update & Upgrade System.
Hit:1 http ://au.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http ://au.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http ://au.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 http ://au.archive.ubuntu.com/ubuntu bionic-security InRelease
Hit:5 https ://download.docker.com/linux/ubuntu bionic InRelease
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists… Done
Building dependency tree
Reading state information… Done
Complete!
The script is not finished yet. Next we will install docker, please wait.
Running install-docker.sh script.
===> Running step 1
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 617 0 617 0 0 1365 0 --:–:-- --:–:-- --:–:-- 1362
100 16.1M 100 16.1M 0 0 2022k 0 0:00:08 0:00:08 --:–:-- 3063k
===> Running step 2
===> Running Step 4
Hit:1 http ://au.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http ://au.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 https ://download.docker.com/linux/ubuntu bionic InRelease
Hit:4 http ://au.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:5 http ://au.archive.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists… Done
Building dependency tree
Reading state information… Done
All packages are up to date.
===> install prerequisite packages which let apt use packages over HTTPS
Reading package lists… Done
Building dependency tree
Reading state information… Done
ca-certificates is already the newest version (20180409).
curl is already the newest version (7.58.0-2ubuntu3.8).
software-properties-common is already the newest version (0.96.24.32.11).
apt-transport-https is already the newest version (1.6.12).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
===> Add the GPG key for the official Docker repository to your system
OK
===> Add the Docker repository to APT sources
Hit:1 http ://au.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http ://au.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http ://au.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 https ://download.docker.com/linux/ubuntu bionic InRelease
Hit:5 http ://au.archive.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists… Done
===> update the package database with the Docker packages from the newly added repo
Hit:1 http ://au.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http ://au.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 https ://download.docker.com/linux/ubuntu bionic InRelease
Hit:4 http ://au.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:5 http ://au.archive.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists… Done
Building dependency tree
Reading state information… Done
All packages are up to date.
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
===> install from the Docker repo instead of the default Ubuntu repo
docker-ce:
Installed: 5:19.03.4~3-0~ubuntu-bionic
Candidate: 5:19.03.4~3-0~ubuntu-bionic
Version table:
*** 5:19.03.4~3-0~ubuntu-bionic 500
500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
100 /var/lib/dpkg/status
5:19.03.3~3-0~ubuntu-bionic 500
500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:19.03.2~3-0~ubuntu-bionic 500
500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:19.03.1~3-0~ubuntu-bionic 500
500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:19.03.0~3-0~ubuntu-bionic 500
500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:18.09.9~3-0~ubuntu-bionic 500
500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:18.09.8~3-0~ubuntu-bionic 500
500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:18.09.7~3-0~ubuntu-bionic 500
500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:18.09.6~3-0~ubuntu-bionic 500
500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:18.09.5~3-0~ubuntu-bionic 500
500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:18.09.4~3-0~ubuntu-bionic 500
500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:18.09.3~3-0~ubuntu-bionic 500
500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:18.09.2~3-0~ubuntu-bionic 500
500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:18.09.1~3-0~ubuntu-bionic 500
500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
5:18.09.0~3-0~ubuntu-bionic 500
500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
18.06.3~ce~3-0~ubuntu 500
500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
18.06.2~ce~3-0~ubuntu 500
500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
18.06.1~ce~3-0~ubuntu 500
500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
18.06.0~ce~3-0~ubuntu 500
500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
18.03.1~ce~3-0~ubuntu 500
500 https ://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
===> Install Docker
Reading package lists… Done
Building dependency tree
Reading state information… Done
docker-ce is already the newest version (5:19.03.4~3-0~ubuntu-bionic).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
===> Verify Docker Compose installation was successful.
===> type : docker-compose --version
===> Docker should now be installed, the daemon started, and the process enabled to start on boot. Check that it’s running
===> type : sudo systemctl status docker
<3 from https ://secretnodes.org
The script is not finished yet. Next we will install sgx, please wait.
Running install-sgx.sh script.
apt-get dpkg & update
Hit:1 http ://au.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http ://au.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http ://au.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 https ://download.docker.com/linux/ubuntu bionic InRelease
Hit:5 http ://au.archive.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
dpkg is already the newest version (1.19.0.5ubuntu2.3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
To install the Intel® SGX PSW, first install the following tools
Reading package lists… Done
Building dependency tree
Reading state information… Done
libprotobuf-dev is already the newest version (3.0.0-9.1ubuntu1).
libcurl4-openssl-dev is already the newest version (7.58.0-2ubuntu3.8).
libssl-dev is already the newest version (1.1.1-1ubuntu2.1~18.04.4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
To install the Intel® SGX SDK, install the following:
Reading package lists… Done
Building dependency tree
Reading state information… Done
build-essential is already the newest version (12.4ubuntu1).
python is already the newest version (2.7.15~rc1-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Downloading the required SGX files.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 26688 100 26688 0 0 39714 0 --:–:-- --:–:-- --:–:-- 39655
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1667k 100 1667k 0 0 1985k 0 --:–:-- --:–:-- --:–:-- 1983k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 28686 100 28686 0 0 135k 0 --:–:-- --:–:-- --:–:-- 135k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 18.4M 0 18.4M 0 0 2790k 0 --:–:-- 0:00:06 --:–:-- 2872k
Setting permissions for driver & SDK.
Installing SGX driver.
Unpacking Intel SGX Driver … done.
Verifying the integrity of the install package … done.
Installing Intel SGX Driver …
/tmp/sgx-driver-vwYRrw ~
install -d /opt/intel/sgxdriver/package
install -d /opt/intel/sgxdriver/scripts
install package/* /opt/intel/sgxdriver/package
install scripts/* /opt/intel/sgxdriver/scripts
~
/opt/intel/sgxdriver/package ~
make -C /lib/modules/4.15.0-66-generic/build SUBDIRS=/opt/intel/sgxdriver/package modules
make[1]: Entering directory ‘/usr/src/linux-headers-4.15.0-66-generic’
CC [M] /opt/intel/sgxdriver/package/sgx_main.o
CC [M] /opt/intel/sgxdriver/package/sgx_page_cache.o
CC [M] /opt/intel/sgxdriver/package/sgx_ioctl.o
CC [M] /opt/intel/sgxdriver/package/sgx_vma.o
CC [M] /opt/intel/sgxdriver/package/sgx_util.o
CC [M] /opt/intel/sgxdriver/package/sgx_encl.o
CC [M] /opt/intel/sgxdriver/package/sgx_encl2.o
LD [M] /opt/intel/sgxdriver/package/isgx.o
Building modules, stage 2.
MODPOST 1 modules
CC /opt/intel/sgxdriver/package/isgx.mod.o
LD [M] /opt/intel/sgxdriver/package/isgx.ko
make[1]: Leaving directory ‘/usr/src/linux-headers-4.15.0-66-generic’
Installing psw
(Reading database … 73881 files and directories currently installed.)
Preparing to unpack …/libsgx-enclave-common_2.6.100.51363-bionic1_amd64.deb …
Unpacking libsgx-enclave-common (2.6.100.51363-bionic1) over (2.6.100.51363-bionic1) …
Setting up libsgx-enclave-common (2.6.100.51363-bionic1) …
Installing aesmd.service service … done.
Processing triggers for libc-bin (2.27-3ubuntu1) …
(Reading database … 73881 files and directories currently installed.)
Preparing to unpack …/libsgx-enclave-common-dev_2.6.100.51363-bionic1_amd64.deb …
Unpacking libsgx-enclave-common-dev (2.6.100.51363-bionic1) over (2.6.100.51363-bionic1) …
Setting up libsgx-enclave-common-dev (2.6.100.51363-bionic1) …
Processing triggers for libc-bin (2.27-3ubuntu1) …
Installing SGX on Linux. Chose to install SGX in current directory, respond with ‘no’.

Do you want to install in current directory? [yes/no] : no

Please input the directory which you want to install in : isgx
Unpacking Intel SGX SDK … done.
Verifying the integrity of the install package … done.
Installing Intel SGX SDK … done.
/tmp/sgx-sdk-3leQtR ~
install -d /home/nsn/isgx/sgxsdk
cp -r package/* /home/nsn/isgx/sgxsdk
install -d /home/nsn/isgx/sgxsdk/scripts
install scripts/* /home/nsn/isgx/sgxsdk/scripts
chmod +x /home/nsn/isgx/sgxsdk/bin/sgx-gdb
~
uninstall.sh script generated in /home/nsn/isgx/sgxsdk

Installation is successful! The SDK package can be found in /home/nsn/isgx/sgxsdk

Please set the environment variables with below command:

source /home/nsn/isgx/sgxsdk/environment
Setting LD LIBRARY PATH
<3 from https ://secretnodes.org
Running install-enigma-node.sh
Downloading and installing enigma node software.
Pre Genesis Games | DevNet | Discovery-Docker-Network.
fatal: destination path ‘tmp’ already exists and is not an empty directory.
Running install-fixes.sh
Please report any issues you face at https ://t .me/secretnodes
Implimenting fix for docker caused networking issue https ://github.com/docker/libnetwork/issues/2187
Note: To upgrade all scripts, you must merely run sendnodes.sh again.
Applying fixes.
Please report any issues you face at https ://t .me/secretnodes
Implimenting fix for docker caused networking issue https ://github.com/docker/libnetwork/issues/2187
Note: To upgrade all scripts, you must merely run sendnodes.sh again.
<3 from https ://secretnodes.org
nsn@znode:~$ bash start.sh
CD into Discovery-Docker-Network
Making sure discovery-docker-network is up to date.
ERROR: Couldn’t connect to Docker daemon at http+docker://localhost - is it running?

If it’s at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
Start 9 workers on your Secret Node. Note : 9 is the max amount of workers you can run.
Running in Hardware Mode, as per SGX_MODE=HW in .env file.
NODES is set to 9
Error: SGX driver not found. Run in simulation mode instead with:
./launch.bash -s
nsn@znode:~$

not sure if this will also be useful:

nsn@znode:~$ sudo systemctl status docker
[sudo] password for nsn:
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2019-10-30 20:14:14 UTC; 23h ago
Docs: https://docs.docker.com
Main PID: 17067 (dockerd)
Tasks: 13
CGroup: /system.slice/docker.service
└─17067 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

Oct 30 20:14:13 znode dockerd[17067]: time=“2019-10-30T20:14:13.609025572Z” level=warning msg="Your kernel does not support
Oct 30 20:14:13 znode dockerd[17067]: time=“2019-10-30T20:14:13.609663165Z” level=warning msg="Your kernel does not support
Oct 30 20:14:13 znode dockerd[17067]: time=“2019-10-30T20:14:13.609682325Z” level=warning msg="Your kernel does not support
Oct 30 20:14:13 znode dockerd[17067]: time=“2019-10-30T20:14:13.609858921Z” level=info msg=“Loading containers: start.”
Oct 30 20:14:13 znode dockerd[17067]: time=“2019-10-30T20:14:13.887026816Z” level=info msg="Default bridge (docker0) is assi
Oct 30 20:14:14 znode dockerd[17067]: time=“2019-10-30T20:14:14.121953269Z” level=info msg=“Loading containers: done.”
Oct 30 20:14:14 znode dockerd[17067]: time=“2019-10-30T20:14:14.179626679Z” level=info msg=“Docker daemon” commit=9013bf583a
Oct 30 20:14:14 znode dockerd[17067]: time=“2019-10-30T20:14:14.179824264Z” level=info msg="Daemon has completed initializat
Oct 30 20:14:14 znode systemd[1]: Started Docker Application Container Engine.
Oct 30 20:14:14 znode dockerd[17067]: time=“2019-10-30T20:14:14.250513968Z” level=info msg="API listen on /var/run/docker.so

ok, @laura @anon60841010, i think i found the issue and it was right under my nose…

I disabled secure boot in the bios as per the troubleshooting tips on secretnodes.org. :man_facepalming:

it seems to be working now. :grimacing:

2 Likes

That’s wonderful, @R0bb0. I was going through the scripts to troubleshoot, but now I don’t have to :smiley: .

If you encounter any issues going forward, let us know!

1 Like

Thanks so much for putting your time into it. I have learned a few things along the way so its been worth it for me :slight_smile:

2 Likes

Hi all,

After following the above, I’m still receiving the same error message:

~$ bash start.sh
CD into Discovery-Docker-Network
Making sure discovery-docker-network is up to date.
ERROR: Couldn’t connect to Docker daemon at http+docker://localhost - is it running?

If it’s at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
Start 9 workers on your Secret Node. Note : 9 is the max amount of workers you can run.
Running in Hardware Mode, as per SGX_MODE=HW in .env file.
NODES is set to 9
Error: SGX driver not found. Run in simulation mode instead with:
./launch.bash -s

Could anyone help further, please? Secure Boot (Disabled) SGX (Enabled).

Thanks

Hi Stefan,

Can you please type the following and paste responses here.

lsmod | grep isgx

and

dmesg | grep -i sgx

1 Like