skalenetwork / skale-sdk

19 stars 10 forks source link

Can't launch on Mac #2

Open artall64 opened 4 years ago

artall64 commented 4 years ago

From the Readme, it doesn't look like a requirement to star ./run.sh only on the Ubuntu machine. When I try to start it on a mac I got following error:

2020-07-09 09:49:38.342820 Error creating SkaleHost --- ConsensusEngine:Engine init failed:Engine construction failed --- :System time is not synchronized with NTP. Enable NTP: sudo timedatectl set-

Full docker log:

skaled 1.46+commit.834001fe

This process PID=7

2020-07-09 09:49:37.494692 IPC server is: off

2020-07-09 09:49:37.495186 Got HTTP/4 port from command line: 1234

2020-07-09 09:49:37.495271 Got WS/4 port from command line: 1233

2020-07-09 09:49:37.495388 JSON RPC trace logging mode is enabled

2020-07-09 09:49:37.495507 Important notce: Programmatic enable-debug-behavior-apis mode is enabled

2020-07-09 09:49:37.495601 Important notce: Programmatic unsafe-transactions mode is disabled

2020-07-09 09:49:37.495738 Important notce: Programmatic web3-shutdown mode is disabled

2020-07-09 09:49:37.495905 IPC path is:

2020-07-09 09:49:37.496265 DB path is: /data_dir

skaled, a C++ Skale client

2020-07-09 09:49:38.229707 Using existing database

2020-07-09 09:49:38.237088 Post state changed.

Found data dir:/data_dir

2020-07-09 09:49:38.318173 Instance of SkaleHost was not properly created.

2020-07-09 09:49:38.342820 Error creating SkaleHost --- ConsensusEngine:Engine init failed:Engine construction failed --- :System time is not synchronized with NTP. Enable NTP: sudo timedatectl set-ntp on. Timediff:6:Local:1594288178:ntp:1594288184 ---

So I suggest to either edit Readme and claim that Ubuntu is mandatory or fix this issue

cstrangedk commented 4 years ago

I am not able to reproduce your error on Mac. Could you provide your OS and Docker versions?