Hi server experts,
We have a server and the service is failing to start up with the follow Mongo error. We tried to repair the DB and this did not help either. Have anyone seen this error?
Mongo error: "Authentication failed.: generic server error" code: <mongodb:11>
Many thanks in advance
Jie
Hi @Jie_DvW ,
Have you performed a server upgrade recently? Where are you seeing this error? Gallery/Service logs or when you try to connect to mongoDB?
Best,
Fernando Vizcaino
Hi Fernando,
We have not done any upgrade recently and the error in the LastStartError.txt file in the service directory.
thanks
Jie
Hey @Jie_DvW ,
This happened to me during an upgrade because of a corrupted Runtimesettings file.
Have you changed anything in the Alteryx system settings recently?
Even though an upgrade did not generate the issue, it is worth trying the same steps.
Best,
Fernando Vizcaino
Hi Fernando,
Thanks for the suggestion. I have tried the above and still getting the same error. One thing I was just told was that the issue started after we applied a new license key for the server. Not sure whether this rings a bell.
thanks
Jie
Hey @Jie_DvW ,
It doesn`t. Could you please share the last Service logs? Let me see if I can find anything there. https://help.alteryx.com/current/en/server/configure/configure-and-use-server-logs.html#idp407689
File Name: AlteryxServiceLog.log
Default Location: C:\ProgramData\Alteryx\Service
Best,
Fernando Vizcaino
Hey @Jie_DvW ,
Yeah, this one is very old. Since you recreated the Alteryx System Settings, the logs may be going to another drive. By default, it will go to C if you haven`t changed anything.
Reinstalling is not needed. If you want to start with a clean mongoDB, you can delete the MongoDB folder and the Runtimesettings file and go through the Alteryx System Settings all over. This will recreate the MongoDB folder from scratch with no assets inside.
If the content of your server matters, I would open a support ticket with Alteryx and they will connect with you to troubleshoot the error and probably solve it. The ticket can be opened by accessing my.alteryx.com
Best,
FErnando Vizcaino
Hey @Jie_DvW ,
If the server wasn`t working before, an upgrade won`t solve your issues. I`m seeing the same authentication issue you mentioned before.
Renewing the license isn`t something that would cause the MongoDB password to get corrupted, so I`d suggest reaching out to Alteryx support and see if they can fix it.
Best,
Fernando Vizcaino