Created
February 4, 2014 16:57
-
-
Save jeremyhuang3627/8807729 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
info: Welcome to Nodejitsu Jeremy_Huang | |
info: jitsu v0.13.9, node v0.10.22 | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy | |
info: Analyzing application dependencies in node app.js | |
debug: { method: 'GET', | |
debug: uri: 'https://api.nodejitsu.com/apps/Jeremy_Huang/application-name', | |
debug: headers: | |
debug: { Authorization: '*************************************************************************', | |
debug: 'Content-Type': 'application/json' }, | |
debug: timeout: '480000', | |
debug: rejectUnauthorized: false } | |
debug: { statusCode: 200, | |
debug: result: | |
debug: { app: | |
debug: { _id: 'jeremy_huang/application-name', | |
debug: name: 'application-name', | |
debug: scripts: { start: 'node app.js' }, | |
debug: user: 'jeremy_huang', | |
debug: subdomain: 'stockszen', | |
debug: snapshots: | |
debug: [ { id: '0.0.1', | |
debug: md5: '4fe77fcc7d333ae0aa4d0d29a58ee595', | |
debug: filename: 'jeremy_huang-application-name-0.0.1.tgz', | |
debug: ctime: 1391525973731 }, | |
debug: { id: '0.0.1-1', | |
debug: md5: '89ff6851cc8a815b3d93505dd145c0bb', | |
debug: filename: 'jeremy_huang-application-name-0.0.1-1.tgz', | |
debug: ctime: 1391526201147 }, | |
debug: { id: '0.0.1-2', | |
debug: md5: '96177082796bd261218dc8f18a9f78e0', | |
debug: filename: 'jeremy_huang-application-name-0.0.1-2.tgz', | |
debug: ctime: 1391526609333 }, | |
debug: { id: '0.0.1-3', | |
debug: md5: 'cef5a5affc9ddc5345d20382a3073802', | |
debug: filename: 'jeremy_huang-application-name-0.0.1-3.tgz', | |
debug: ctime: 1391530678912 }, | |
debug: { id: '0.0.1-4', | |
debug: md5: '297a1cd8c08d2c882d9d3234c6843d8d', | |
debug: filename: 'jeremy_huang-application-name-0.0.1-4.tgz', | |
debug: ctime: 1391531074136 }, | |
debug: { id: '0.0.1-5', | |
debug: md5: '207ab4ee17d0719028c0c866c7e8e31b', | |
debug: filename: 'jeremy_huang-application-name-0.0.1-5.tgz', | |
debug: ctime: 1391532564962 } ], | |
debug: env: | |
debug: { SUBDOMAIN: 'stockszen', | |
debug: NODE_ENV: 'production' }, | |
debug: domains: [], | |
debug: databases: {}, | |
debug: config: | |
debug: { cloud: | |
debug: [ { datacenter: 'us-east-1', | |
debug: provider: 'joyent', | |
debug: drones: 1, | |
debug: ram: 256 } ] }, | |
debug: maxDrones: 1, | |
debug: drones: 0, | |
debug: ctime: 1391525896952, | |
debug: mtime: 1391532564972, | |
debug: resource: 'App', | |
debug: _rev: '17-bd5b108dfe22126e4c300bbc2a405e83', | |
debug: version: '0.0.1-5', | |
debug: dependencies: | |
debug: { express: '~3.4.4', | |
debug: jade: '*', | |
debug: bcrypt: '~0.7.7', | |
debug: passport: '~0.2.0', | |
debug: 'passport-facebook': '~1.0.2', | |
debug: 'passport-twitter': '~1.0.2', | |
debug: 'connect-flash': '~0.1.1', | |
debug: mongoose: '~3.8.6', | |
debug: 'socket.io': '~0.9.16', | |
debug: 'connect-ensure-login': '~0.1.1', | |
debug: nodemailer: '~0.6.0', | |
debug: 'email-templates': '~0.1.1', | |
debug: easyimage: '~0.1.6', | |
debug: mkdirp: '~0.3.5', | |
debug: 'passport-local': '~0.1.6', | |
debug: redis: '~0.10.0', | |
debug: 'connect-redis': '~1.4.6', | |
debug: 'express-helpers': '~1.3.1', | |
debug: 'socket.io-clusterhub': '~0.2.0' }, | |
debug: main: 'app.js', | |
debug: engines: { node: '>=0.4' }, | |
debug: id: 'application-name', | |
debug: active: | |
debug: { id: '0.0.1-4', | |
debug: md5: '297a1cd8c08d2c882d9d3234c6843d8d', | |
debug: filename: 'jeremy_huang-application-name-0.0.1-4.tgz', | |
debug: ctime: 1391531074136, | |
debug: active: false, | |
debug: running: false } } } } | |
warn: Local package version appears to be old | |
warn: The package.json version will be incremented automatically | |
warn: About to write /Users/hjamesbest/Desktop/hackathon/nodejsapp/Stock-Notes/pitchbook/package.json | |
warn: Using '*' as a version for dependencies may eventually cause issues | |
warn: Use specific versions for dependencies to avoid future problems | |
warn: See: http://package.json.jit.su for more information | |
data: | |
data: { | |
data: dependencies: { | |
data: connect-redis: '~1.4.6', | |
data: passport: '~0.2.0', | |
data: passport-facebook: '~1.0.2', | |
data: passport-local: '~0.1.6', | |
data: easyimage: '~0.1.6', | |
data: bcrypt: '~0.7.7', | |
data: connect-flash: '~0.1.1', | |
data: mongoose: '~3.8.6', | |
data: nodemailer: '~0.6.0', | |
data: express: '~3.4.4', | |
data: mkdirp: '~0.3.5', | |
data: passport-twitter: '~1.0.2', | |
data: socket.io: '~0.9.16', | |
data: socket.io-clusterhub: '~0.2.0', | |
data: connect-ensure-login: '~0.1.1', | |
data: redis: '~0.10.0', | |
data: jade: '*', | |
data: express-helpers: '~1.3.1', | |
data: email-templates: '~0.1.1' | |
data: }, | |
data: engines: { node: '>=0.4' }, | |
data: main: 'app.js', | |
data: name: 'application-name', | |
data: private: true, | |
data: scripts: { start: 'node app.js' }, | |
data: subdomain: 'stockszen', | |
data: version: '0.0.1-6' | |
data: } | |
data: | |
prompt: Is this ok?: (yes) yes | |
info: Creating snapshot 0.0.1-6 | |
debug: { method: 'POST', | |
debug: uri: 'https://api.nodejitsu.com/apps/Jeremy_Huang/application-name/snapshots/0.0.1-6', | |
debug: headers: | |
debug: { Authorization: '*************************************************************************', | |
debug: 'Content-Type': 'application/octet-stream', | |
debug: 'Content-Length': 5622483 }, | |
debug: timeout: '480000', | |
debug: rejectUnauthorized: false } | |
info Uploading: [=============================] 100% | |
debug: { statusCode: 201, | |
debug: result: | |
debug: { snapshot: | |
debug: { id: '0.0.1-6', | |
debug: md5: '11830ec04add63f34a4c5773d45c3721', | |
debug: filename: 'jeremy_huang-application-name-0.0.1-6.tgz', | |
debug: ctime: 1391532869168 } } } | |
info: Updating app application-name | |
debug: { method: 'PUT', | |
debug: uri: 'https://api.nodejitsu.com/apps/Jeremy_Huang/application-name', | |
debug: headers: | |
debug: { Authorization: '*************************************************************************', | |
debug: 'Content-Type': 'application/json' }, | |
debug: timeout: '480000', | |
debug: rejectUnauthorized: false, | |
debug: body: '{"name":"application-name","version":"0.0.1-6","private":true,"scripts":{"start":"node app.js"},"main":"app.js","dependencies":{"express":"~3.4.4","jade":"*","bcrypt":"~0.7.7","passport":"~0.2.0","passport-facebook":"~1.0.2","passport-twitter":"~1.0.2","connect-flash":"~0.1.1","mongoose":"~3.8.6","socket.io":"~0.9.16","connect-ensure-login":"~0.1.1","nodemailer":"~0.6.0","email-templates":"~0.1.1","easyimage":"~0.1.6","mkdirp":"~0.3.5","passport-local":"~0.1.6","redis":"~0.10.0","connect-redis":"~1.4.6","express-helpers":"~1.3.1","socket.io-clusterhub":"~0.2.0"},"subdomain":"stockszen","engines":{"node":">=0.4"}}' } | |
debug: { statusCode: 204, result: undefined } | |
info: Activating snapshot 0.0.1-6 for application-name | |
debug: { method: 'POST', | |
debug: uri: 'https://api.nodejitsu.com/apps/Jeremy_Huang/application-name/snapshots/0.0.1-6/activate', | |
debug: headers: | |
debug: { Authorization: '*************************************************************************', | |
debug: 'Content-Type': 'application/json' }, | |
debug: timeout: '480000', | |
debug: rejectUnauthorized: false, | |
debug: body: '{}' } | |
debug: { statusCode: 200, | |
debug: result: | |
debug: { active: | |
debug: { id: '0.0.1-6', | |
debug: md5: '11830ec04add63f34a4c5773d45c3721', | |
debug: filename: 'jeremy_huang-application-name-0.0.1-6.tgz', | |
debug: ctime: 1391532869168, | |
debug: active: false, | |
debug: running: false } } } | |
info: Starting app application-name | |
debug: { method: 'GET', | |
debug: uri: 'https://api.nodejitsu.com/endpoints', | |
debug: headers: | |
debug: { Authorization: '*************************************************************************', | |
debug: 'Content-Type': 'application/json' }, | |
debug: timeout: '480000', | |
debug: rejectUnauthorized: false } | |
debug: { statusCode: 200, | |
debug: result: | |
debug: { endpoints: | |
debug: { joyent: | |
debug: { 'us-east-1': 'api.nodejitsu.com', | |
debug: 'us-sw-1': 'api.jyt.us.sw1.nodejitsu.com', | |
debug: 'us-west-1': 'api.jyt.us.west1.nodejitsu.com', | |
debug: 'eu-ams-1': 'api.jyt.eu.ams1.nodejitsu.com' } } } } | |
debug: { method: 'POST', | |
debug: uri: 'https://api.nodejitsu.com/apps/Jeremy_Huang/application-name/start', | |
debug: headers: | |
debug: { Authorization: '*************************************************************************', | |
debug: 'Content-Type': 'application/json' }, | |
debug: timeout: '480000', | |
debug: rejectUnauthorized: false, | |
debug: body: '{}' } | |
debug: { statusCode: 500, | |
debug: result: | |
debug: { message: 'Errors occured while starting the application', | |
debug: stack: 'Error: Errors occured while starting the application\n at onStarted (/root/nodejitsu/lib/nodejitsu/resources/app/controller.js:840:16)\n at respond (/root/nodejitsu/lib/nodejitsu/resources/app/controller.js:559:14)\n at retry (/root/nodejitsu/lib/nodejitsu/resources/app/controller.js:569:14)\n at AppController._startDrone.server (/root/nodejitsu/lib/nodejitsu/resources/app/controller.js:615:7)\n at _asyncMap (/root/nodejitsu/node_modules/async/lib/async.js:229:13)\n at async.eachSeries.iterate (/root/nodejitsu/node_modules/async/lib/async.js:139:25)\n at _asyncMap (/root/nodejitsu/node_modules/async/lib/async.js:226:17)\n at async.series.results (/root/nodejitsu/node_modules/async/lib/async.js:553:34)\n at Servers.free (/root/nodejitsu/node_modules/conservatory-api/lib/client/servers.js:89:5)\n at Request.onComplete [as _callback] (/root/nodejitsu/node_modules/conservatory-api/lib/client/client.js:161:7)', | |
debug: errors: | |
debug: [ { message: 'solenoid exited with code 1', | |
debug: stack: 'Error: solenoid exited with code 1\n at ChannelStream.exports.start (/root/nodejitsu/node_modules/nodejitsu-drone/lib/nodejitsu-drone/drone.js:82:31)\n at ChannelStream.EventEmitter.emit [as _emit] (events.js:96:17)\n at ChannelStream.emit (/root/nodejitsu/node_modules/nodejitsu-drone/node_modules/ssh2/lib/Channel.js:547:12)\n at Parser.<anonymous> (/root/nodejitsu/node_modules/nodejitsu-drone/node_modules/ssh2/lib/Channel.js:134:22)\n at Parser.EventEmitter.emit (events.js:96:17)\n at Parser.parseChRequest (/root/nodejitsu/node_modules/nodejitsu-drone/node_modules/ssh2/lib/Parser.js:363:10)\n at Parser.parsePacket (/root/nodejitsu/node_modules/nodejitsu-drone/node_modules/ssh2/lib/Parser.js:600:12)\n at Parser.execute (/root/nodejitsu/node_modules/nodejitsu-drone/node_modules/ssh2/lib/Parser.js:224:14)\n at Socket.Connection.connect._sock.once.err.level (/root/nodejitsu/node_modules/nodejitsu-drone/node_modules/ssh2/lib/Connection.js:1398:18)', | |
debug: name: 'Error', | |
debug: solenoid: 'info: Running start for app.\ninfo: Cleaning /opt/run\ninfo: Fetching application snapshot...\ninfo: Application snapshot fetched.\ninfo: Unpacking snapshot...\ninfo: Reading `package.json`...\ninfo: Starting application...\ninfo: Spawn: start --min-uptime 2000 -o /opt/run/forza.log -- forza -h multiplex.nodejitsu.com -p 8556 --start-log /opt/run/start.log --app-user jeremy_huang --app-name application-name -- node app.js\ninfo: `aeternum` pid: 92450\ninfo: Writing pidfile: /root/app.pid\ninfo: Tailing forza log: /opt/run/start.log\ninfo: Tail closing..\ninfo: Retry # 1 with 1000ms interval\ninfo: Tailing forza log: /opt/run/start.log\ninfo: Tail closing..\ninfo: Retry # 2 with 6922ms interval\ninfo: Tailing forza log: /opt/run/start.log\n\ntimers.js:103\n if (!process.listeners(\'uncaughtException\').length) throw e;\n ^\nError: spawn ENOMEM\n at errnoException (child_process.js:855:11)\n at ChildProcess.spawn (child_process.js:802:11)\n at exports.spawn (child_process.js:626:9)\n at tailLog (/opt/local/lib/node_modules/solenoid/lib/solenoid.js:473:18)\n at /opt/local/lib/node_modules/solenoid/lib/solenoid.js:468:15\n at delay (/opt/local/lib/node_modules/solenoid/node_modules/back/index.js:39:5)\n at Timer.list.ontimeout (timers.js:101:19)\n', | |
debug: blame: 'solenoid' } ] } } | |
error: Error running command deploy | |
error: Errors occured while starting the application | |
error: Error starting application. This could be a user error. | |
error: info: Running start for app. | |
error: info: Cleaning /opt/run | |
error: info: Fetching application snapshot... | |
error: info: Application snapshot fetched. | |
error: info: Unpacking snapshot... | |
error: info: Reading `package.json`... | |
error: info: Starting application... | |
error: info: Spawn: start --min-uptime 2000 -o /opt/run/forza.log -- forza -h multiplex.nodejitsu.com -p 8556 --start-log /opt/run/start.log --app-user jeremy_huang --app-name application-name -- node app.js | |
error: info: `aeternum` pid: 92450 | |
error: info: Writing pidfile: /root/app.pid | |
error: info: Tailing forza log: /opt/run/start.log | |
error: info: Tail closing.. | |
error: info: Retry # 1 with 1000ms interval | |
error: info: Tailing forza log: /opt/run/start.log | |
error: info: Tail closing.. | |
error: info: Retry # 2 with 6922ms interval | |
error: info: Tailing forza log: /opt/run/start.log | |
error: | |
error: timers.js:103 | |
error: if (!process.listeners('uncaughtException').length) throw e; | |
error: ^ | |
error: Error: spawn ENOMEM | |
error: at errnoException (child_process.js:855:11) | |
error: at ChildProcess.spawn (child_process.js:802:11) | |
error: at exports.spawn (child_process.js:626:9) | |
error: at tailLog (/opt/local/lib/node_modules/solenoid/lib/solenoid.js:473:18) | |
error: at /opt/local/lib/node_modules/solenoid/lib/solenoid.js:468:15 | |
error: at delay (/opt/local/lib/node_modules/solenoid/node_modules/back/index.js:39:5) | |
error: at Timer.list.ontimeout (timers.js:101:19) | |
error: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment