winbindd dead but pid file exists

When trying to start winbind on RHEL 6,I got below error message

#service winbind start
winbindd dead but pid file exists

Trying to delete lock files from /var/lock/subsys did not helped,after a bit of investigation,I realize that I did not joined this machine to AD domain

# net ads join -U Administrator

and after this starting winbind was ok

  1. service winbind start
  2. chkconfig winbind on

Documenting this only to help if someone of you face this issue too


#rhel6, #winbindd