[DOCS-1518] Document additional hints for running MongoDB on SunOS derivatives Created: 15/May/13  Updated: 27/Jul/16  Resolved: 27/Jul/16

Status: Closed
Project: Documentation
Component/s: ecosystem
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Tad Marshall Assignee: Unassigned
Resolution: Won't Fix Votes: 4
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-7404 Solaris file relocation error: posix_... Closed
Participants:
Days since reply: 10 years, 40 weeks ago

 Description   

From user-provided information in SERVER-7404, it seems that some problems running MongoDB on OmniOS (and some other SunOS-based OSes, a bit unclear which ones) can be fixed by installing a package from the OpenCSW project; http://www.opencsw.org/ .

The error:

ld.so.1: mongod: fatal: relocation error: file bin/mongod: symbol _ZNSt8__detail15_List_node_base7_M_hookEPS0_: referenced symbol not found

can be fixed by installing a replacement libstdc++:

wget http://mirror.opencsw.org/opencsw/allpkgs/libstdc%2b%2b6-4.7.2%2cREV%3d2013.03.28-SunOS5.10-i386-CSW.pkg.gz
gzip -d libstdc++6-4.7.2\,REV\=2013.03.28-SunOS5.10-i386-CSW.pkg.gz
pkgadd -d libstdc++6-4.7.2\,REV\=2013.03.28-SunOS5.10-i386-CSW.pkg
ln -s /opt/csw/lib/amd64/libstdc++.so.6.0.17 in /usr/lib/amd64/libstdc++.so.6

https://jira.mongodb.org/browse/SERVER-7404?focusedCommentId=302266&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-302266
https://jira.mongodb.org/browse/SERVER-7404?focusedCommentId=336402&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-336402

It would help users if we made this information available as a "platform notes" sidebar for SunOS (Solaris, SmartOS, OmniOS, maybe OpenIndiana and OpenSolaris) somewhere in our online documentation.



 Comments   
Comment by Tad Marshall [ 15/May/13 ]

The OpenCSW workaround applies to OpenIndiana version 151a7 as well as OmniOS:
https://jira.mongodb.org/browse/SERVER-7404?focusedCommentId=336570&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-336570

Comment by Tad Marshall [ 15/May/13 ]

We have some information of this type (labeled for Joyent Cloud) at http://docs.mongodb.org/ecosystem/tutorial/joyent-cloud/ . Perhaps this page could be expanded to cover other SunOS derivatives, or a new page could be added; anything to make the information more easily findable.

Generated at Thu Feb 08 07:41:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.