Once site creation fails with the "index service configuration failed" error, the "db" folder is left over in the C:\arcgisportal, (or equivalent path on your system). This tells portal to upgrade. If this is a new site, stop portal, delete the db folder, and try again. If it continues, I'd suggest contacting Support as index service related problems are challenging to resolve.