Newcomer1989 / TSN-Ranksystem

A PHP Bot that assigns time based server groups on TeamSpeak3.
https://ts-ranksystem.com
GNU General Public License v3.0
142 stars 60 forks source link

Bot crashed - what is the reason? #32

Closed mobzftw closed 8 years ago

mobzftw commented 8 years ago

When I type "php worker.php status" and it replies saying that the service is running, but the "bot" is not connected to the server. I type "php worker.php restart" and I get the following: Stopping the Ranksystem Bot. Wait until Bot is down...... [Failed] Starting the Ranksystem Bot. [OK] The bot then reconnects to the server and begins to read time again.

Any ideas?

Newcomer1989 commented 8 years ago

Its possible that the Bot "crashes". 1) The TeamSpeak server was offline, 2) connection from Bot to TeamSpeak server was lost/forbidden or 3) the Ranksystem have had a problem.

What does the log says?

But for this szenario you should use the cronjob. More read here: https://github.com/Newcomer1989/TSN-Ranksystem/issues/9