PDA

View Full Version : CentOS 5 problems with installing b3



OwNeR
17th June 2014, 19:59
Hello,
I have tried to install b3 on my CentOS machine using this guide:https://www.youtube.com/watch?v=j4QUkwf2pXQ
I have done everything step by step (if it didn't worked like tutorial says i got it from somewhere else and it worked)
at the end (last steps) i got new errors when i start b3 (/etc/init.d/b3 start)
This is the problem:

/etc/init.d/b3: line 33: syntax error near unexpected token `then'
/etc/init.d/b3: line 33: ` if [ ! -d "$PIDDIR" ] ; then'
PIDDIR=`dirname "$B3_PID_FILE"`
if [ "$PIDDIR" -a "$PIDDIR" != "/var/run" ] ; then
if [ ! -d "$PIDDIR" ] ; then
I used code on this website:
http://forum.bigbrotherbot.net/configurations/controlling-script-for-ubuntu/
There is also a picture where i was trying to fix that (some players on B3 forum told me to try it)
719

kung foo man
18th June 2014, 07:43
I never used such boot script to start b3, try just to run it with python:



python2.6 b3_run.py

Mitch
18th June 2014, 14:25
Maybe these 2 pages have some useful information

B3 doesn’t support python 2.4 and I’m on CentOS... now what?
http://bigbrotherbot-user-documentation.readthedocs.org/en/latest/faq.html#b3-doesn-t-support-python-2-4-and-i-m-on-centos-now-what

B3 1.3 does not support python 2.4
http://forum.bigbrotherbot.net/installation-support/b3-1-3-does-not-support-python-2-4-(centos)(solved)/

OwNeR
18th June 2014, 18:34
Thanks for answers, i will try both as soon as i can.

OwNeR
18th June 2014, 20:43
ok, i have installed python 2.6 and used
python2.6 b3_run.py b3 finally started.

Starting www.bigbrotherbot.net (b3) v1.9.2 [posix] [PoisonIvy]

Using config file: b3/conf/b3.xml
checking for updates...

latest B3 stable version is 1.9.2
...no update available.
Using external plugin directory: /root/b3/b3/extplugins
Activating log : /root/cod2/gamecreate/callofduty2/b3/b3.log

My B3 log = http://pastebin.com/download.php?i=EaNBTku5

OwNeR
19th June 2014, 08:22
ok, i have tried to install python_mysqldb with this tutorial:
http://www.bigsoft.co.uk/blog/index.php/2011/07/07/installing-python-2-7-with-mysql-support-on-plesk-centos-5-5
When i tried to run

python setup.py build
i got this error:
http://pastebin.com/download.php?i=9pBYVwsv