Welcome to the Alteryx Knowledge Base
Knowledge Base / Server / Alteryx Service fails to start with the error "Embedded Mongo Service failed to start in a time...
Alteryx Service fails to start with the error "Embedded Mongo Service failed to start in a timely fashion, exiting"
Created/Edited -
Summary
Description
When user attempts to start Alteryx Server service, it fails with the error:
There was an error starting the Alteryx Service:
Embedded Mongo Service failed to start in a timely fashion, exiting
Issue
Alteryx server service failed to start with the error:
There was an error starting the Alteryx Service:
Embedded Mongo Service failed to start in a timely fashion, exiting
AlteryxServiceLog.log records the error message.
Mongo Daemon failed to read credentials, filename must be non-empty, path must exist and be readable
Messages around the error look like this:
2024-06-20 10:04:18.707000,DEBUG,3352,AlteryxService,MongoController,,,,2024-06-20 10:04:18.573086,{hostname},16624,1848,"MongoDaemon_ReadCredentials: Path <{Embedded MongoDB persistence folder}\ASCredentials.bin>"
2024-06-20 10:04:18.707000,ERROR,12352,AlteryxService,MongoController,,,,2024-06-20 10:04:18.573086,{hostname},16624,1848,"S:\Alteryx\Service\AlteryxService_MongoController\src\MongoDaemon.cpp: 746. Mongo Daemon failed to read credentials, filename must be non-empty, path must exist and be readable."
2024-06-20 10:04:18.707000,ERROR,15528,AlteryxService,MongoController,,,,2024-06-20 10:04:18.573086,{hostname},16624,1848,"MongoDaemon_InstanceExists_Error: Error <Mongo Daemon failed to read credentials, filename must be non-empty, path must exist and be readable.> "
2024-06-20 10:04:18.707000,CRIT,4904,AlteryxService,MongoController,,,,2024-06-20 10:04:18.691619,{hostname},16624,1848,"MongoController_InitDaemon_Error: Error <Mongo Daemon failed to read credentials, filename must be non-empty, path must exist and be readable.>"
2024-06-20 10:04:18.722000,INFO,4904,AlteryxService,MongoController,,,,2024-06-20 10:04:18.691619,{hostname},16624,1848,"MongoController_Stop_Entered: MongoContoller::Stop entered."
2024-06-20 10:04:18.722000,DEBUG,12352,AlteryxService,MongoController,,,,2024-06-20 10:04:18.691619,{hostname},16624,1848,"MongoDaemon_Stop_NoProcess: No Mongo process."
2024-06-20 10:04:18.722000,ERROR,3352,AlteryxService,,,,,2024-06-20 10:04:18.691619,{hostname},16624,1848,"MongoController_MainImpl_Error: Error <Mongo Daemon failed to read credentials, filename must be non-empty, path must exist and be readable.>"
2024-06-20 10:04:19.049000,DEBUG,8124,AlteryxService,,,,,,,,,"ServicePluginEmbeddedMongo_WaitForStartupImpl: Waiting for startup, mongo manager state <0>"
2024-06-20 10:04:19.563000,DEBUG,8124,AlteryxService,,,,,,,,,"ServicePluginEmbeddedMongo_WaitForStartupImpl: Waiting for startup, mongo manager state <0>"
Environment
- Alteryx Server
- All versions
Prerequisites
Embedded MongoDB is used.
Cause
Two files are missed from MongoDB persistence folder for Embedded MongoDB:
- ASCredentials.bin
- ASMongoDBVersion.bin
Resolution
Restore ASCredentials.bin and ASMongoDBVersion.bin from the latest backup.
Was this article helpful?