Bitcoin Core is initializing, it checks all the block when starting up and this is a part of it. Whatever command you type during this time would give you error -28. If it gets stuck forever, it would have some problems and you need to check the debug log for any sign of corruption etc.
Thanks, that was it. It seemed the chain was downloading already when the error was given.