Open ghost opened 10 years ago
I'm getting this error:
vagrant@precise64:/nodeapp$ node app.js [2014-03-10 11:49:59.414] [INFO] app_log - ELB Access Log Analyzer Initiated... log4js.fileAppender - Writing to file /nodeapp/logs/elb_analyzer_logs_1394452199292.log, error happened { [Error: ENOENT, open '/nodeapp/logs/elb_analyzer_logs_1394452199292.log'] errno: 34, code: 'ENOENT', path: '/nodeapp/logs/elb_analyzer_logs_1394452199292.log' } [2014-03-10 11:49:59.421] [INFO] app_log - Connecting to S3 log directory ... [2014-03-10 11:49:59.421] [INFO] app_log - Fetching logs ... [2014-03-10 11:50:00.546] [INFO] app_log - Generating report file ... [2014-03-10 11:50:00.546] [INFO] app_log - Report type option: domain (default) [2014-03-10 11:50:00.547] [ERROR] app_log - Report generation unsuccessful. [2014-03-10 11:50:00.548] [INFO] app_log - An error encountered during report generation: [2014-03-10 11:50:00.548] [ERROR] app_log - { [Error: ENOENT, mkdir 'reports/1394452200546'] errno: 34, code: 'ENOENT', path: 'reports/1394452200546' } Error: ENOENT, mkdir 'reports/1394452200546' [2014-03-10 11:50:00.548] [INFO] app_log - See log file for more details.
ok it was solved by doing
$ mkdir logs $ mkdir reports
I'm getting this error: