modified initialization process

now the server will not shutdown if no database is available.