[SERVER-4128] the most web stats pages show error message (also after update to 2.0.1) Created: 24/Oct/11  Updated: 29/Feb/12  Resolved: 27/Oct/11

Status: Closed
Project: Core Server
Component/s: HTTP Console, Security
Affects Version/s: 2.0.0
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Linux Administrators Trust HRS Assignee: Tony Hannan
Resolution: Duplicate Votes: 0
Labels: update
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 10.04.3 LTS x86_64, IBM System x3850 X5


Issue Links:
Duplicate
duplicates SERVER-2917 Rest / HTTP interface not working wit... Closed
Operating System: Linux
Participants:

 Description   

We have a replica set includes 3 members on 3 different host (primary/secondary/arbiter)
After update to the version 2.0.0 we miss some functionalities among other things
the most web stats pages show this error message:

{ "errmsg" : "need to login" }

Only "isMaster" shows correct information
And this on websites from all 3 members.
Also doesn't work call from mongostat, we get the same error message:

mongostat -v --host x.x.x.73:27017 -u muser -p mpassword
Fri Oct 7 10:19:00 creating new connection to:x.x.x.73:27017
Fri Oct 7 10:19:00 BackgroundJob starting: ConnectBG
Fri Oct 7 10:19:00 connected connection!
connected to: x.x.x.73:27017
error:

{ errmsg: "need to login", ok: 0.0 }

 Comments   
Comment by Tony Hannan [ 27/Oct/11 ]

This has been fixed in master and will ship with version 2.1.0.

Comment by Linux Administrators Trust HRS [ 24/Oct/11 ]

We have updated the database to the version 2.0.1. The one problem (with mongostat) is solved - we get an output, but not others - we still get the error message "

{ "errmsg" : "need to login" }

" if we call any commands in the web browser (all commands except "isMaster" - this get an output)

Generated at Thu Feb 08 03:05:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.