Hi Brad,

 

I had the same issue so I installed MyIT without authentication.

 

In theory you can re-enable authentication in the config.js file but I didn’t 
get this to work the first time then ran out of time to test it further.

The password in this file should be encrypted which you can do by:

-       Open a command prompt and navigate to 
D:\ProgramFiles\BMCSoftware\Smart_IT_MyIT\Smart_IT_MyIT\node

-       Run the following command:

node.exe 
D:\ProgramFiles\BMCSoftware\Smart_IT_MyIT\Smart_IT_MyIT\social\scripts\setmongodbpassword.js
 social_admin <unencrypted password>

-       Open the file 
D:\ProgramFiles\BMCSoftware\Smart_IT_MyIT\Smart_IT_MyIT\config.js and copy the 
following lines:

"db_auth": true,

"db_username": "social_admin",

"db_pw": "<Encrypted Password>",

-       Open the file 
D:\ProgramFiles\BMCSoftware\Smart_IT_MyIT\Smart_IT_MyIT\social\config.js and 
replace the following lines with the lines copied above:

"db_auth": false,

"db_username": "",

"db_pw": "",

 

I think that the latest BMC documentation covers this as well.

 

Cheers

 

Peter

 

From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of BradRemedy
Sent: 19 August 2015 13:33
To: [email protected]
Subject: BMC MyIT MongoDB Parameters

 

** 

Hi,

 

I posted this in the MYIT communities however thought I would also post it here 
as it is pretty urgent.

 

https://communities.bmc.com/message/558039#558039

 

 

************************************

 

Hi

 

I am busy setting up a MYIT 2.5 environment on a new virtual server and I am 
running into a problem which I am hoping someone can help with. During the 
running of the installer, I get to the section that is the "Smart IT / MYIT 
MongoDB Parameters" where I enter the information for my mongodb setup.

I have setup a mongodb cluster which is responding to shell queries and i can 
even connect to it using Robomongo 0.8.5 which is a GUI interface for it.

 

I enter the information for my primary mongodb server, specifiy the port and 
leave the default database as "social". I then select the "mongodb 
authentication required" tick box and enter the credentials of "siteRootAdmin" 
along with the password. (siteRootAdmin was created as per the BMC 
documentation and has a role of "root")

 

When I click next, I am presented with a error message " Supplied authorization 
params is wrong for MongoDB instance/db"

 

I have tried different parameters and even created a new "admin" or "root" user 
to try with. It will not accept the params. I have followed the documentation 
during the installation ( 
<https://docs.bmc.com/docs/display/public/myit25/Configuring+MongoDB+for+BMC+MyIT?src=search&src=search>
 Configuring MongoDB for BMC MyIT - BMC MyIT 2.5 - BMC Documentation) which 
went through with no problems.

 

Any ideas on what I should look out for next?

_ARSlist: "Where the Answers Are" and have been for 20 years_ 


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to