Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, December 12, 2014 1:58 PM
I noticed this morning that the User profile synchronization service on one of my application servers is stuck in "Starting".
How do I stop that hung thread and start it again?
All replies (10)
Tuesday, December 16, 2014 7:51 PM ✅Answered
Well, for some reason, the two application servers were both trying to execute the user profile sync - I don't know why, since no one has touched that for about a year now.
But in any case, after turning one of them off and running an iisreset, then realizing that I needed to set the NetBIOSDomainNameEnabled flag to true and create yet again the sync connection, I was finally able to get the user profile sync working.
Thank you all!
Friday, December 12, 2014 2:11 PM
Hi,
First of all to stop the User Profile Synchronization Service you need to run a Powershell Command.
Open up Powershell on your SharePoint Server and type in the following command
Get-spserviceinstance
This will list out all of the services on your SharePoint Server with their associated GUID’s. Copy the GUID for the User Profile Synchronization Service.
Then run the following command to stop the User Profile Synchronization Service.
Stop-spserviceinstance <GUID>
Now go back into Central Administration > Application Management > Manage Service Applications and delete the User Profile Service Application.
Restart your server and set up the User Profile Service Application again.
Please mark the same as answer if it helps you.
Saturday, December 13, 2014 9:13 PM
unfortunately this didnt help.
the recreated user profile sync service won't start.
Monday, December 15, 2014 7:00 AM
Please check if your App Fabric service is installed correctly.
I recommend you to install App Fabric service again.
This has fixed my issue.
Please keep me posted.
Monday, December 15, 2014 9:10 AM
HI,The issue could be of IIS,DB and FIM services.Please check the below link that explains the same issues and the resolution.
http://expertsharepoint.blogspot.de/2014/03/user-profile-synchronization-service.html
Anil Avula[Partner,MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/
Monday, December 15, 2014 12:22 PM
What is App Fabric service?
Monday, December 15, 2014 12:24 PM
I read the article but was uncertain what was being said.
But at this point I already have recreated the profile service.
Now instead of hanging in the "Starting" state, it says starting for a bit and then says stopped.
When I look in the event and ULS, I see nothing specific that appears to indicate why it is not starting.
Monday, December 15, 2014 12:35 PM
Hi,
Please check Sync DB permission, service account should have DB owner permission.
We had simillar issue, after giving permission it resolved.
Regards
Prasad Tandel
Monday, December 15, 2014 12:43 PM
HI Iwvirden,
Can you check the user profile time job ?.
do one think can deleted the "ProfileSynchronizationSetupJob" listed the Timer Job List and restarted App server. then reprovisened User profile Synchronization Service which worked this time perfectly.
Please mark the Answer and vote me if you think that it will help you
Monday, December 15, 2014 1:30 PM
Hi,
Note the following:
Ensure that the Farm account is in the local admin group when creating the User Profile service.
Don't start or stop the FIM services using services.msc, these are controlled by Sharepoint. Doing this more than likely break your User Profile Sync Application.
I have followed the following a number of times:
- Ensure Farm permissions above, (whilst logged in with Setup account).
- Delete User Profile App.
- Restart server.
- Log in with Setup account.
- Recreate User Profile App.
- Reboot server.
- Log in with setup account.
- Start user Profile Sync Service. (Wait at least 15 minutes).
- Perform IISReset.
- Remove Farm account from Admin group.
Thanks.
Kind regards, Kev