iDev

AWS에서 Meteor 실행시 mongo exit code 1 해결방법

KraZYeom 2015. 6. 7. 17:44
반응형

AWS에서 Meteor 실행시 mongo exit code 1 해결방법

참조: Meteor 1.0.4.2 Mongodb exit code 1, Restarting. 

aws EC2에서 meteor 애플리케이션을 만들고 실행을 하면 아래와 같이 mongo exit code 1 이라는 에러 메세지를 보여주면서 종료된다. 해결방법은 아주 간단하다.

ubuntu@ip-172-31-11-47:~/test1$ meteor
[[[[[ ~/test1 ]]]]]

=> Started proxy.
Unexpected mongo exit code 1. Restarting.
Unexpected mongo exit code 1. Restarting.
Unexpected mongo exit code 1. Restarting.
Can't start Mongo server.
ubuntu@ip-172-31-11-47:~/test1$

~/.bashrc 파일을 열어서 아래 코드를 추가해주면 된다. 

export LC_ALL=en_US.UTF-8

그리고 source ~/.bashrc를 해서 다시 불러오거나 아니면 터미널 창을 새로 열어서 다시 meteor run을 하면 문제 없이 동작한다.

반응형