[SERVER-22609] mongod server crashed on login with admin users Created: 14/Feb/16  Updated: 24/Feb/16  Resolved: 24/Feb/16

Status: Closed
Project: Core Server
Component/s: Admin, Security
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Muhammad Usman Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-22638 mongod server crashed in opensuse Closed
Participants:

 Description   

i have post this question in stackoverflow. but no response. http://stackoverflow.com/questions/35385927/mongod-server-crashed-on-login-with-admin-users

actually user successfully added in admin, but on login with same user mongod server crash.

os : opensuse

kindly help me regarding this issue



 Comments   
Comment by Kelsey Schubert [ 24/Feb/16 ]

Hi mongo_2,

The method that you are using to install OpenSSL may be symlinking OpenSSL 0.9.8 to another version of OpenSSL. So, when MongoDB tells the linker it needs 0.9.8's ABI, it will get the shared objects for another version.

Please execute the following to confirm this hypothesis:

ls -lsa /usr/lib64 | grep libssl

If the linker receives shared objects from a different version of OpenSSL than it expects, we cannot anticipate any resulting behavior.

If this is the case, I think you have two options:

1) Since we build this package in SuSE Linux Enterprise Server, you can upgrade/downgrade OpenSSL to match a SLES environment. Here are the SSL packages in place in our build environment:

libopenssl0_9_8-0.9.8j-0.70.1
openssl-0.9.8j-0.66.1
openssl-certs-1.97-0.3.1

2) Compile MongoDB from source against local SSL libraries

From the information you have provided, I do not see anything to indicate a bug in the MongoDB server. For MongoDB-related support discussion please post on the mongodb-users group or Stack Overflow with the mongodb tag. Questions about running MongoDB on OpenSuSE would be best posted on the mongodb-users group where it would reach a larger audience.

Kind regards,
Thomas

Comment by Muhammad Usman [ 18/Feb/16 ]

Thanks for mongodb team for response,

here is the complete query of your questions.

1. mongod version is

db version v3.0.9
git version: 20d60d3491908f1ae252fe452300de3978a040c7

2.OpenSuSe version

NAME=openSUSE
VERSION="13.1 (Bottle)"
VERSION_ID="13.1"
PRETTY_NAME="openSUSE 13.1 (Bottle) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"

3.install mongodb source

source:
https://docs.mongodb.org/v3.0/tutorial/install-mongodb-on-suse/

addrepo source:
sudo zypper addrepo --no-gpgcheck https://repo.mongodb.org/zypper/suse/11/mongodb-org/3.0/x86_64/ mongodb

after then install it

sudo zypper -n install mongodb-org

it give issue in starting so install missing libraries

zypper in libopenssl-devel
rpm -e --nodeps libopenssl0_9_8
cd /usr/lib64/
ln -s libssl.so libssl.so.0.9.8
ln -s libcrypto.so libcrypto.so.0.9.8

after that add folder /data/db

so it start successfully

4.history

it is new deployment

5.

All the required log, db, mongod config file is attached.

server1.log intial user creation

serverCrash.log mongod crash log

mongo config

Comment by Ramon Fernandez Marina [ 18/Feb/16 ]

Hi mongo_2, after reviewing your post on SO we're going to reopen this ticket so we can investigate this issue further. We'll need the information requested by Stephen above:

  • specific version of MongoDB server (mongod --version)
  • specific version of OpenSUSE
  • how you installed MongoDB (i.e. from package, tarball, source)
  • any relevant history (i.e. is this a new deployment, restored from backup, recently upgraded, ...).

In addition, please provide the following data:

  • The full logs for the affected mongod from startup until the crash, including any stack traces
  • The contents of your admin database (or your whole dbpath if that's easier); you can upload this safely and securely, this data will only be accessible to MongoDB engineers to troubleshoot this ticket
  • The output of ulimit -a for the user that runs mongod (this could be related to low OS limits)

Thanks,
Ramón.

Comment by Stennie Steneker (Inactive) [ 16/Feb/16 ]

Hi Muhammad,

The SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion, appropriate community forums include StackOverflow (programming-related questions), DBA StackExchange (database administration), and the mongodb-user group. For additional support resources please see our Technical Support page.

A question like this involving more discussion would be best posted on the mongodb-user group.

I would suggest including more details on your environment when you post, including:

  • specific version of MongoDB server (mongod --version)
  • specific version of OpenSUSE
  • how you installed MongoDB (i.e. from package, tarball, source)
  • any relevant history (i.e. is this a new deployment, restored from backup, recently upgraded, ...).

Regards,
Stephen

Generated at Thu Feb 08 04:00:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.