Add instructions on how to troubleshoot bots

Change-Id: I18ed46a1f1a87d6545541502f499eeab5e80c692
This commit is contained in:
Yolanda Robla 2015-12-21 16:58:13 +01:00
parent 292b3e5124
commit 890a56d1b9

View File

@ -317,3 +317,27 @@ Tips
the new channel.
* Don't leave the channel until everything is done, it's non-trivial to
rejoin because you've set up a forward!
Troubleshooting
===============
Bots may stop responding, common steps to troubleshoot the problem are:
1. Check status of the bot, with:
service xxxbot status
If bot is stopped, start it again. Restart the bot if you see it's running
but not operating properly.
2. On bot restart, it may show problems connecting to chat.freenode.net.
If bot logs show it's stopped on connection, you can manually try with:
telnet chat.freenode.net 6667
3. For bots on the eavesdrop server: if you don't have connection to that
port, check entries on /etc/hosts for chat.freenode.net, until you find one
server that is operative. Switch the entries on /etc/hosts to choose
the right one, and restart the service with:
sudo service xxxbot restart