Problem
You have followed Harbar’s Rational Guide to setting up the User Profile Service Application in SharePoint 2010 but the User Profile Service is still stuck on starting.
Solution
Ensure that the account you are running the UPS service is a local administrator for the provisioning process.
This is normally the farm account which also runs the SharePoint Timer service. You can remove admin rights later. If it is not a local admin, you will need to restart the Timer service after you grant the correct permissions.
Log on as the account that will run the User Profile Synchronization service.
If the User Profile Service Synchronisation Service is stuck on ‘Starting’:
- Run SharePoint Management Shell as a farm administrator.
- Type: stop-spserviceinstance | where { $_.typename -eq “user profile synchronization service” }
- The User Profile Synchronization service status should now be ‘Stopped’ or ‘Disabled’.
Check the Certificates store on the server that runs the User Profile Synchronisation Service and delete all the ForefrontIdentityManager certificates.
- Start -> Run -> mmc
- File -> Add / Remove Snap-in
- Select Certificates -> Computer Account -> Finish -> Local Computer -> Finish -> OK
- Expand Certificates -> Personal -> Certificates
- Delete all ForefrontIdentityManager certificates (if you have tried to provision the UPS unsuccessfully several times, you will see more than one certificate).
- Expand Certificates -> Trusted Root Certification Authorities -> Certificates
- Delete all ForefrontIdentityManager certificates (if you have tried to provision the UPS unsuccessfully several times, you will see more than one certificate).
Set the FIM Services to run as Local System
- Start -> Run -> services.msc
- Locate the two FIM Services: Forefront Identity Manager Service, Forefront Identity Manager Synchronization Service.
- Edit properties and set it to run as Local System account.
Check Central Administration for the ProfileSynchronizationSetupJob and delete any running jobs.
- Go to Central Administration -> Monitoring
- Delete the job.
Provision the User Profile Service using Central Administration.
Run your ULS logger to see what is happening. It should take no longer than 10 minutes to provision.
Fuente: http://www.mysharepointadventures.com/2012/01/user-profile-service-stuck-on-starting/
Comentarios