If you run a Mikrotik Dude instance on CHR, have a lot of devices and years of activity, problems start to arise with errors like:
server status: db failure: disk image is malformed. stop
server status: db failure: database disk image is malformed. stop
The problem might temporarily be resolved by running
#!/bin/bash