lynckia / licode

Open Source Communication Provider based on WebRTC and Cloud technologies
http://lynckia.com/licode
MIT License
3.1k stars 1.01k forks source link

initLicode.sh error #1061

Open azzahrah opened 7 years ago

azzahrah commented 7 years ago

root@ubuntu-minimal:/workshop/licode# scripts/initLicode.sh 30151 30159 30304 Checking dir /workshop/licode/build/libdeps/nvm Running nvm /workshop/licode/node_modules/log4js/lib/configuration.js:44 throw new Error( ^

Error: Problem with log4js configuration: ({ appenders: [ { type: 'console', layout: { type: 'pattern', pattern: '%d - %p: %c - %m', replaceConsole: true } } ], levels: { AMQPER: 'ERROR', MAuthParser: 'ERROR', NuveAuthenticator: 'ERROR', CloudHandler: 'INFO', DataBase: 'ERROR', RoomRegistry: 'ERROR', ServiceRegistry: 'ERROR', TokenRegistry: 'ERROR', RoomResource: 'ERROR', RoomsResource: 'ERROR', ServiceResource: 'ERROR', ServicesResource: 'ERROR', TokenResource: 'ERROR', TokensResource: 'ERROR', Nuve: 'INFO', RPC: 'ERROR', RPCPublic: 'INFO' } }) - must have a property "appenders" of type object. at tests.forEach (/workshop/licode/node_modules/log4js/lib/configuration.js:44:15) at Array.forEach (native) at Configuration.throwExceptionIf (/workshop/licode/node_modules/log4js/lib/configuration.js:42:11) at new Configuration (/workshop/licode/node_modules/log4js/lib/configuration.js:205:10) at Object.configure (/workshop/licode/node_modules/log4js/lib/log4js.js:201:12) at Object. (/workshop/licode/nuve/nuveAPI/logger.js:19:8) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) Checking dir /workshop/licode/build/libdeps/nvm Running nvm Found '/workshop/licode/.nvmrc' with version <6.9.2> Now using node v6.9.2 (npm v3.10.9) Checking dir /workshop/licode/build/libdeps/nvm Running nvm /workshop/licode/node_modules/log4js/lib/configuration.js:44 throw new Error( ^

Error: Problem with log4js configuration: ({ appenders: [ { type: 'console', layout: { type: 'pattern', pattern: '%d - %p: %c - %m', replaceConsole: true } } ], levels: { AMQPER: 'ERROR', ErizoController: 'INFO', ErizoJS: 'INFO', ErizoJSController: 'INFO', ErizoAgent: 'INFO', ErizoAgentReporter: 'ERROR', EcCloudHandler: 'INFO', RoomController: 'INFO', RPCPublic: 'ERROR' } }) - must have a property "appenders" of type object. at tests.forEach (/workshop/licode/node_modules/log4js/lib/configuration.js:44:15) at Array.forEach (native) at Configuration.throwExceptionIf (/workshop/licode/node_modules/log4js/lib/configuration.js:42:11) at new Configuration (/workshop/licode/node_modules/log4js/lib/configuration.js:205:10) at Object.configure (/workshop/licode/node_modules/log4js/lib/log4js.js:201:12) at Object. (/workshop/licode/erizo_controller/common/logger.js:20:8) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) Found '/workshop/licode/.nvmrc' with version <6.9.2> Now using node v6.9.2 (npm v3.10.9) [licode] Done, run basic_example/basicServer.js root@ubuntu-minimal:/workshop/licode# /workshop/licode/node_modules/log4js/lib/configuration.js:44 throw new Error( ^

Error: Problem with log4js configuration: ({ appenders: [ { type: 'console', layout: { type: 'pattern', pattern: '%d - %p: %c - %m', replaceConsole: true } } ], levels: { AMQPER: 'ERROR', ErizoController: 'INFO', ErizoJS: 'INFO', ErizoJSController: 'INFO', ErizoAgent: 'INFO', ErizoAgentReporter: 'ERROR', EcCloudHandler: 'INFO', RoomController: 'INFO', RPCPublic: 'ERROR' } }) - must have a property "appenders" of type object. at tests.forEach (/workshop/licode/node_modules/log4js/lib/configuration.js:44:15) at Array.forEach (native) at Configuration.throwExceptionIf (/workshop/licode/node_modules/log4js/lib/configuration.js:42:11) at new Configuration (/workshop/licode/node_modules/log4js/lib/configuration.js:205:10) at Object.configure (/workshop/licode/node_modules/log4js/lib/log4js.js:201:12) at Object. (/workshop/licode/erizo_controller/common/logger.js:20:8) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12)

vitmaraliaga commented 7 years ago

i have a this problem too. help me please

captura de pantalla 2017-11-17 a la s 10 33 32
kekkokk commented 7 years ago

maybe you can try to do ./scripts/installErizo.sh -c

vitmaraliaga commented 7 years ago

this leaves to finish executing ./scripts/installErizo.sh -c.

captura de pantalla 2017-11-17 a la s 11 40 48

and when I go to execute the ./scripts/initLicode.sh this goes out.

captura de pantalla 2017-11-17 a la s 11 38 33
kekkokk commented 7 years ago

maybe a complete rebuild will fil maybe you can try to do ./scripts/installErizo.sh -aec