ramanujan icon indicating copy to clipboard operation
ramanujan copied to clipboard

Errors and process terminations when trying fuge

Open dmitriz opened this issue 8 years ago • 0 comments

Just trying to run fuge shell fuge/system.yml after cloning and installation. This seems to compile but all services are listed as "stopped":

? fuge> ps
name                          type           status         watch          tail           count
base0                         process        stopped        no             yes            0    
base1                         process        stopped        no             yes            0    
front                         process        stopped        no             yes            0    
api                           process        stopped        no             yes            0    
post                          process        stopped        no             yes            0    
entry_store                   process        stopped        no             yes            0    
entry_cache                   process        stopped        no             yes            0    
repl                          process        stopped        no             yes            0    
mine                          process        stopped        no             yes            0    
home                          process        stopped        no             yes            0    
index                         process        stopped        no             yes            0    
search                        process        stopped        no             yes            0    
follow                        process        stopped        no             yes            0    
fanout                        process        stopped        no             yes            0    
timeline0                     process        stopped        no             yes            0    
timeline1                     process        stopped        no             yes            0    
timeline_shard                process        stopped        no             yes            0    
reserve                       process        stopped        no             yes            0    
? fuge> 

Then trying start all leads to starting and terminating with many errors:

running: reserve
running: env "PROXY_HOST=127.0.0.1" "SERVICE_HOST=0.0.0.0" "base0_PORT=10000" "base1_PORT=10001" "front_PORT=10002" "api_PORT=10003" "post_PORT=10004" "entry_store_PORT=10005" "entry_cache_PORT=10006" "repl_PORT=10007" "mine_PORT=10008" "home_PORT=10009" "index_PORT=10010" "search_PORT=10011" "follow_PORT=10012" "fanout_PORT=10013" "timeline0_PORT=10014" "timeline1_PORT=10015" "timeline_shard_PORT=10016" "reserve_PORT=10017" "SERVICE_PORT=20017" bash -c "exec /usr/local/bin/node -r "/Users/zaitsev/.config/yarn/global/node_modules/fuge/fuge.js" reserve-service.js 127.0.0.1 127.0.0.1:39000,127.0.0.1:39001 "
running: __proxy
? fuge> (node:76995) Warning: Possible EventEmitter memory leak detected. 11 finish listeners added. Use emitter.setMaxListeners() to increase limit
(node:76995) Warning: Possible EventEmitter memory leak detected. 11 unpipe listeners added. Use emitter.setMaxListeners() to increase limit
(node:76995) Warning: Possible EventEmitter memory leak detected. 11 drain listeners added. Use emitter.setMaxListeners() to increase limit
(node:76995) Warning: Possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit
(node:76995) Warning: Possible EventEmitter memory leak detected. 11 close listeners added. Use emitter.setMaxListeners() to increase limit
[post - 77012]: (node:77012) DeprecationWarning: 'root' is deprecated, use 'global'
[entry_cache - 77014]: (node:77014) DeprecationWarning: 'root' is deprecated, use 'global'
[fanout - 77021]: (node:77021) DeprecationWarning: 'root' is deprecated, use 'global'
[base1 - 77009]: (node:77009) DeprecationWarning: 'root' is deprecated, use 'global'
[timeline1 - 77024]: (node:77024) DeprecationWarning: 'root' is deprecated, use 'global'
[repl - 77015]: (node:77015) DeprecationWarning: 'root' is deprecated, use 'global'
[timeline_shard - 77025]: (node:77025) DeprecationWarning: 'root' is deprecated, use 'global'
[follow - 77020]: (node:77020) DeprecationWarning: 'root' is deprecated, use 'global'
[entry_store - 77013]: (node:77013) DeprecationWarning: 'root' is deprecated, use 'global'
[base0 - 77008]: (node:77008) DeprecationWarning: 'root' is deprecated, use 'global'
[timeline0 - 77023]: (node:77023) DeprecationWarning: 'root' is deprecated, use 'global'
[reserve - 77026]: (node:77026) DeprecationWarning: 'root' is deprecated, use 'global'
[index - 77018]: (node:77018) DeprecationWarning: 'root' is deprecated, use 'global'
[front - 77010]: front http://lap254.maths.tcd.ie:8000
process exit [77010]: front
process terminated unexpectedly [77010]: front restarting
running: front
running: env "PROXY_HOST=127.0.0.1" "SERVICE_HOST=0.0.0.0" "base0_PORT=10000" "base1_PORT=10001" "front_PORT=10002" "api_PORT=10003" "post_PORT=10004" "entry_store_PORT=10005" "entry_cache_PORT=10006" "repl_PORT=10007" "mine_PORT=10008" "home_PORT=10009" "index_PORT=10010" "search_PORT=10011" "follow_PORT=10012" "fanout_PORT=10013" "timeline0_PORT=10014" "timeline1_PORT=10015" "timeline_shard_PORT=10016" "reserve_PORT=10017" "SERVICE_PORT=20002" bash -c "exec /usr/local/bin/node -r "/Users/zaitsev/.config/yarn/global/node_modules/fuge/fuge.js" front.js 127.0.0.1 127.0.0.1:39000,127.0.0.1:39001 "
[api - 77011]: (node:77011) DeprecationWarning: 'root' is deprecated, use 'global'
[api - 77011]: api 127.0.0.1 56786
[search - 77019]: (node:77019) DeprecationWarning: 'root' is deprecated, use 'global'
[home - 77017]: (node:77017) DeprecationWarning: 'root' is deprecated, use 'global'
[search - 77019]: search http://127.0.0.1:56787
[mine - 77016]: (node:77016) DeprecationWarning: 'root' is deprecated, use 'global'
[mine - 77016]: mine 127.0.0.1 56789
[home - 77017]: home 127.0.0.1 56788
[front - 77032]: front http://lap254.maths.tcd.ie:8000
process exit [77032]: front
process terminated unexpectedly [77032]: front restarting
running: front
running: env "PROXY_HOST=127.0.0.1" "SERVICE_HOST=0.0.0.0" "base0_PORT=10000" "base1_PORT=10001" "front_PORT=10002" "api_PORT=10003" "post_PORT=10004" "entry_store_PORT=10005" "entry_cache_PORT=10006" "repl_PORT=10007" "mine_PORT=10008" "home_PORT=10009" "index_PORT=10010" "search_PORT=10011" "follow_PORT=10012" "fanout_PORT=10013" "timeline0_PORT=10014" "timeline1_PORT=10015" "timeline_shard_PORT=10016" "reserve_PORT=10017" "SERVICE_PORT=20002" bash -c "exec /usr/local/bin/node -r "/Users/zaitsev/.config/yarn/global/node_modules/fuge/fuge.js" front.js 127.0.0.1 127.0.0.1:39000,127.0.0.1:39001 "
[timeline_shard - 77025]: 		ERR	i8/vl	Error: seneca: Action name:mesh,plugin:define,role:seneca,seq:2,tag:undefined failed: [TIMEOUT].
[base1 - 77009]: 		ERR	hr/f1	Error: seneca: Action name:mesh,plugin:define,role:seneca,seq:2,tag:undefined failed: [TIMEOUT].
[repl - 77015]: 		ERR	1w/g4	Error: seneca: Action name:mesh,plugin:define,role:seneca,seq:2,tag:undefined failed: [TIMEOUT].
[base0 - 77008]: 		ERR	2s/mf	Error: seneca: Action name:mesh,plugin:define,role:seneca,seq:2,tag:undefined failed: [TIMEOUT].
[timeline_shard - 77025]: 		ERR	ll/3b	Error: seneca: Action init:mesh failed: [TIMEOUT].
[reserve - 77026]: 		ERR	0v/zi	Error: seneca: Action name:mesh,plugin:define,role:seneca,seq:3,tag:undefined failed: [TIMEOUT].
[fanout - 77021]: 		ERR	ic/kc	Error: seneca: Action name:mesh,plugin:define,role:seneca,seq:3,tag:undefined failed: [TIMEOUT].
[base1 - 77009]: 		ERR	ds/nd	Error: seneca: Action init:mesh failed: [TIMEOUT].
[base1 - 77009]: 		ERR	uk/am	Error: seneca: Action cmd:listen,role:transport failed: [TIMEOUT].
[base1 - 77009]: jg/base1
[base1 - 77009]: 
[base1 - 77009]: 
[base1 - 77009]: Seneca Fatal Error
[base1 - 77009]: ==================
[base1 - 77009]: 
[base1 - 77009]: Message: seneca: Action name:mesh,plugin:define,role:seneca,seq:2,tag:undefined failed: [TIMEOUT].
[base1 - 77009]: 
[base1 - 77009]: Code: act_execute
[base1 - 77009]: 
[base1 - 77009]: Details: { message: '[TIMEOUT]',
[base1 - 77009]:   pattern: 'name:mesh,plugin:define,role:seneca,seq:2,tag:undefined',
[base1 - 77009]:   fn: [Function: plugin_definition],
[base1 - 77009]:   cb: [Function: noop],
[base1 - 77009]:   instance: 'Seneca/jg/base1',
[base1 - 77009]:   'orig$': 
[base1 - 77009]:    Error: [TIMEOUT]
[base1 - 77009]:        at Object.act_tm [as ontm] (/Users/zaitsev/tests/seneca/ramanujan/node_modules/seneca/seneca.js:1041:46)
[base1 - 77009]:        at Timeout.timeout_check [as _onTimeout] (/Users/zaitsev/tests/seneca/ramanujan/node_modules/seneca/node_modules/gate-executor/gate-executor.js:216:16)
[base1 - 77009]:        at ontimeout (timers.js:365:14)
[base1 - 77009]:        at tryOnTimeout (timers.js:237:5)
[base1 - 77009]:        at Timer.listOnTimeout (timers.js:207:5),
[base1 - 77009]:   'message$': '[TIMEOUT]',
[base1 - 77009]:   plugin: {} }
[base1 - 77009]: 
[base1 - 77009]: Stack: 
[base1 - 77009]:     at Object.act_tm [as ontm] (/Users/zaitsev/tests/seneca/ramanujan/node_modules/seneca/seneca.js:1041:46)
[base1 - 77009]:     at Timeout.timeout_check [as _onTimeout] (/Users/zaitsev/tests/seneca/ramanujan/node_modules/seneca/node_modules/gate-executor/gate-executor.js:216:16)
[base1 - 77009]:     at ontimeout (timers.js:365:14)
[base1 - 77009]:     at tryOnTimeout (timers.js:237:5)
[base1 - 77009]:     at Timer.listOnTimeout (timers.js:207:5)
[base1 - 77009]: 
[base1 - 77009]: Instance: Seneca/jg/base1
[base1 - 77009]:   ALL ERRORS FATAL: action called with argument fatal$:true (probably a plugin init error, or using a plugin seneca instance)
[base1 - 77009]:     at Seneca.handle_result (/Users/zaitsev/tests/seneca/ramanujan/node_modules/seneca/seneca.js:1120:27)
[base1 - 77009]: 
[base1 - 77009]: When: 2017-03-23T17:42:03.180Z
[base1 - 77009]: 
[base1 - 77009]: Log: {kind:null,plugin:seneca,tag:3.3.0,id:jg/base1,code:act_execute,notice:seneca: Action name:mesh,plugin:define,r
[base1 - 77009]: 
[base1 - 77009]: Node:
[base1 - 77009]:   { http_parser: '2.7.0', node: '6.9.1', v8: '5.1.281.84', uv: '1.9.1', zlib: '1.2.8', ares: '1.10.1-DEV', icu: '57.1', modules: '48', openssl: '1.0.2j' },
[base1 - 77009]:   { debug: false, uv: true, ipv6: true, tls_npn: true, tls_alpn: true, tls_sni: true, tls_ocsp: true, tls: true },
[base1 - 77009]:   [ 'Binding contextify', 'Binding natives', 'NativeModule events', 'NativeModule util', 'Binding uv', 'NativeModule buffer', 'Binding buffer', 'Binding util', 'NativeModule internal/util', 'NativeModule timers', 'Binding timer_wrap', 'NativeModule internal/linkedlist', 'NativeModule assert', 'NativeModule internal/process', 'Binding config', 'NativeModule internal/process/warning', 'NativeModule internal/process/next_tick', 'NativeModule internal/process/promises', 'NativeModule internal/process/stdio', 'Binding constants', 'NativeModule child_process', 'Binding spawn_sync', 'Binding pipe_wrap', 'NativeModule internal/child_process', 'NativeModule string_decoder', 'NativeModule net', 'NativeModule stream', 'NativeModule _stream_readable', 'NativeModule internal/streams/BufferList', 'NativeModule _stream_writable', 'NativeModule _stream_duplex', 'NativeModule _stream_transform', 'NativeModule _stream_passthrough', 'NativeModule internal/net', 'Binding cares_wrap', 'Binding tty_wrap', 'Binding tcp_wrap', 'Binding stream_wrap', 'NativeModule dgram', 'Binding udp_wrap', 'Binding process_wrap', 'NativeModule internal/socket_list', 'NativeModule path', 'NativeModule module', 'NativeModule internal/module', 'NativeModule vm', 'NativeModule fs', 'Binding fs', 'Binding fs_event_wrap', 'NativeModule readline', 'NativeModule internal/readline', 'NativeModule tty', 'Binding signal_wrap', 'NativeModule os', 'Binding os', 'NativeModule http', 'NativeModule _http_incoming', 'NativeModule _http_common', 'Binding http_parser', 'NativeModule internal/freelist', 'NativeModule _http_outgoing', 'NativeModule _http_server', 'NativeModule _http_agent', 'NativeModule _http_client', 'NativeModule url', 'Binding icu', 'NativeModule querystring', 'NativeModule https', 'NativeModule tls', 'Binding crypto', 'NativeModule _tls_common', 'NativeModule _tls_wrap', 'NativeModule crypto', 'NativeModule internal/streams/lazy_transform', 'NativeModule _stream_wrap', 'Binding js_stream', 'Binding tls_wrap', 'NativeModule _tls_legacy', 'NativeModule dns', 'NativeModule console', 'NativeModule cluster', 'NativeModule internal/cluster' ]
[base1 - 77009]: 
[base1 - 77009]: Process: 
[base1 - 77009]:   pid=77009, arch=x64, platform=darwin,
[base1 - 77009]:   path=/usr/local/bin/node,
[base1 - 77009]:   argv=[ '/usr/local/bin/node',  '/Users/zaitsev/tests/seneca/ramanujan/base/base.js',  'base1',  '39001',  '127.0.0.1',  '127.0.0.1:39000,127.0.0.1:39001' ],
[base1 - 77009]:   env={ NVM_RC_VERSION: '',  repl_PORT: '10007',  TERM_PROGRAM: 'Apple_Terminal',  DVM_DIR: '/Users/zaitsev/.dvm',  NVM_CD_FLAGS: '-q',  TERM: 'xterm-256color',  SHELL: '/bin/zsh',  CLICOLOR: '1',  post_PORT: '10004',  TMPDIR: '/var/folders/vt/6y645drx4m3f7tjn2f4rj2lr0000gn/T/',  base0_PORT: '10000',  Apple_PubSub_Socket_Render: '/private/tmp/com.apple.launchd.FGrcu4gT8u/Render',  DOCKER_HOST: 'tcp://192.168.59.103:2376',  TERM_PROGRAM_VERSION: '343.7',  follow_PORT: '10012',  TERM_SESSION_ID: '791D0043-3951-44AA-A949-6F555F7DC710',  timeline_shard_PORT: '10016',  search_PORT: '10011',  index_PORT: '10010',  ZSH: '/Users/zaitsev/.oh-my-zsh',  GIT_EDITOR: '/Applications/Sublime\\ Text.app/Contents/SharedSupport/bin/subl -w',  USER: 'zaitsev',  NVM_DIR: '/Users/zaitsev/.nvm',  SERVICE_HOST: '0.0.0.0',  SERVICE_PORT: '20001',  SSH_AUTH_SOCK: '/private/tmp/com.apple.launchd.MV12yxjKuf/Listeners',  entry_cache_PORT: '10006',  __CF_USER_TEXT_ENCODING: '0x1F5:0x0:0x0',  fanout_PORT: '10013',  PAGER: 'less',  DOCKER_TLS_VERIFY: '1',  LSCOLORS: 'ExFxCxDxBxegedabagacad',  timeline1_PORT: '10015',  mine_PORT: '10008',  PROXY_HOST: '127.0.0.1',  PATH: '/Users/zaitsev/mongodb/bin:./node_modules/.bin/:/Users/zaitsev/.npm-global/bin:/Users/zaitsev/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/opt/local/bin:/opt/local/sbin',  timeline0_PORT: '10014',  _: '/usr/bin/env',  NVM_NODEJS_ORG_MIRROR: 'https://nodejs.org/dist',  front_PORT: '10002',  PWD: '/Users/zaitsev/tests/seneca/ramanujan/base',  EDITOR: 'subl',  LANG: 'en_IE.UTF-8',  XPC_FLAGS: '0x0',  entry_store_PORT: '10005',  XPC_SERVICE_NAME: '0',  HOME: '/Users/zaitsev',  SHLVL: '2',  DOCKER_CERT_PATH: '/Users/zaitsev/.boot2docker/certs/boot2docker-vm',  base1_PORT: '10001',  home_PORT: '10009',  reserve_PORT: '10017',  LOGNAME: 'zaitsev',  LESS: '-R',  LC_CTYPE: 'en_IE.UTF-8',  NVM_IOJS_ORG_MIRROR: 'https://iojs.org/dist',  api_PORT: '10003',  SECURITYSESSIONID: '186a7' }
[base1 - 77009]: 
[base1 - 77009]: 
[base1 - 77009]: 
[base1 - 77009]: 
[base1 - 77009]: SENECA TERMINATED at 2017-03-23T17:42:03.444Z. See above for error report.
[base1 - 77009]: 
[base1 - 77009]: 
process exit [77009]: base1
process terminated unexpectedly [77009]: base1 restarting

dmitriz avatar Mar 23 '17 17:03 dmitriz