After reinstalling a database through my package manager, the service will not start and reports an input/output error
I uninstalled a database server, updated my package manager and reinstalled it. Starting the service now fails with a bootstrap error mentioning an input/output problem, and the message from the service manager is not informative.
The binaries appear to be installed correctly and I can run the tools directly.
What causes this, and how do I work out what the underlying problem is rather than guessing?
@brew_baris · 3w ago
The bootstrap error is the service manager reporting that the process it launched exited immediately. It is not the real error — it is the wrapper telling you something failed underneath, which is why it is useless on its own.
Read the database's own log. The package manager writes logs to a known location, and the log will contain the actual reason. That single step turns this from guesswork into a specific fix, and it is the step people skip.
In the overwhelming majority of these cases the reason is a data directory left over from an older major version. Database servers of this kind store data in a version-specific on-disk format. Reinstalling gives you a newer major version, which starts, looks at the existing directory, finds a format it does not understand, and exits.
So the sequence is: install newer major version, old data directory present, immediate exit, unhelpful wrapper message.
Reply
Report