Meshcentral: Agent issue with Cert db?

Created on 6 Aug 2020  路  9Comments  路  Source: Ylianst/MeshCentral

Hi
I was wondering if someone else has had this issue before, Currently a few agents not all having the issue on the db

Screenshot_2020-08-06_10-05-08

and currently using lets encrypt what is odd is that only a few handful computers

Thank you

Fixed - Confirm & Close question

All 9 comments

Is the service still running? If it is the DB is locked by the service. if you want to run in console mode from the same location as the service, you will need to stop the service first

thanks for the reply, correct the service is running i tried uninstalling it and re installing it but no luck, the issue might be with the agent itself not the server?

What exactly are you trying to do? The service needs to be stopped otherwise that file is always going to be locked.

As Bryan indicated, when the agent is running, it grabs exclusive lock on the meshagent.db. So the above behavior is expected.

so if i understood correctly stop the service, then uninstall it then reinstall it?

No sure what you are trying to do, but as soon as you stop the service, you can run the agent from the command line. Once you are done debugging, just start the service again. No need to uninstall/reinstall.

ok gotcha let me try and post back

are you running Admin Command prompt? i got the same error while back - it was because of non admin Command prompt..

You are right! It can also be caused be the agent not having access to the meshagent.db file.

Was this page helpful?
0 / 5 - 0 ratings