Restore script runs until the last step where it would look for port and it never stops looking and restoration is incomplete
One of the reason is disk being full
1. At this point if you check catalina.out, you will notice a disk full warning
2. run # df -h and you will see /opt is full
3. Free some space from /opt and that should fix the issue.