Claudia
Claudia

Reputation: 21

I'm getting an error while deploying Node.Js app with mongoDB on Elastic Beanstalk

We are trying to deploy mongoDB with Node.js on Amazon AWS Elastic Beanstalk but its giving an error which looks completely out of this planet. Please help!

[Instance: i-28bfc6e4] Command failed on instance. Return code: 127 Output: (TRUNCATED)...riorities, update-motd, upgrade-helper Package mongo-10gen-server-2.4.14-mongodb_1.x86_64 is obsoleted by mongodb-org-server-2.6.10-1.x86_64 which is already installed Nothing to do /etc/init.d/mongos.sh: line 1: /usr/bin/mongos: No such file or directory. Hook /opt/elasticbeanstalk/hooks/appdeploy/enact/98_newrelic_sysmond.sh failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.

Upvotes: 2

Views: 265

Answers (1)

ErichBSchulz
ErichBSchulz

Reputation: 15699

if using the solution outlined here then this got me going:

01_enable_rootaccess: command: echo Defaults:root \!requiretty >> /etc/sudoers 02_install_mongo: - command: yum install -y mongo-10gen-server + command: yum install -y mongo-10gen-server mongodb-org-mongos ignoreErrors: true 03_turn_mongod_off: command: sudo chkconfig mongod off

Upvotes: 0

Related Questions