mysqld not starting

41 views
Skip to first unread message

Roshan

unread,
Nov 22, 2018, 5:12:37 PM11/22/18
to mongod...@googlegroups.com
Hi Team,

I installed Mongo db on a new server.

I am following the doc below

https://docs.mongodb.com/bi-connector/master/local-quickstart/

Mongosqld is already installed.

[mongodb@RH-DATWHSE-DEV2 logs]$ mongosqld --version
mongosqld version: v2.8.2
git version: e7a37b1dd2f6d1c7c4b5b114517bb33f6bb1faa4

I am having an issue starting it.

Please guide me
[mongodb@RH-DATWHSE-DEV2 logs]$ mongosqld --sampleNamespaces cd2.sampledata
--auth -u "cd2" -p "cd2" --addr 10.124.0.89:27020 --mongo-uri
mongodb://10.124.0.89:27020
2018-11-22T12:48:44.457+0400 I CONTROL [initandlisten] mongosqld starting:
version=v2.8.2 pid=17573 host=RH-DATWHSE-DEV2.mtg.local
2018-11-22T12:48:44.457+0400 I CONTROL [initandlisten] git version:
e7a37b1dd2f6d1c7c4b5b114517bb33f6bb1faa4
2018-11-22T12:48:44.457+0400 I CONTROL [initandlisten] OpenSSL version
OpenSSL 1.0.1e-fips 11 Feb 2013 (built with OpenSSL 1.0.1e 11 Feb 2013)
2018-11-22T12:48:44.457+0400 I CONTROL [initandlisten] options: {schema:
{sample: {namespaces: [cd2.sampledata]}}, net: {bindIp: [10.124.0.89], port:
27020}, security: {enabled: true}, mongodb: {net: {uri:
"mongodb://10.124.0.89:27020", auth: {username: "cd2", password: "<p>"}}}}
listen tcp 10.124.0.89:27020: bind: address already in use

Note that mongod has been started with port 27020

Also, I would like to know how to install the mongodb-connector-odbc from
https://github.com/mongodb/mongo-odbc-driver/releases/
where the 2 files below have been extractred

libmdbodbca.so
libmdbodbcw.so

Many thanks for your support.

Regards,

Roshan



--
Sent from: http://mongodb.2344371.n4.nabble.com/User-f2.html

Kevin Adistambha

unread,
Nov 26, 2018, 12:07:51 AM11/26/18
to mongodb-user

Hi Roshan

[mongodb@RH-DATWHSE-DEV2 logs]$ mongosqld —sampleNamespaces cd2.sampledata —auth -u “cd2” -p “cd2” —addr 10.124.0.89:27020 —mongo-uri mongodb://10.124.0.89:27020

The --addr parameter should contain the address the connector should listen to, instead of the address of the MongoDB server (see addr). I suggest you leave this setting at its default value unless you have a specific reason.

Also, I would like to know how to install the mongodb-connector-odbc

To install the ODBC driver for Linux (I assume you’re using Linux), please see Installing Connector/ODBC on Unix-like Systems from the MySQL documentation page. This information is available in the MongoDB ODBC driver repository file INSTALL.linux. Please check this file regularly in case the installation instruction changes in the future.

Best regards,
Kevin

Reply all
Reply to author
Forward
0 new messages