[SERVER-40395] "errmsg" : "no such command: 'setFreeMonitoring'", method does not seem to be available Created: 01/Apr/19  Updated: 29/May/19  Resolved: 01/Apr/19

Status: Closed
Project: Core Server
Component/s: Build, Internal Code
Affects Version/s: 4.0.6
Fix Version/s: None

Type: Question Priority: Minor - P4
Reporter: Sheila Doyle Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Case:

 Description   

When customer tries to call >db.enableFreeMonitoring() the following error is returned:

>2019-03-28T19:59:54.843+0900 E QUERY [js] Error: command failed: {
"operationTime" : Timestamp(1553770792, 1),
"ok" : 0,
"errmsg" : "no such command: 'setFreeMonitoring'",
"code" : 59,
"codeName" : "CommandNotFound",

Customer is using community version of Mongodb version 4.0.6 and downloaded binaries from  https://www.mongodb.org/dl/linux/x86_64?_ga=2.57114094.591830261.1554085034-1342414966.1554085034

linux/mongodb-linux-x86_64-4.0.6.tgz 2019-02-05 05:32:55 73265692

I have tested this version from 2019-02-05 and also the latest and have managed to reproduce the problem.  The problem does not exist on the community version which I have installed on my macOS.

It appears that setFreeMonitoring is missing from this build and the behaviour is the same as for Enterprise edition.

 



 Comments   
Comment by Danny Hatcher (Inactive) [ 01/Apr/19 ]

The Linux legacy builds (generic .tgz downloads) intentionally do not include any external library dependencies including TLS/SSL support and libCURL (which is required for free monitoring). Install the relevant distro-specific build for full community feature support.

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