Moved logfile creation to before user switch occurs, and chown'd logfile & pidfile to switched user
Moved logfile creation to before user switch occurs, and chown'd logfile & pidfile to switched user

Logging failure of chowns and unlinks

productsupcom/GearmanManager,hhy5861/GearmanManager,yonglehou/GearmanManager,productsupcom/GearmanManager,brianlmoon/GearmanManager,hechunwen/GearmanManager,hhy5861/GearmanManager,yonglehou/GearmanManager,hechunwen/GearmanManager,lvbaosong/GearmanManager