root@GenieACS:/opt/genieacs/bin# ./genieacs-cwmp
2017-03-17T22:47:44.276Z [INFO] GenieACS (genieacs-cwmp) starting; pid=10693
version="1.1.0"
dependencies="[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]"
config="CONFIG_DIR=/opt/genieacs/config,MONGODB_CONNECTION_URL=mongodb://127.0.0.1/genieacs,REDIS_PORT=6379,REDIS_HOST=127.0.0.1,CWMP_INTERFACE=0.0.0.0,CWMP_PORT=7547,CWMP_SSL=false,NBI_INTERFACE=0.0.0.0,NBI_PORT=7557,FS_INTERFACE=0.0.0.0,FS_PORT=7567,FS_HOSTNAME=192.168.0.1,FS_IP=192.168.0.1,LOG_INFORMS=true,DEBUG=false,REDIS_DB=0,CWMP_WORKER_PROCESSES=0,CWMP_LOG_FILE=,CWMP_ACCESS_LOG_FILE=,NBI_WORKER_PROCESSES=0,NBI_SSL=false,NBI_LOG_FILE=,NBI_ACCESS_LOG_FILE=,FS_WORKER_PROCESSES=0,FS_SSL=false,FS_LOG_FILE=,FS_ACCESS_LOG_FILE=,DOWNLOAD_TIMEOUT=3600,EXT_TIMEOUT=3000,MAX_CACHE_TTL=86400,RETRY_DELAY=300,SESSION_TIMEOUT=30,CONNECTION_REQUEST_TIMEOUT=2000,GPN_NEXT_LEVEL=0,GPV_BATCH_SIZE=32,MAX_DEPTH=16,LOG_FORMAT=simple,ACCESS_LOG_FORMAT=,XML_RECOVER=false,XML_IGNORE_ENC=false,XML_FORMAT=false,XML_NO_DECL=false,XML_NO_EMPTY=false,XML_IGNORE_NAMESPACE=false,DEVICE_ONLINE_THRESHOLD=4000"
2017-03-17T22:47:44.922Z [INFO] Worker listening; pid=10714 address="0.0.0.0"
port=7547
2017-03-17T22:47:44.927Z [INFO] Worker listening; pid=10715 address="0.0.0.0"
port=7547
2017-03-17T22:47:51.200Z [ERROR] Uncaught exception; exceptionName="ReplyError"
exceptionMessage="ERR invalid expire time in setex" exceptionStack="ReplyError:
ERR invalid expire time in setex\n at parseError
(/opt/genieacs/node_modules/redis-parser/lib/parser.js:182:12)\n at
parseType (/opt/genieacs/node_modules/redis-parser/lib/parser.js:292:14)"
events.js:163
throw er; // Unhandled 'error' event
^
Error: write after end
at writeAfterEnd (_stream_writable.js:191:12)
at WriteStream.Writable.write (_stream_writable.js:238:5)
at log (/opt/genieacs/lib/logger.js:260:15)
at Object.error (/opt/genieacs/lib/logger.js:279:3)
at process.<anonymous> (/opt/genieacs/lib/server.js:77:10)
at emitOne (events.js:96:13)
at process.emit (events.js:191:7)
at process._fatalException (bootstrap_node.js:299:26)
2017-03-17T22:47:51.257Z [ERROR] Worker died; pid=10714 exitCode=7
2017-03-17T22:47:51.624Z [INFO] Worker listening; pid=10734 address="0.0.0.0"
port=7547
^C2017-03-17T22:47:52.529Z [INFO] Received signal SIGINT, exiting; pid=10693
root@GenieACS:/opt/genieacs# npm run test
> [email protected] test /opt/genieacs
> node test
module.js:472
throw err;
^
Error: Cannot find module '/opt/genieacs/test'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.runMain (module.js:605:10)
at run (bootstrap_node.js:425:7)
at startup (bootstrap_node.js:146:9)
at bootstrap_node.js:540:3
npm ERR! Linux 4.4.0-66-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "test"
npm ERR! node v7.7.3
npm ERR! npm v4.1.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] test: `node test`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] test script 'node test'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the genieacs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node test
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs genieacs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls genieacs
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /opt/genieacs/npm-debug.log
root@GenieACS:/opt/genieacs# cat /opt/genieacs/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'test' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'pretest', 'test', 'posttest' ]
5 info lifecycle [email protected]~pretest: [email protected]
6 silly lifecycle [email protected]~pretest: no script for pretest, continuing
7 info lifecycle [email protected]~test: [email protected]
8 verbose lifecycle [email protected]~test: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]~test: PATH:
/usr/local/lib/node_modules/npm/bin/node-gyp-bin:/opt/genieacs/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
10 verbose lifecycle [email protected]~test: CWD: /opt/genieacs
11 silly lifecycle [email protected]~test: Args: [ '-c', 'node test' ]
12 silly lifecycle [email protected]~test: Returned: code: 1 signal: null
13 info lifecycle [email protected]~test: Failed to exec test script
14 verbose stack Error: [email protected] test: `node test`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter.<anonymous>
(/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:279:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:194:7)
14 verbose stack at ChildProcess.<anonymous>
(/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:194:7)
14 verbose stack at maybeClose (internal/child_process.js:899:16)
14 verbose stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:226:5)
15 verbose pkgid [email protected]
16 verbose cwd /opt/genieacs
17 error Linux 4.4.0-66-generic
18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "test"
19 error node v7.7.3
20 error npm v4.1.2
21 error code ELIFECYCLE
22 error [email protected] test: `node test`
22 error Exit status 1
23 error Failed at the [email protected] test script 'node test'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the genieacs package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error node test
23 error You can get information on how to open an issue for this project with:
23 error npm bugs genieacs
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls genieacs
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users