Closed dullfig closed 7 years ago
i think you missed make install
(at least is not in your logs)
sorry for the long post, didn't realize "copy all to clipboard" meant "copy ALL to clipboard" :)
I did. but I'm trying make install one more time
why is wGet complaining about the ca certificate?
donno, that was suposed to be fixed at https://github.com/ctubio/Krypto-trading-bot/issues/307
if you consideer... cann you share what is your $ uname -a
and what build are you using? i mainly test x86_64
ok, did make install, double checked settings in K.sh, ran it, got this:
[root@kripto ~]# cd /usr/src/K [root@kripto K]# ./K.sh K build x86_64-linux-gnu 2017-11-04 21:37:27. K version unknown (zip install). 21:56:17.423539 DB /data/db/K.3.BTC.USD.db loaded OK. 21:56:17.425032 UI ready over HTTPS on external port 3000. 21:56:17.426023 QP Warrrrning: using default values for Quoting Parameters. 21:56:17.426126 DB loaded 0 historical Trades. 21:56:17.426182 DB loaded 0 STDEV Periods. 21:56:17.426247 DB loaded EWMA Long = 0.000000. 21:56:17.426258 DB loaded EWMA Medium = 0.000000. 21:56:17.426268 DB loaded EWMA Short = 0.000000. 21:56:17.426344 DB loaded TBP = 0.00000000 BTC. 21:56:17.611612 JSON Warrrrning: wGet failed Peer certificate cannot be authenti cated with given CA certificates. 21:56:17.611858 CF Errrror: Unable to fetch data from COINBASE symbol "BTC-USD". 21:56:17.611939 Errrror: Signal 11 Segmentation fault (Three-Headed Monkey found ). ./app/server/K(_ZN1K2EV6reportEv+0x1a)[0x559c8371a3aa] ./app/server/K(_ZN1K2EV3wtfEi+0x41e)[0x559c8371fb0e] /lib64/libc.so.6(+0x35270)[0x7fd5727ce270] ./app/server/K(_ZN3FIX9Initiator4stopEb+0x0)[0x559c837cca80] ./app/server/K(_ZN1K2GW11happyEndingEi+0x78)[0x559c8371e1e8] ./app/server/K(_ZN1K2FN7logExitENSt7__cxx1112basic_stringIcSt11char_traitsIcESaI cEEES6_i+0xc5)[0x559c8371d435] ./app/server/K(_ZN1K2GW6gwLoadENS_9mExchangeE+0x10a)[0x559c837414ea] ./app/server/K(_ZN1K2GW4loadEv+0x77)[0x559c837432e7] ./app/server/K(_ZN1K5Klass4waitEv+0xa)[0x559c8371938a] ./app/server/K(main+0xeb)[0x559c8370d98b] /lib64/libc.so.6(__libc_start_main+0xf5)[0x7fd5727bac05] ./app/server/K(_start+0x2a)[0x559c8370f0ca]
Yikes! please copy and paste the error above into a new github issue (noworry for dupli cates). If you agree, go to https://github.com/ctubio/Krypto-trading-bot/issues/new
./K.sh: line 139: 7724 Segmentation fault ./app/server/K --title ${0##*/} --port $UI_OPENPORT --user $UI_USERNAME --pass $UI_PASSWORD --exchange $API_EXCH ANGE --currency $API_CURRENCY --target $API_ORDERS_DESTINATION --apikey $API_KEY --secret $API_SECRET --passphrase $API_PASSPHRASE --username $API_USERNAME --ht tp $API_HTTP_ENDPOINT --wss $API_WSS_ENDPOINT --ws $API_WS_ENDPOINT $OPTIONAL_AR GUMENTS "$@" K crashed with exit code 139.. Respawning.. ^C [root@kripto K]#
Dan
I'm running on a minimal install Centos 7. I wonder if there is something that needs to be installed?
certs are validated against CA certs in /etc/ssl/certs
, gdax uses a new one so you may want to have updated your /etc/ssl/certs
folder (by updating openssl
) that is suposed to not be needed cos the app is precompiled, but is long time i dont test CentOS :S
I reinstalled openssl, reinstalled ca-certificates, did update-ca-trust, wget still complains
in the /etc/ssl/certs folder there is
ca-bundle.crt ca-bundle.trust.crt make-dummy-cert Makefile renew-dummy-cert.
Anything missing?
I'm not married to CentOS. What distro are you running on?
ok, one thing I found was that wget was not installed on my machine. But installing it did not make the error message go away...
im using Debian
lets close this just because i really have no idea how to fix this after already fixed it at https://github.com/ctubio/Krypto-trading-bot/issues/307; hope you agree :S
Yup. Plus I installed and ran last night on Ubuntu without problems, so Nevermind.
Still doesn't run on RHEL 7.4 K build x86_64-linux-gnu 2017-11-19 19:22:48. K version 0day. 00:13:57.378933 DB /data/db/K.3.ETH.USD.db loaded OK. 00:13:57.379075 UI ready over HTTP on external port 3000. 00:13:57.379292 QP Warrrrning: using default values for Quoting Parameters. 00:13:57.379336 DB loaded 0 historical Trades. 00:13:57.379364 DB loaded 0 STDEV Periods. 00:13:57.379387 DB loaded EWMA Long = 0.000000. 00:13:57.379393 DB loaded EWMA Medium = 0.000000. 00:13:57.379397 DB loaded EWMA Short = 0.000000. 00:13:57.379450 DB loaded TBP = 0.00000000 ETH. sh: /bin/pidof: No such file or directory Clients allowed=500 stunnel 4.56 on x86_64-redhat-linux-gnu platform Compiled with OpenSSL 1.0.1k-fips 8 Jan 2015 Running with OpenSSL 1.0.1e-fips 11 Feb 2013 Update OpenSSL shared libraries or rebuild stunnel Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP Reading configuration from file etc/K-stunnel.conf FIPS_mode_set: 2D06C06E: error:2D06C06E:FIPS routines:FIPS_module_mode_set:fingerprint does not match Line 7: "[gdax_stream]": Failed to initialize SSL str_stats: 3 block(s), 48 data byte(s), 174 control byte(s) 00:13:57.423354 JSON Warrrrning: wGet failed Peer certificate cannot be authenticated with given CA certificates. 00:13:57.423389 CF Errrror: Unable to fetch data from COINBASE symbol "ETH-USD". K crashed with exit code 1.. Respawning..
BTW here is $ time curl https://api.gdax.com/products/BTC-USD {"id":"BTC-USD","base_currency":"BTC","quote_currency":"USD","base_min_size":"0.01","base_max_size":"250","quote_increment":"0.01","display_name":"BTC/USD","status":"online","margin_enabled":false,"status_message":null} real 0m0.165s user 0m0.040s sys 0m0.056s
So I can say I have a darn fast connection
you can replace /bin/pidof by whatever your distro provides
OK made a symlink from /sbin/pidof to /bin/pidof, still doesn't run :cry: $ ./K.sh K build x86_64-linux-gnu 2017-11-21 01:40:17. K version 0day. 14:39:14.235802 DB /data/db/K.3.ETH.USD.db loaded OK. 14:39:14.235925 UI ready over HTTP on external port 3004. 14:39:14.236141 QP Warrrrning: using default values for Quoting Parameters. 14:39:14.236173 DB loaded 0 historical Trades. 14:39:14.236200 DB loaded 0 STDEV Periods. 14:39:14.236224 DB loaded EWMA Long = 0.000000. 14:39:14.236229 DB loaded EWMA Medium = 0.000000. 14:39:14.236233 DB loaded EWMA Short = 0.000000. 14:39:14.236259 DB loaded TBP = 0.00000000 ETH. 14:39:14.386621 JSON Warrrrning: wGet failed Peer certificate cannot be authenticated with given CA certificates. 14:39:14.386665 CF Errrror: Unable to fetch data from COINBASE symbol "ETH-USD". K crashed with exit code 1.. Respawning..
OK, I've did a
yum groupinstall "Development Tools"
as apparently I've been missing some packages. Then I did a sudo make dist. Now the output changed to the following:
$ ./K.sh --free-version K build x86_64-linux-gnu 2017-11-25 23:44:08. K version 0day. 00:51:08.257953 DB /data/db/K.3.ETH.USD.db loaded OK. 00:51:08.258072 UI ready over HTTP on external port 3004. 00:51:08.258286 QP Warrrrning: using default values for Quoting Parameters. 00:51:08.258323 DB loaded 0 historical Trades. 00:51:08.258354 DB loaded 0 STDEV Periods. 00:51:08.258378 DB loaded EWMA Long = 0.000000. 00:51:08.258384 DB loaded EWMA Medium = 0.000000. 00:51:08.258388 DB loaded EWMA Short = 0.000000. 00:51:08.258415 DB loaded TBP = 0.00000000 ETH. sh: line 0: kill: (23149) - Operation not permitted sh: line 0: kill: (23148) - Operation not permitted sh: line 0: kill: (23147) - Operation not permitted sh: line 0: kill: (23146) - Operation not permitted sh: line 0: kill: (23145) - Operation not permitted sh: line 0: kill: (23144) - Operation not permitted Clients allowed=500 stunnel 4.56 on x86_64-redhat-linux-gnu platform Compiled with OpenSSL 1.0.1k-fips 8 Jan 2015 Running with OpenSSL 1.0.1e-fips 11 Feb 2013 Update OpenSSL shared libraries or rebuild stunnel Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP Reading configuration from file etc/K-stunnel.conf FIPS mode is enabled Compression not enabled PRNG seeded successfully Initializing service [gdax_stream] Loaded verify certificates from etc/sslcert/fix.gdax.com.pem Loaded etc/sslcert/fix.gdax.com.pem revocation lookup file SSL options set: 0x03000004 Configuration successful Error binding service [gdax_stream] to 0.0.0.0:4199 bind: Address already in use (98) Closing service [gdax_stream] Service [gdax_stream] closed (FD=12) Sessions cached before flush: 0 Sessions cached after flush: 0 Service [gdax_stream] closed str_stats: 12 block(s), 1201 data byte(s), 696 control byte(s) 00:51:08.321400 JSON Warrrrning: wGet failed Peer certificate cannot be authenticated with given CA certificates. 00:51:08.321448 CF Errrror: Unable to fetch data from COINBASE symbol "ETH-USD". K crashed with exit code 1.. Respawning..
I can clearly see the
stunnel 4.56 on x86_64-redhat-linux-gnu platform Compiled with OpenSSL 1.0.1k-fips 8 Jan 2015 Running with OpenSSL 1.0.1e-fips 11 Feb 2013 Update OpenSSL shared libraries or rebuild stunnel
but when I do
$openssl version
OpenSSL 1.0.2m 2 Nov 2017
Why does K claim that it's running with OpenSSL 1.0.1e when I have 1.0.2m installed?
edit: stunnel information is correct
see build-*/local
folder, there you can find openssl version used by K (that may be different than the one in your system)
last time we saw the issue of missing certificates it was fixed with https://github.com/ctubio/Krypto-trading-bot/issues/307
hello:
tried to run K by issuing ./K.sh, get the following output:
login as: root root@192.168.1.37's password: Last login: Tue Oct 31 13:29:22 2017 from 192.168.1.119 [root@kripto ~]# mc
[root@kripto K]# yum install -y curl make vim Loaded plugins: fastestmirror base | 3.6 kB 00:00:00 extras | 3.4 kB 00:00:00 updates | 3.4 kB 00:00:01 (1/2): extras/7/x86_64/primary_db | 129 kB 00:00:03 (2/2): updates/7/x86_64/primary_db | 3.6 MB 00:01:43 Loading mirror speeds from cached hostfile
[root@kripto K]# vim K.sh [root@kripto K]# make start START K.sh DONE [root@kripto K]# make screen Detach screen hotkey: holding CTRL hit A then D [screen is terminating] [root@kripto K]# ^C [root@kripto K]# ^C [root@kripto K]# links
[root@kripto K]# make screen No Sockets found in /var/run/screen/S-root.
[root@kripto K]# make start START K.sh DONE [root@kripto K]# make screen Detach screen hotkey: holding CTRL hit A then D [detached from 5282.K.sh] [root@kripto K]# make screen Detach screen hotkey: holding CTRL hit A then D [detached from 5282.K.sh] [root@kripto K]# make stop STOP K.sh DONE [root@kripto K]# ./K.sh K build x86_64-linux-gnu 2017-10-30 23:11:48. K version unknown (zip install). 20:52:31.652710 DB /data/db/K.3.BTC.USD.db loaded OK. 20:52:31.654073 UI ready over HTTPS on external port 3000. 20:52:31.655107 DB loaded Quoting Parameters OR reading defaults instead. 20:52:31.655181 DB loaded 0 historical Trades. 20:52:31.655224 DB loaded 0 STDEV Periods. 20:52:31.655290 DB loaded EWMA Long = 0.000000. 20:52:31.655302 DB loaded EWMA Medium = 0.000000. 20:52:31.655312 DB loaded EWMA Short = 0.000000. 20:52:31.655393 DB loaded TBP = 0.00000000 BTC. sh: /bin/pidof: No such file or directory Clients allowed=500 stunnel 4.56 on x86_64-redhat-linux-gnu platform Compiled/running with OpenSSL 1.0.1e-fips 11 Feb 2013 Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP Reading configuration from file etc/K-stunnel.conf FIPS mode is enabled Compression not enabled PRNG seeded successfully Initializing service [gdax_stream] Loaded verify certificates from etc/sslcert/fix.gdax.com.pem Loaded etc/sslcert/fix.gdax.com.pem revocation lookup file SSL options set: 0x01000004 Configuration successful Error binding service [gdax_stream] to 0.0.0.0:4199 bind: Address already in use (98) Closing service [gdax_stream] Service [gdax_stream] closed (FD=12) Sessions cached before flush: 0 Sessions cached after flush: 0 Service [gdax_stream] closed str_stats: 12 block(s), 1201 data byte(s), 696 control byte(s) 20:52:32.032247 JSON Warrrrning: wGet failed Peer certificate cannot be authenticated with given CA certificates. 20:52:32.032403 CF Errrror: Unable to fetch data from COINBASE symbol "BTC-USD". 20:52:32.032465 Errrror: Signal 11 Segmentation fault (Three-Headed Monkey found). ./app/server/K(_ZN1K2EV6reportEv+0x1a)[0x55c9d93a51aa] ./app/server/K(_ZN1K2EV3wtfEi+0x41e)[0x55c9d93aa3ce] /lib64/libc.so.6(+0x35270)[0x7fce36e55270] ./app/server/K(_ZN3FIX9Initiator4stopEb+0x0)[0x55c9d9456310] ./app/server/K(_ZN1K2GW11happyEndingEi+0x78)[0x55c9d93a8e08] ./app/server/K(_ZN1K2FN7logExitENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_i+0xc5)[0x55c9d93a8055] ./app/server/K(_ZN1K2GW6gwLoadENS_9mExchangeE+0x9ab)[0x55c9d93cae8b] ./app/server/K(_ZN1K2GW4loadEv+0x7c)[0x55c9d93cbecc] ./app/server/K(_ZN1K5Klass4waitEv+0xa)[0x55c9d93a422a] ./app/server/K(main+0xeb)[0x55c9d939985b] /lib64/libc.so.6(__libc_start_main+0xf5)[0x7fce36e41c05] ./app/server/K(_start+0x2a)[0x55c9d939af6a]
Yikes! please copy and paste the error above into a new github issue (noworry for duplicates). If you agree, go to https://github.com/ctubio/Krypto-trading-bot/issues/new
./K.sh: line 139: 5803 Segmentation fault ./app/server/K --title ${0##*/} --port $UI_OPENPORT --user $UI_USERNAME --pass $UI_PASSWORD --exchange $API_EXCHANGE --currency $API_CURRENCY --target $API_ORDERS_DESTINATION --apikey $API_KEY --secret $API_SECRET --passphrase $API_PASSPHRASE --username $API_USERNAME --http $API_HTTP_ENDPOINT --wss $API_WSS_ENDPOINT --ws $API_WS_ENDPOINT $OPTIONAL_ARGUMENTS "$@" K crashed with exit code 139.. Respawning.. ^C [root@kripto K]# /bin/pidof -bash: /bin/pidof: No such file or directory [root@kripto K]# yum install sysvinit-tools Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile
_ZN3FIX9Initiator4stopEb+0x0' [root@kripto K]# ./app/server/K(_ZN1K2GW11happyEndingEi+0x78)[0x55c61dea1e08] -bash: syntax error near unexpected token
_ZN1K2GW11happyEndingEi+0x78' [root@kripto K]# ./app/server/K(_ZN1K2FN7logExitENSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_i+0xc5)[0x55c61dea1055] -bash: syntax error near unexpected token `_ZN1K2FN7logExitENSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_i+0xc5' [root@kripto K]# ./app/server/K(_ZN1K2GW6gwLoadENS_9mExchangeE+0x9ab)[0x55c61dec3e8b] -bash: syntax error near unexpected token_ZN1K2GW6gwLoadENS_9mExchangeE+0x9ab' [root@kripto K]# ./app/server/K(_ZN1K2GW4loadEv+0x7c)[0x55c61dec4ecc] -bash: syntax error near unexpected token
_ZN1K2GW4loadEv+0x7c' [root@kripto K]# ./app/server/K(_ZN1K5Klass4waitEv+0xa)[0x55c61de9d22a] -bash: syntax error near unexpected token_ZN1K5Klass4waitEv+0xa' [root@kripto K]# ./app/server/K(main+0xeb)[0x55c61de9285b] -bash: syntax error near unexpected token
main+0xeb' [root@kripto K]# /lib64/libc.so.6(libc_start_main+0xf5)[0x7f654d0e1c05] -bash: syntax error near unexpected token `libc_start_main+0xf5' [root@kripto K]# ./app/server/K(_start+0x2a)[0x55c61de93f6a] -bash: syntax error near unexpected token_start+0x2a' [root@kripto K]# [root@kripto K]# Yikes! -bash: Yikes!: command not found [root@kripto K]# please copy and paste the error above into a new github issue (noworry for duplicates). -bash: syntax error near unexpected token
(' [root@kripto K]#[root@kripto K]# ./K.sh K build x86_64-linux-gnu 2017-10-30 23:11:48. K version unknown (zip install). 20:56:33.260350 DB /data/db/K.3.BTC.USD.db loaded OK. 20:56:33.261671 UI ready over HTTPS on external port 3000. 20:56:33.262755 DB loaded Quoting Parameters OR reading defaults instead. 20:56:33.262829 DB loaded 0 historical Trades. 20:56:33.262872 DB loaded 0 STDEV Periods. 20:56:33.262936 DB loaded EWMA Long = 0.000000. 20:56:33.262948 DB loaded EWMA Medium = 0.000000. 20:56:33.262957 DB loaded EWMA Short = 0.000000. 20:56:33.263033 DB loaded TBP = 0.00000000 BTC. sh: /bin/pidof: No such file or directory Clients allowed=500 stunnel 4.56 on x86_64-redhat-linux-gnu platform Compiled/running with OpenSSL 1.0.1e-fips 11 Feb 2013 Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP Reading configuration from file etc/K-stunnel.conf FIPS mode is enabled Compression not enabled PRNG seeded successfully Initializing service [gdax_stream] Loaded verify certificates from etc/sslcert/fix.gdax.com.pem Loaded etc/sslcert/fix.gdax.com.pem revocation lookup file SSL options set: 0x01000004 Configuration successful Error binding service [gdax_stream] to 0.0.0.0:4199 bind: Address already in use (98) Closing service [gdax_stream] Service [gdax_stream] closed (FD=12) Sessions cached before flush: 0 Sessions cached after flush: 0 Service [gdax_stream] closed str_stats: 12 block(s), 1201 data byte(s), 696 control byte(s) 20:56:33.472246 JSON Warrrrning: wGet failed Peer certificate cannot be authenticated with given CA certificates. 20:56:33.472393 CF Errrror: Unable to fetch data from COINBASE symbol "BTC-USD". 20:56:33.472455 Errrror: Signal 11 Segmentation fault (Three-Headed Monkey found). ./app/server/K(_ZN1K2EV6reportEv+0x1a)[0x55e90ebc61aa] ./app/server/K(_ZN1K2EV3wtfEi+0x41e)[0x55e90ebcb3ce] /lib64/libc.so.6(+0x35270)[0x7f116e73b270] ./app/server/K(_ZN3FIX9Initiator4stopEb+0x0)[0x55e90ec77310] ./app/server/K(_ZN1K2GW11happyEndingEi+0x78)[0x55e90ebc9e08] ./app/server/K(_ZN1K2FN7logExitENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_i+0xc5)[0x55e90ebc9055] ./app/server/K(_ZN1K2GW6gwLoadENS_9mExchangeE+0x9ab)[0x55e90ebebe8b] ./app/server/K(_ZN1K2GW4loadEv+0x7c)[0x55e90ebececc] ./app/server/K(_ZN1K5Klass4waitEv+0xa)[0x55e90ebc522a] ./app/server/K(main+0xeb)[0x55e90ebba85b] /lib64/libc.so.6(__libc_start_main+0xf5)[0x7f116e727c05] ./app/server/K(_start+0x2a)[0x55e90ebbbf6a]
Yikes! please copy and paste the error above into a new github issue (noworry for duplicates). If you agree, go to https://github.com/ctubio/Krypto-trading-bot/issues/new
^C 20:56:34.613536 JSON Warrrrning: wGet failed Peer certificate cannot be authenticated with given CA certificates. 20:56:34.613634 Excellent decision! let's plant a tree instead.. ./K.sh: line 139: 5843 Segmentation fault ./app/server/K --title ${0##*/} --port $UI_OPENPORT --user $UI_USERNAME --pass $UI_PASSWORD --exchange $API_EXCHANGE --currency $API_CURRENCY --target $API_ORDERS_DESTINATION --apikey $API_KEY --secret $API_SECRET --passphrase $API_PASSPHRASE --username $API_USERNAME --http $API_HTTP_ENDPOINT --wss $API_WSS_ENDPOINT --ws $API_WS_ENDPOINT $OPTIONAL_ARGUMENTS "$@" K crashed with exit code 139.. Respawning.. ^C [root@kripto K]# ^C [root@kripto K]# netstat -tulpn | grep LISTEN -bash: netstat: command not found [root@kripto K]# pkgfile netstat -bash: pkgfile: command not found [root@kripto K]# lsof -i -P -n | grep LISTEN -bash: lsof: command not found [root@kripto K]# yum whatprovides netstat Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile
Dependencies Resolved
================================================================================================================================= Package Arch Version Repository Size
Installing: net-tools x86_64 2.0-0.22.20131004git.el7 base 305 k
Transaction Summary
Install 1 Package
Total download size: 305 k Installed size: 917 k Is this ok [y/d/N]: y Downloading packages: net-tools-2.0-0.22.20131004git.el7.x86_64.rpm | 305 kB 00:00:02 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : net-tools-2.0-0.22.20131004git.el7.x86_64 1/1 Verifying : net-tools-2.0-0.22.20131004git.el7.x86_64 1/1
Installed: net-tools.x86_64 0:2.0-0.22.20131004git.el7
Complete! [root@kripto K]# netstat Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 kripto.office.grm:42506 centos.blazar.mx:http TIME_WAIT tcp 0 0 kripto.office.grm:42650 mirror.teklinks.co:http TIME_WAIT tcp 0 0 kripto.office.grm:52150 mirror.cs.vt.edu:http TIME_WAIT tcp 0 0 kripto.office.grm:54872 50.228.19.71.in-ad:http TIME_WAIT tcp 0 0 kripto.office.grm:40630 104.222.16.60:http TIME_WAIT tcp 0 0 kripto.office.grm:44394 distro.ibiblio.org:http TIME_WAIT tcp 0 0 kripto.office.grm:44554 mirror.trouble-fre:http TIME_WAIT tcp 0 64 kripto.office.grmco:ssh 192.168.1.119:60762 ESTABLISHED tcp 0 0 kripto.office.grm:47764 46.229.166.133:http TIME_WAIT tcp 0 0 kripto.office.grm:54176 mail.raystedman.ne:http TIME_WAIT tcp 0 0 kripto.office.grm:36664 reflector.westga.e:http TIME_WAIT tcp 0 0 kripto.office.grm:35858 mirror.math.prince:http TIME_WAIT tcp 0 0 kripto.office.grm:53234 thor.cc.lehigh.edu:http TIME_WAIT tcp 0 0 kripto.office.grm:46936 mirror.cogentco.co:http TIME_WAIT tcp 0 0 kripto.office.grm:40314 234.232.19.71.in-a:http TIME_WAIT tcp 0 0 kripto.office.grm:36640 reflector.westga.e:http TIME_WAIT tcp 0 0 kripto.office.grm:59966 161-54-13-69.cust.:http TIME_WAIT tcp 0 0 kripto.office.grm:55244 hpc-mirror.usc.edu:http TIME_WAIT tcp 0 0 kripto.office.grm:35876 mirror.math.prince:http TIME_WAIT tcp 0 0 kripto.office.grm:34744 mirrors.syringanet:http TIME_WAIT tcp 0 0 kripto.office.grm:42262 mirror.hostduplex.:http TIME_WAIT Active UNIX domain sockets (w/o servers) Proto RefCnt Flags Type State I-Node Path unix 2 [ ] DGRAM 12242 /run/systemd/shutdownd unix 2 [ ] DGRAM 7913 /run/systemd/notify unix 2 [ ] DGRAM 7915 /run/systemd/cgroups-agent unix 5 [ ] DGRAM 7932 /run/systemd/journal/socket unix 14 [ ] DGRAM 7934 /dev/log unix 3 [ ] STREAM CONNECTED 16924 unix 3 [ ] STREAM CONNECTED 16925 unix 2 [ ] DGRAM 15129 unix 2 [ ] DGRAM 67789 unix 2 [ ] DGRAM 63433 unix 3 [ ] STREAM CONNECTED 13835 unix 3 [ ] STREAM CONNECTED 13712 unix 3 [ ] STREAM CONNECTED 16927 unix 3 [ ] STREAM CONNECTED 16880 unix 3 [ ] STREAM CONNECTED 16928 unix 3 [ ] STREAM CONNECTED 13713 unix 3 [ ] STREAM CONNECTED 16915 unix 3 [ ] STREAM CONNECTED 14330 /var/run/dbus/system_bus_socket unix 3 [ ] STREAM CONNECTED 16946 unix 3 [ ] STREAM CONNECTED 16916 unix 3 [ ] STREAM CONNECTED 16949 unix 2 [ ] DGRAM 13650 unix 3 [ ] STREAM CONNECTED 16948 unix 3 [ ] STREAM CONNECTED 16918 unix 3 [ ] STREAM CONNECTED 16951 unix 3 [ ] STREAM CONNECTED 16919 unix 3 [ ] STREAM CONNECTED 16921 unix 2 [ ] DGRAM 64673 unix 3 [ ] STREAM CONNECTED 16952 unix 3 [ ] STREAM CONNECTED 16922 unix 3 [ ] STREAM CONNECTED 14329 unix 3 [ ] STREAM CONNECTED 16883 unix 3 [ ] STREAM CONNECTED 16939 unix 3 [ ] STREAM CONNECTED 16940 unix 3 [ ] STREAM CONNECTED 14493 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 16942 unix 3 [ ] STREAM CONNECTED 16658 unix 3 [ ] STREAM CONNECTED 16943 unix 3 [ ] STREAM CONNECTED 13652 unix 3 [ ] STREAM CONNECTED 16945 unix 3 [ ] STREAM CONNECTED 16930 unix 3 [ ] STREAM CONNECTED 16931 unix 3 [ ] STREAM CONNECTED 16659 /var/run/dbus/system_bus_socket unix 2 [ ] DGRAM 64420 unix 3 [ ] STREAM CONNECTED 16933 unix 3 [ ] STREAM CONNECTED 13651 unix 3 [ ] STREAM CONNECTED 16934 unix 2 [ ] STREAM CONNECTED 63436 unix 3 [ ] STREAM CONNECTED 16936 unix 3 [ ] STREAM CONNECTED 16881 unix 2 [ ] STREAM CONNECTED 63434 unix 3 [ ] STREAM CONNECTED 16937 unix 2 [ ] STREAM CONNECTED 63442 unix 3 [ ] STREAM CONNECTED 14139 /var/run/dbus/system_bus_socket unix 3 [ ] STREAM CONNECTED 16900 unix 3 [ ] STREAM CONNECTED 16348 unix 2 [ ] DGRAM 14692 unix 3 [ ] STREAM CONNECTED 14189 unix 3 [ ] STREAM CONNECTED 14539 unix 2 [ ] DGRAM 16872 unix 3 [ ] STREAM CONNECTED 16894 unix 3 [ ] STREAM CONNECTED 16897 unix 3 [ ] STREAM CONNECTED 14122 /var/run/dbus/system_bus_socket unix 3 [ ] STREAM CONNECTED 14609 unix 3 [ ] STREAM CONNECTED 16895 unix 3 [ ] STREAM CONNECTED 14042 /run/systemd/journal/stdout unix 3 [ ] DGRAM 12719 unix 2 [ ] DGRAM 14167 unix 3 [ ] STREAM CONNECTED 16299 unix 2 [ ] DGRAM 12706 unix 3 [ ] STREAM CONNECTED 16887 unix 3 [ ] STREAM CONNECTED 16526 /run/systemd/journal/stdout unix 2 [ ] DGRAM 14130 unix 2 [ ] DGRAM 14249 unix 3 [ ] STREAM CONNECTED 16888 unix 3 [ ] STREAM CONNECTED 9950 /run/systemd/journal/stdout unix 2 [ ] STREAM CONNECTED 63440 unix 3 [ ] STREAM CONNECTED 16891 unix 3 [ ] STREAM CONNECTED 10021 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 16890 unix 3 [ ] STREAM CONNECTED 12702 unix 3 [ ] STREAM CONNECTED 16907 unix 3 [ ] STREAM CONNECTED 14445 unix 3 [ ] STREAM CONNECTED 14555 unix 3 [ ] STREAM CONNECTED 16910 unix 3 [ ] STREAM CONNECTED 12636 unix 2 [ ] DGRAM 17864 unix 3 [ ] STREAM CONNECTED 16909 unix 2 [ ] DGRAM 14544 unix 3 [ ] STREAM CONNECTED 14766 unix 3 [ ] STREAM CONNECTED 14190 /var/run/dbus/system_bus_socket unix 3 [ ] STREAM CONNECTED 16912 unix 3 [ ] STREAM CONNECTED 16300 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 16884 unix 3 [ ] STREAM CONNECTED 14150 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 14540 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 16913 unix 3 [ ] STREAM CONNECTED 14556 /var/run/dbus/system_bus_socket unix 3 [ ] STREAM CONNECTED 13701 /run/systemd/journal/stdout unix 3 [ ] STREAM CONNECTED 16898 unix 2 [ ] STREAM CONNECTED 63438 unix 3 [ ] STREAM CONNECTED 16901 unix 3 [ ] STREAM CONNECTED 16904 unix 3 [ ] STREAM CONNECTED 13714 /var/run/dbus/system_bus_socket unix 3 [ ] STREAM CONNECTED 16903 unix 3 [ ] STREAM CONNECTED 14401 unix 3 [ ] STREAM CONNECTED 16906 unix 3 [ ] STREAM CONNECTED 14708 unix 3 [ ] STREAM CONNECTED 14815 unix 3 [ ] DGRAM 12718 unix 2 [ ] DGRAM 14562 [root@kripto K]# netstat -tulpn | grep LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0: LISTEN 938/sshd tcp 0 0 127.0.0.1:25 0.0.0.0: LISTEN 1039/master tcp 0 0 0.0.0.0:4199 0.0.0.0: LISTEN 4873/stunnel tcp6 0 0 :::22 ::: LISTEN 938/sshd tcp6 0 0 ::1:25 :::* LISTEN 1039/master [root@kripto K]# vim K.sh [root@kripto K]# ./K.sh K build x86_64-linux-gnu 2017-10-30 23:11:48. K version unknown (zip install). 21:07:16.350625 DB /data/db/K.3.BTC.USD.db loaded OK. 21:07:16.352280 UI ready over HTTPS on external port 3000. 21:07:16.353286 DB loaded Quoting Parameters OR reading defaults instead. 21:07:16.353361 DB loaded 0 historical Trades. 21:07:16.353405 DB loaded 0 STDEV Periods. 21:07:16.353471 DB loaded EWMA Long = 0.000000. 21:07:16.353482 DB loaded EWMA Medium = 0.000000. 21:07:16.353492 DB loaded EWMA Short = 0.000000. 21:07:16.353571 DB loaded TBP = 0.00000000 BTC. sh: /bin/pidof: No such file or directory Clients allowed=500 stunnel 4.56 on x86_64-redhat-linux-gnu platform Compiled/running with OpenSSL 1.0.1e-fips 11 Feb 2013 Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS Auth:LIBWRAP Reading configuration from file etc/K-stunnel.conf FIPS mode is enabled Compression not enabled PRNG seeded successfully Initializing service [gdax_stream] Loaded verify certificates from etc/sslcert/fix.gdax.com.pem Loaded etc/sslcert/fix.gdax.com.pem revocation lookup file SSL options set: 0x01000004 Configuration successful Error binding service [gdax_stream] to 0.0.0.0:4199 bind: Address already in use (98) Closing service [gdax_stream] Service [gdax_stream] closed (FD=12) Sessions cached before flush: 0 Sessions cached after flush: 0 Service [gdax_stream] closed str_stats: 12 block(s), 1201 data byte(s), 696 control byte(s) 21:07:20.297430 JSON Warrrrning: wGet failed Peer certificate cannot be authenticated with given CA certificates. 21:07:20.297624 CF Errrror: Unable to fetch data from COINBASE symbol "BTC-USD". 21:07:20.297746 Errrror: Signal 11 Segmentation fault (Three-Headed Monkey found). ./app/server/K(_ZN1K2EV6reportEv+0x1a)[0x556f488511aa] ./app/server/K(_ZN1K2EV3wtfEi+0x41e)[0x556f488563ce] /lib64/libc.so.6(+0x35270)[0x7fc3ebcc7270] ./app/server/K(_ZN3FIX9Initiator4stopEb+0x0)[0x556f48902310] ./app/server/K(_ZN1K2GW11happyEndingEi+0x78)[0x556f48854e08] ./app/server/K(_ZN1K2FN7logExitENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_i+0xc5)[0x556f48854055] ./app/server/K(_ZN1K2GW6gwLoadENS_9mExchangeE+0x9ab)[0x556f48876e8b] ./app/server/K(_ZN1K2GW4loadEv+0x7c)[0x556f48877ecc] ./app/server/K(_ZN1K5Klass4waitEv+0xa)[0x556f4885022a] ./app/server/K(main+0xeb)[0x556f4884585b] /lib64/libc.so.6(__libc_start_main+0xf5)[0x7fc3ebcb3c05] ./app/server/K(_start+0x2a)[0x556f48846f6a]
Yikes! please copy and paste the error above into a new github issue (noworry for duplicates). If you agree, go to https://github.com/ctubio/Krypto-trading-bot/issues/new
./K.sh: line 139: 5948 Segmentation fault ./app/server/K --title ${0##*/} --port $UI_OPENPORT --user $UI_USERNAME --pass $UI_PASSWORD --exchange $API_EXCHANGE --currency $API_CURRENCY --target $API_ORDERS_DESTINATION --apikey $API_KEY --secret $API_SECRET --passphrase $API_PASSPHRASE --username $API_USERNAME --http $API_HTTP_ENDPOINT --wss $API_WSS_ENDPOINT --ws $API_WS_ENDPOINT $OPTIONAL_ARGUMENTS "$@" K crashed with exit code 139.. Respawning.. ^C [root@kripto K]# [root@kripto K]# /bin/pidof -bash: /bin/pidof: No such file or directory [root@kripto K]# cd /bin/pidof -bash: cd: /bin/pidof: No such file or directory [root@kripto K]# cd /bin [root@kripto bin]# ls [ gcc-ranlib msgexec setleds a2p gcore msgfilter setmetamode aclocal gcov msgfmt setpriv aclocal-1.13 gdb msggrep setsid addr2line gdb-add-index msghack setterm alias gdbus msginit setup-nsssysinit animate gdk-pixbuf-query-loaders-64 msgmerge setup-nsssysinit.sh applydeltarpm gdk-pixbuf-thumbnailer msgunfmt setvtrgb apropos gencat msguniq sexp-conv ar gendiff mv sftp arch genl-ctrl-list namei sg as geoiplookup ndptool sh aserver geoiplookup6 neqn sha1sum aulast geoipupdate netstat sha224sum aulastlog geqn nettle-hash sha256sum ausyscall getconf nettle-lfib-stream sha384sum autoconf getent newaliases sha512sum autoheader getfacl newaliases.postfix showconsolefont autom4te getkeycodes newgrp showkey automake getopt nf-ct-add shred automake-1.13 getopts nf-ct-list shuf autopoint gettext nf-exp-add signtool autoreconf gettextize nf-exp-delete signver autoscan gettext.sh nf-exp-list size autoupdate gfortran nf-log skill auvirt ghostscript nf-monitor slabtop awk gio nf-queue sleep base64 gio-querymodules-64 ngettext slogin basename git nice snice bash git-receive-pack nisdomainname soelim bashbug git-shell nl sort bashbug-64 git-upload-archive nl-addr-add sotruss bdftopcf git-upload-pack nl-addr-delete splain bdftruncate glib-compile-schemas nl-addr-list split bg gmake nl-class-add splitdiff bison gneqn nl-class-delete sprof bond2team gnroff nl-classid-lookup sqlite3 bootctl gpasswd nl-class-list ssh bunzip2 gpg nl-cls-add ssh-add busctl gpg2 nl-cls-delete ssh-agent byacc gpg-agent nl-cls-list ssh-copy-id bzcat gpgconf nl-fib-lookup ssh-keygen bzcmp gpg-connect-agent nl-link-enslave ssh-keyscan bzdiff gpg-error nl-link-ifindex2name ssltap bzgrep gpgparsemail nl-link-list stap bzip2 gpgsplit nl-link-name2ifindex stapdyn bzip2recover gpgv nl-link-release stap-merge bzless gpgv2 nl-link-set stap-prep bzmore gpg-zip nl-link-stats stap-report c++ gpic nl-list-caches staprun c2ph gprof nl-list-sockets stapsh c89 gr2fonttest nl-monitor stat c99 grep nl-neigh-add stdbuf cairo-sphinx grepdiff nl-neigh-delete stream cal groff nl-neigh-list strings ca-legacy grops nl-neightbl-list strip captoinfo grotty nl-pktloc-lookup stty cat groups nl-qdisc-add stunnel catchsegv grub2-editenv nl-qdisc-delete su catman grub2-file nl-qdisc-list sudo cc grub2-fstest nl-route-add sudoedit ccache-swig grub2-glue-efi nl-route-delete sudoreplay cd grub2-kbdcomp nl-route-get sum centrino-decode grub2-menulst2cfg nl-route-list svn certutil grub2-mkfont nl-rule-list svnadmin c++filt grub2-mkimage nl-tctree-list svndumpfilter chacl grub2-mklayout nl-util-addr svnlook chage grub2-mknetdir nm svnrdump chattr grub2-mkpasswd-pbkdf2 nmcli svnserve chcon grub2-mkrelpath nm-online svnsync chfn grub2-mkrescue nmtui svnversion chgrp grub2-mkstandalone nmtui-connect swig chmod grub2-render-label nmtui-edit sync chown grub2-script-check nmtui-hostname systemctl chrt grub2-syslinux2cfg nohup systemd-analyze chsh gs nproc systemd-ask-password chvt gsbj nroff systemd-cat ci gsdj nsenter systemd-cgls cksum gsdj500 numfmt systemd-cgtop clear gsettings objcopy systemd-coredumpctl cmp gslj objdump systemd-delta cmsutil gslp ocs systemd-detect-virt co gsnd od systemd-escape col gsoelim oldfind systemd-firstboot colcrt gstack open systemd-hwdb colrm gtar openssl systemd-inhibit column gtbl openvt systemd-loginctl combinedeltarpm gtroff os-prober systemd-machine-id-setup combinediff gunzip p11-kit systemd-notify comm gzexe pango-view systemd-nspawn command gzip passwd systemd-path compare h2ph paste systemd-run composite hdsploader patch systemd-stdio-bridge conjure head pathchk systemd-sysv-convert convert hexdump pchrt systemd-tmpfiles coredumpctl hostid pdf2dsc systemd-tty-ask-password-agent cp hostname pdf2ps tabs cpio hostnamectl perl tac cpp i386 perl5.16.3 tail cpupower iconv perlbug tailf crlutil id perldoc tar crontab ident perlthanks taskset cscope identify pf2afm tbl cscope-indexer idiag-socket-details pfbtopfa teamd csplit idn pflags teamdctl csslint-0.6 ifnames pgawk teamnl ctags igawk pgrep tee curl import pic test cut indent piconv testgdbm date info pinentry tic db_archive infocmp pinentry-curses timedatectl db_checkpoint infokey ping timeout db_deadlock infotocap ping6 tload db_dump install pinky tmon db_dump185 interdiff pk12util toe db_hotbackup intltool-extract pkaction top db_load intltoolize pkcheck touch db_log_verify intltool-merge pkcs1-conv tput db_printlog intltool-prepare pkexec tr db_recover intltool-update pkg-config tracepath db_replicate ionice pkill tracepath6 db_stat ipcalc pkla-admin-identities troff db_tuner ipcmk pkla-check-authorization true db_upgrade ipcrm pkttyagent truncate dbus-binding-tool ipcs pl2pm trust dbus-cleanup-sockets iptables-xml pldd tset dbus-daemon isosize plymouth tsort dbus-monitor jobs pmap tty dbus-send join pod2html turbostat dbus-uuidgen journalctl pod2man tzselect db_verify js pod2text ucs2any dd kbdinfo pod2usage udevadm deallocvt kbd_mode post-grohtml ul dehtmldiff kbdrate powernow-k8-decode umask df kdumpctl pphs umount dgawk kernel-install pr unalias diff kill preconv uname diff3 kmod pre-grohtml unexpand diffstat last printafm unicode_start dir lastb printenv unicode_stop dircolors lastlog printf uniq dirname lchfn prlimit unix-lpr.sh display lchsh prove unlink dmesg ld ps unshare dnsdomainname ld.bfd ps2ascii unwrapdiff domainname ldd ps2epsi unxz doxygen ld.gold ps2pdf unzip dracut less ps2pdf12 unzipsfx du lessecho ps2pdf13 update-ca-trust dumpkeys lesskey ps2pdf14 update-mime-database dvipdf lesspipe.sh ps2pdfwr uptime dwp lex ps2ps urlgrabber dwz lexgrog ps2ps2 users echo libtool psed usleep editdiff libtoolize psfaddtable usx2yloader egrep link psfgettable utmpdump eject links psfstriptable uuidgen elfedit linux32 psfxtable vdir elinks linux64 pstack vi env linux-boot-prober pstruct view envsubst ln ptaskset vim eps2eps loadkeys ptx vimdiff eqn loadunimap pwd vimtutor espdiff locale pwdx vlock eu-addr2line localectl pwmake vmstat eu-ar localedef pwscore vxloader eu-elfcmp logger pydoc w eu-elfcompress login python wait eu-elflint loginctl python2 wall eu-findtextrel logname python2.7 watch eu-make-debug-archive look ranlib watchgnupg eu-nm lprsetup.sh raw wc eu-objdump ls rcs wdctl eu-ranlib lsattr rcsclean wftopfa eu-readelf lsblk rcsdiff whatis eu-size lscpu rcsfreeze whereis eu-stack lsdiff rcsmerge which eu-strings lsinitrd read whiptail eu-strip lsipc readelf who eu-unstrip lslocks readlink whoami ex lslogins realpath write expand lsns recode-sr-latin x86_64 expr lsscsi recountdiff x86_64-redhat-linux-c++ f95 lua rediff x86_64-redhat-linux-g++ factor luac rename x86_64-redhat-linux-gcc fallocate m4 renice x86_energy_perf_policy false machinectl reset xargs fc mailq resizecons xgettext fc-cache mailq.postfix rev xml2-config fc-cat make rlog xmlcatalog fc-list makedb rm xmllint fc-match makedeltarpm rmail xmlwf fc-pattern man rmail.postfix xorg-x11-fonts-update-dirs fc-query mandb rmdir xxd fc-scan manpath rpcgen xz fc-validate mapscrn rpm xzcat fg mc rpm2cpio xzcmp fgconsole mcdiff rpmbuild xzdec fgrep mcedit rpmdb xzdiff file mcookie rpmdumpheader xzegrep filterdiff mcview rpmkeys xzfgrep find md5sum rpmquery xzgrep find2perl merge rpmsign xzless findmnt mesg rpmspec xzmore fipscheck mixartloader rpmverify yacc fipshmac mkdir rsync yes firewall-cmd mkfifo rsyslog-recover-qi.pl ypdomainname firewall-offline-cmd mkfontdir runcon yum fixcvsdiff mkfontscale run-parts zcat flex mkinitrd rvi zcmp flex++ mknod rview zdiff flipdiff mktemp rvim zegrep flock modutil s2p zfgrep fmt mogrify scp zforce fold mokutil screen zgrep font2c montage script zip fonttosfnt more scriptreplay zipcloak free mount sdiff zipgrep funzip mountpoint secon zipinfo g++ msgattrib sed zipnote gapplication msgcat seq zipsplit gawk msgcmp setarch zless gcc msgcomm setfacl zmore gcc-ar msgconv setfont znew gcc-nm msgen setkeycodes zsoelim [root@kripto bin]# yum install pidof Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile
[root@kripto bin]# which pidof /usr/sbin/pidof [root@kripto bin]# ln -s /usr/sbin/pidof /bin/pidof [root@kripto bin]# /bin/pidof [root@kripto bin]# pidof stunnel 4873 [root@kripto bin]# cd . [root@kripto bin]# cd .. [root@kripto /]# cd /usr/src/K [root@kripto K]# ls app build-x86_64-linux-gnu COPYING etc K.sh LICENSE Makefile MANUAL.md README.md src THANKS [root@kripto K]# ./K.sh K build x86_64-linux-gnu 2017-10-30 23:11:48. K version unknown (zip install). 21:14:14.724230 DB /data/db/K.3.BTC.USD.db loaded OK. 21:14:14.725481 UI ready over HTTPS on external port 3000. 21:14:14.726447 DB loaded Quoting Parameters OR reading defaults instead. 21:14:14.726518 DB loaded 0 historical Trades. 21:14:14.726561 DB loaded 0 STDEV Periods. 21:14:14.726625 DB loaded EWMA Long = 0.000000. 21:14:14.726665 DB loaded EWMA Medium = 0.000000. 21:14:14.726676 DB loaded EWMA Short = 0.000000. 21:14:14.726757 DB loaded TBP = 0.00000000 BTC. 21:14:15.662104 JSON Warrrrning: wGet failed Peer certificate cannot be authenticated with given CA certificates. 21:14:15.662291 CF Errrror: Unable to fetch data from COINBASE symbol "BTC-USD". 21:14:15.662365 Errrror: Signal 11 Segmentation fault (Three-Headed Monkey found). ./app/server/K(_ZN1K2EV6reportEv+0x1a)[0x559dd1d891aa] ./app/server/K(_ZN1K2EV3wtfEi+0x41e)[0x559dd1d8e3ce] /lib64/libc.so.6(+0x35270)[0x7f3bc3b7a270] ./app/server/K(_ZN3FIX9Initiator4stopEb+0x0)[0x559dd1e3a310] ./app/server/K(_ZN1K2GW11happyEndingEi+0x78)[0x559dd1d8ce08] ./app/server/K(_ZN1K2FN7logExitENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_i+0xc5)[0x559dd1d8c055] ./app/server/K(_ZN1K2GW6gwLoadENS_9mExchangeE+0x9ab)[0x559dd1daee8b] ./app/server/K(_ZN1K2GW4loadEv+0x7c)[0x559dd1dafecc] ./app/server/K(_ZN1K5Klass4waitEv+0xa)[0x559dd1d8822a] ./app/server/K(main+0xeb)[0x559dd1d7d85b] /lib64/libc.so.6(__libc_start_main+0xf5)[0x7f3bc3b66c05] ./app/server/K(_start+0x2a)[0x559dd1d7ef6a]
Yikes! please copy and paste the error above into a new github issue (noworry for duplicates). If you agree, go to https://github.com/ctubio/Krypto-trading-bot/issues/new
./K.sh: line 139: 6040 Segmentation fault ./app/server/K --title ${0##*/} --port $UI_OPENPORT --user $UI_USERNAME --pass $UI_PASSWORD --exchange $API_EXCHANGE --currency $API_CURRENCY --target $API_ORDERS_DESTINATION --apikey $API_KEY --secret $API_SECRET --passphrase $API_PASSPHRASE --username $API_USERNAME --http $API_HTTP_ENDPOINT --wss $API_WSS_ENDPOINT --ws $API_WS_ENDPOINT $OPTIONAL_ARGUMENTS "$@" K crashed with exit code 139.. Respawning.. ^C [root@kripto K]# yum install ntp Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile
Dependencies Resolved
================================================================================================================================= Package Arch Version Repository Size
Installing: ntp x86_64 4.2.6p5-25.el7.centos.2 base 547 k Installing for dependencies: autogen-libopts x86_64 5.18-5.el7 base 66 k ntpdate x86_64 4.2.6p5-25.el7.centos.2 base 86 k
Transaction Summary
Install 1 Package (+2 Dependent packages)
Total download size: 699 k Installed size: 1.6 M Is this ok [y/d/N]: y Downloading packages: (1/3): autogen-libopts-5.18-5.el7.x86_64.rpm | 66 kB 00:00:00 (2/3): ntp-4.2.6p5-25.el7.centos.2.x86_64.rpm | 547 kB 00:00:04 (3/3): ntpdate-4.2.6p5-25.el7.centos.2.x86_64.rpm | 86 kB 00:00:05
Total 131 kB/s | 699 kB 00:00:05 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : autogen-libopts-5.18-5.el7.x86_64 1/3 Installing : ntpdate-4.2.6p5-25.el7.centos.2.x86_64 2/3 Installing : ntp-4.2.6p5-25.el7.centos.2.x86_64 3/3 Verifying : ntp-4.2.6p5-25.el7.centos.2.x86_64 1/3 Verifying : ntpdate-4.2.6p5-25.el7.centos.2.x86_64 2/3 Verifying : autogen-libopts-5.18-5.el7.x86_64 3/3
Installed: ntp.x86_64 0:4.2.6p5-25.el7.centos.2
Dependency Installed: autogen-libopts.x86_64 0:5.18-5.el7 ntpdate.x86_64 0:4.2.6p5-25.el7.centos.2
Complete! [root@kripto K]# ntp 0.us.pool.ntp.org -bash: ntp: command not found [root@kripto K]# ntpd 0.us.pool.ntp.org ntpd: Command line arguments are not allowed. ntpd - NTP daemon program - Ver. 4.2.6p5 Usage: ntpd [ - [] | --[{=| }] ]...
Try 'ntpd --help' for more information.
exit 1 [root@kripto K]# ntpd --help ntpd - NTP daemon program - Ver. 4.2.6p5 Usage: ntpd [ - [] | --[{=| }] ]...
Flg Arg Option-Name Description
-4 no ipv4 Force IPv4 DNS name resolution
Options are specified by doubled hyphens and their name or by a single hyphen and the flag character.
The following option preset mechanisms are supported:
Please send bug reports to: <http://bugs.ntp.org, bugs@ntp.org>
exit 0 [root@kripto K]# systemctl start ntpd [root@kripto K]# systemctl enable ntpd Created symlink from /etc/systemd/system/multi-user.target.wants/ntpd.service to /usr/lib/systemd/system/ntpd.service. [root@kripto K]# vim /etc/ntp.conf [root@kripto K]# ntpq -p remote refid st t when poll reach delay offset jitter
+y.ns.gin.ntt.ne 249.224.99.213 2 u 37 64 1 6.674 -2.088 1.686 *palpatine.steve 132.239.1.6 2 u 36 64 1 18.310 -1.099 1.669 triton.ellipse. 204.9.54.119 2 u 3 64 1 61.897 -0.423 0.218 +45.77.99.195.vu 19.50.153.240 3 u 10 64 3 71.568 -0.453 2.467 [root@kripto K]# date Sat Nov 4 17:37:24 EDT 2017 [root@kripto K]# yum install ca-certificates Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile
Yikes! please copy and paste the error above into a new github issue (noworry for duplicates). If you agree, go to https://github.com/ctubio/Krypto-trading-bot/issues/new
^C
^C 21:38:50.735049 JSON Warrrrning: wGet failed Timeout was reached. 21:38:50.735197 Excellent decision! let's plant a tree instead.. ./K.sh: line 139: 6184 Segmentation fault ./app/server/K --title ${0##*/} --port $UI_OPENPORT --user $UI_USERNAME --pass $UI_PASSWORD --exchange $API_EXCHANGE --currency $API_CURRENCY --target $API_ORDERS_DESTINATION --apikey $API_KEY --secret $API_SECRET --passphrase $API_PASSPHRASE --username $API_USERNAME --http $API_HTTP_ENDPOINT --wss $API_WSS_ENDPOINT --ws $API_WS_ENDPOINT $OPTIONAL_ARGUMENTS "$@" K crashed with exit code 139.. Respawning.. ^C [root@kripto K]# ./K.sh K build x86_64-linux-gnu 2017-10-30 23:11:48. K version unknown (zip install). 21:40:00.497312 DB /data/db/K.3.BTC.USD.db loaded OK. 21:40:00.499428 UI ready over HTTPS on external port 3000. 21:40:00.500554 DB loaded Quoting Parameters OR reading defaults instead. 21:40:00.500631 DB loaded 0 historical Trades. 21:40:00.500707 DB loaded 0 STDEV Periods. 21:40:00.500779 DB loaded EWMA Long = 0.000000. 21:40:00.500791 DB loaded EWMA Medium = 0.000000. 21:40:00.500801 DB loaded EWMA Short = 0.000000. 21:40:00.500893 DB loaded TBP = 0.00000000 BTC. 21:40:01.448929 JSON Warrrrning: wGet failed Peer certificate cannot be authenticated with given CA certificates. 21:40:01.449114 CF Errrror: Unable to fetch data from COINBASE symbol "BTC-USD". 21:40:01.449171 Errrror: Signal 11 Segmentation fault (Three-Headed Monkey found). ./app/server/K(_ZN1K2EV6reportEv+0x1a)[0x562c8be961aa] ./app/server/K(_ZN1K2EV3wtfEi+0x41e)[0x562c8be9b3ce] /lib64/libc.so.6(+0x35270)[0x7f900253c270] ./app/server/K(_ZN3FIX9Initiator4stopEb+0x0)[0x562c8bf47310] ./app/server/K(_ZN1K2GW11happyEndingEi+0x78)[0x562c8be99e08] ./app/server/K(_ZN1K2FN7logExitENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_i+0xc5)[0x562c8be99055] ./app/server/K(_ZN1K2GW6gwLoadENS_9mExchangeE+0x9ab)[0x562c8bebbe8b] ./app/server/K(_ZN1K2GW4loadEv+0x7c)[0x562c8bebcecc] ./app/server/K(_ZN1K5Klass4waitEv+0xa)[0x562c8be9522a] ./app/server/K(main+0xeb)[0x562c8be8a85b] /lib64/libc.so.6(__libc_start_main+0xf5)[0x7f9002528c05] ./app/server/K(_start+0x2a)[0x562c8be8bf6a]
Yikes! please copy and paste the error above into a new github issue (noworry for duplicates). If you agree, go to https://github.com/ctubio/Krypto-trading-bot/issues/new
./K.sh: line 139: 6204 Segmentation fault ./app/server/K --title ${0##*/} --port $UI_OPENPORT --user $UI_USERNAME --pass $UI_PASSWORD --exchange $API_EXCHANGE --currency $API_CURRENCY --target $API_ORDERS_DESTINATION --apikey $API_KEY --secret $API_SECRET --passphrase $API_PASSPHRASE --username $API_USERNAME --http $API_HTTP_ENDPOINT --wss $API_WSS_ENDPOINT --ws $API_WS_ENDPOINT $OPTIONAL_ARGUMENTS "$@" K crashed with exit code 139.. Respawning.. ^C [root@kripto K]# ./K.sh K build x86_64-linux-gnu 2017-10-30 23:11:48. K version unknown (zip install). 21:41:02.574372 DB /data/db/K.3.BTC.USD.db loaded OK. 21:41:02.575616 UI ready over HTTPS on external port 3000. 21:41:02.576653 DB loaded Quoting Parameters OR reading defaults instead. 21:41:02.576765 DB loaded 0 historical Trades. 21:41:02.576814 DB loaded 0 STDEV Periods. 21:41:02.576878 DB loaded EWMA Long = 0.000000. 21:41:02.576889 DB loaded EWMA Medium = 0.000000. 21:41:02.576899 DB loaded EWMA Short = 0.000000. 21:41:02.576968 DB loaded TBP = 0.00000000 BTC. 21:41:03.082001 JSON Warrrrning: wGet failed Peer certificate cannot be authenticated with given CA certificates. 21:41:03.082166 CF Errrror: Unable to fetch data from COINBASE symbol "BTC-USD". 21:41:03.082226 Errrror: Signal 11 Segmentation fault (Three-Headed Monkey found). ./app/server/K(_ZN1K2EV6reportEv+0x1a)[0x562a546961aa] ./app/server/K(_ZN1K2EV3wtfEi+0x41e)[0x562a5469b3ce] /lib64/libc.so.6(+0x35270)[0x7fc330956270] ./app/server/K(_ZN3FIX9Initiator4stopEb+0x0)[0x562a54747310] ./app/server/K(_ZN1K2GW11happyEndingEi+0x78)[0x562a54699e08] ./app/server/K(_ZN1K2FN7logExitENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_i+0xc5)[0x562a54699055] ./app/server/K(_ZN1K2GW6gwLoadENS_9mExchangeE+0x9ab)[0x562a546bbe8b] ./app/server/K(_ZN1K2GW4loadEv+0x7c)[0x562a546bcecc] ./app/server/K(_ZN1K5Klass4waitEv+0xa)[0x562a5469522a] ./app/server/K(main+0xeb)[0x562a5468a85b] /lib64/libc.so.6(__libc_start_main+0xf5)[0x7fc330942c05] ./app/server/K(_start+0x2a)[0x562a5468bf6a]
Yikes! please copy and paste the error above into a new github issue (noworry for duplicates). If you agree, go to https://github.com/ctubio/Krypto-trading-bot/issues/new
./K.sh: line 139: 6224 Segmentation fault ./app/server/K --title ${0##*/} --port $UI_OPENPORT --user $UI_USERNAME --pass $UI_PASSWORD --exchange $API_EXCHANGE --currency $API_CURRENCY --target $API_ORDERS_DESTINATION --apikey $API_KEY --secret $API_SECRET --passphrase $API_PASSPHRASE --username $API_USERNAME --http $API_HTTP_ENDPOINT --wss $API_WSS_ENDPOINT --ws $API_WS_ENDPOINT $OPTIONAL_ARGUMENTS "$@" K crashed with exit code 139.. Respawning.. ^C [root@kripto K]#
Any thoughts on what to do?
Dan