BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.4 support => Topic started by: neukku1 on November 03, 2007, 06:10:01 pm

Title: Bebot 0.4.2 linux problem
Post by: neukku1 on November 03, 2007, 06:10:01 pm
Running bebot 0.3x now and trying to go 0.4.2. No go. doing new db and configured all things like they was in 0.3 but when i do php StartBot.php nothing happend. No logs (is set all) no tables in db. no connect. no error mess etc.

Tried use copy from 0.3x db but still nothing.

Mysql is 4.1.11 and php is 4.2.2 .. could that php ver be problem ? Its sooo hard to update that so i really hope i don't need to do that :D

And can i use old db that i use now in 0.3x ?
Title: Re: Bebot 0.4.2 linux problem
Post by: Tichy on November 04, 2007, 07:06:21 pm
Is there any output on the console? Is you php binary named 'php' and in the search path? The default php.ini used by the StartBot.php script contains a line:

Code: [Select]
; Mainly for windows where additional modules are always required
extension_dir = ./php_extension/

On most Unix systems this brings a lot of trouble, since php is unable to find its mysql etc. extensions.

The php and mysql version seems to be ok.
Title: Re: Bebot 0.4.2 linux problem
Post by: Blueeagle on November 05, 2007, 12:45:55 am
I cannot see how you can get no output at all when running "php StartBot.php" in the console. To help debug try the following commands

Code: [Select]
which php

php --version

That should give some useful info to help start debugging.
Title: Re: Bebot 0.4.2 linux problem
Post by: neukku1 on November 05, 2007, 12:43:20 pm
Yep no output at all :D

which php
/usr/bin/php

php --version gives me .. nothing too :D

ok its broken and should be upgraded i think .. i try other machine with php 5.1.4 and i got nice "logo" and text "you need socket extension" etc so .. It works better in new version i think.

php --version < hangs
php --v      < hangs
php --help < hangs
php -v
4.2.2

php --help < hangs

so .. :D i do upgrade and hope that helps.. thanks eveyone.
Title: Re: Bebot 0.4.2 linux problem
Post by: neukku1 on November 06, 2007, 08:56:52 pm
Closed. upgrading php and install all extensions.. 0.4.2 is up.
Miss table upgrade thing from 0.3.x to 0.4.x

Thanks all..
SimplePortal 2.3.7 © 2008-2025, SimplePortal