Fix some server startup errors.