Encountered an error while restoring from a backup

It was a standard install and it worked well before I started the restoration.
At the first time, I start it from web interface and it failed as following pic.

Next time, I start it from command line, and the output comes the second time.