Results 1 to 6 of 6

Thread: CentOS 5 problems with installing b3

  1. #1
    ... connecting
    Join Date
    May 2014
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    CentOS 5 problems with installing b3

    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/confi...pt-for-ubuntu/
    There is also a picture where i was trying to fix that (some players on B3 forum told me to try it)
    Click image for larger version. 

Name:	untitlead.png 
Views:	38 
Size:	16.2 KB 
ID:	719

  2. #2
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    I never used such boot script to start b3, try just to run it with python:

    Code:
    python2.6 b3_run.py
    timescale 0.01

  3. #3
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    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-documentat...entos-now-what

    B3 1.3 does not support python 2.4
    http://forum.bigbrotherbot.net/insta...ntos)(solved)/

  4. #4
    ... connecting
    Join Date
    May 2014
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thanks for answers, i will try both as soon as i can.

  5. #5
    ... connecting
    Join Date
    May 2014
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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
    Last edited by OwNeR; 18th June 2014 at 21:22.

  6. #6
    ... connecting
    Join Date
    May 2014
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts
    ok, i have tried to install python_mysqldb with this tutorial:
    http://www.bigsoft.co.uk/blog/index....esk-centos-5-5
    When i tried to run
    python setup.py build
    i got this error:
    http://pastebin.com/download.php?i=9pBYVwsv

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •