[SERVER-10563] Missing/invalid LOCALE on Solaris results in stacktrace on startup Created: 19/Aug/13 Updated: 14/Apr/16 Resolved: 14/Mar/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Stability |
| Affects Version/s: | 2.4.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Daniel Heitepriem | Assignee: | DO NOT USE - Backlog - Platform Team |
| Resolution: | Done | Votes: | 0 |
| Labels: | 6, abort, code, crash, error | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Solaris Version 5.10 Generic_147441-01 64-bit in Virtual machine |
||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | Solaris | ||||||||
| Participants: | |||||||||
| Description |
|
Hi guys, I'm trying to start mongod process from a local directory using ssh accessing my virtual machine. Unfortunately mongod crashes with teh following code: bash-3.2$ cd /export/home/mongodb/mongodb/bin bash-3.2$ ./mongod --config mongodb.conf warning: bind_ip of 0.0.0.0 is unnecessary; listens on all ips by default Mon Aug 19 09:40:04.702 Backtrace: Is there any way to fix this error? P.S.: Sorry for my bad english but I'm from Germany |
| Comments |
| Comment by Mira Carey [ 14/Mar/16 ] | |
|
After | |
| Comment by Daniel Heitepriem [ 21/Aug/13 ] | |
|
Hi Tad, thank you for your help. The problem was solved with the final version of 2.4.6. Now my MongoDB is working like it should Greetings, | |
| Comment by Tad Marshall [ 21/Aug/13 ] | |
|
Hi Daniel, Do you mean that you got the abort with the stack trace? You still need export LC_ALL=C. Or do you mean you got
That should not happen in this version. That symbol is not referenced directly by mongod in that version; it is dynamically linked if available, which cannot cause the fatal relocation error. Can you double-check that you are testing the downloaded 2.4.6-rc1 version? Can you post the complete mongod log? The final version 2.4.6 was released yesterday, so you can use that version instead.
Tad | |
| Comment by Daniel Heitepriem [ 21/Aug/13 ] | |
|
Hi Tad, i tried version 2.4.6-rc1 but i got the same error as before. | |
| Comment by Tad Marshall [ 20/Aug/13 ] | |
|
Hi Daniel, The posix_fadvise error on Solaris is Can you test http://fastdl.mongodb.org/sunos5/mongodb-sunos5-x86_64-2.4.6-rc1.tgz and let us know if it fixes the problem? Version 2.4.6-rc1 also fixes I'm interested that your system was able to show a stack trace on Solaris 10. In our testing, Solaris 10 did not have the required functions to produce a stack trace, which is why version 2.4.6-rc1 includes the fix for Your original issue, in which boost::filesystem::path throws an exception when the locale of the running user differs from the locale of the owner of the dbpath directory, is believed to be an incompatibility between Solaris defaults and boost version 1.49. This will still be a problem in version 2.4.6-rc1; you will still need the export LC_ALL=C workaround. Tad | |
| Comment by Daniel Heitepriem [ 20/Aug/13 ] | |
|
Hello Tad, ld.so.1: mongod: fatal: relocation error: file mongod: symbol posix_fadvise: referenced symbol not found | |
| Comment by Tad Marshall [ 19/Aug/13 ] | |
|
As a workaround, try running this command before starting mongod:
|