[SERVER-15497] Missing locale causing exit code 14 when starting via /etc/init.d/mongd Created: 01/Oct/14 Updated: 08/Oct/14 Resolved: 08/Oct/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Packaging |
| Affects Version/s: | 2.6.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Raul Martinez Jr | Assignee: | Ramon Fernandez Marina |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
Running Centos 6.5, I updated my mongod to 2.6.4 and upon start mongod via /etc/init.d/mongod I get the following error: ERROR: child process failed, exited with error number 14 I noticed that the init script requires numactl but the numactl package is not installed on my system. init.d-mongd: https://github.com/mongodb/mongo/blob/master/rpm/init.d-mongod I installed numactl and I solved the problem. This affects 2.6.4 up to the latest version. Adding numactl to the specs' Requires line should solve this problem... |
| Comments |
| Comment by Ramon Fernandez Marina [ 08/Oct/14 ] |
|
Thanks for letting us know rmartinez – looks like you hit Regards, |
| Comment by Raul Martinez Jr [ 08/Oct/14 ] |
|
I tried searching the net about this issue and found http://webmastercraft.net/thread/mongodb-could-not-be-start-on-centos-6/ The solution (which I have confirmed) to be working is to run export LC_CTYPE="en_US.UTF-8" or add it to .bashrc or system-wide profile |
| Comment by Ramon Fernandez Marina [ 02/Oct/14 ] |
|
rmartinez, the init script only uses numactl if it's available – if it isn't available then it is not used. One possibility is that you run into
Just to rule out Thanks, |