Monday, June 16, 2008
iwlocal event fails - teamsite
Problem:
Today we had a horrible problem with teamsite. It appeared that no submit deployments were running since the box was rebooted for some patching.
Our submit deployments are configured in [TS_HOME]/local/iwlocal.cfg
where on 'iwatsub' event, a custom script kicks off the deployment.
This custom script logs to a file, and tailing that file showed that the script never ran, ever!
Solution:
after a bit of digging, i realized that the event subsystem was probably down. This is how you restart it, to fix this problem:
sudo /etc/init.d/iw.local stop
sudo /etc/init.d/iw.local start
after restarting iw.local the submit deployments started running again. It may be the case, that iw.local needs to run after a reboot, and does not do so automatically.
Subscribe to:
Post Comments (Atom)
Thanks Mikhail, your posts are very useful, it's tips and tricks like this that should be on devnet and often aren't.
ReplyDelete