today I had a issue with the bot, so upgraded to the latest version.
That would be 0.2.11 I presume
now i have the following issue:
Warning: Could not connect to the AO Chat server (chat2.d1.funcom.com:7012): Host name lookup failure in /home/earthcoder/ao/AOChat.php on line 179
A failure in host name lookup is not spesific to bebot. That error is caused by either a route failure or an access failure. Possible crulpits include as already pointed out a faulty name server but might also be caused by PHP not being allowed to access sockets which might be a security measure taken by the host.
I had to run bot using php main.php & in a putty to the shell
If i run, php start.php i get
sh: line 1: php.exe: command not found
Since the above error indicated a /home/ directory I am enclined to believe that you are running on a *nix system. That means that it should _NOT_ attempt to start php.exe. However since it attempts to start php.exe and not /usr/bin/php (or similar) that means that the server is telling PHP that it's running in a windows environment.
To test this you may try to execute the command
which php
. If it returns /usr/bin/php or something similar there is a fault somewhere which I am not sure where. php.ini comes to mind but it might well be an environment variable.
Since the malfunction started without (i presume) you making any changes to the bot the cause of the malfunction is (in my opinion) caused by a change made to the server environment. You may ask the administrator of the system to list any changes recently made if there's nothing useful in the "message of the day" when you log on.
Hope that helps.