In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

You are here: Big Brother Bot ForumSupport ForumsInstallation Support (Moderator: MordyT)Help needed by install BigBrotherBot V.1.4.1 on Clear OS / Cent OS
Pages: [1]   Go Down
  Print  
Author Topic: Help needed by install BigBrotherBot V.1.4.1 on Clear OS / Cent OS  (Read 1564 times) Bookmark and Share
Newbie
*
OS: Linux
Type: Home user
Gameservers: CoD4
Posts: 4
Offline Offline
« on: December 11, 2010, 05:37:33 AM »

Hello, I am new to linux, and have downloaded and installed Clear OS on my PC.
On the PC I have a running Call of Duty 4 v1.7 server.
On that CoD4 server I want to have BigBrotherBot running on, so I installed and configured it.
But when I want to start BigbrotherBot with python  python b3_run.py, I get the following message:
Quote
[root@system ~]# cd /var/games/cod4/b3
[root@system b3]# python b3_run.py
Searching for config file: b3.xml
Searching for config file: conf/b3.xml
Searching for config file: b3/conf/b3.xml
checking for updates...
...no update available.
Starting www.bigbrotherbot.net (b3) v1.4.1 [posix] (Daniel)

Using config file: b3/conf/b3.xml
Using external plugin directory: /var/games/cod4/b3/b3/extplugins
Activating log   : /var/games/cod4/b3/b3.log
Connecting to DB : OK
Using Gamelog    : /.callofduty4/main/games_mp.log
Traceback (most recent call last):
  File "/var/games/cod4/b3/b3/run.py", line 174, in main
    run(config=options.config, nosetup=options.nosetup)
  File "/var/games/cod4/b3/b3/run.py", line 138, in run
    b3.start(config, nosetup)
  File "/var/games/cod4/b3/b3/__init__.py", line 161, in start
    console = parser(conf)
  File "/var/games/cod4/b3/b3/parser.py", line 342, in __init__
    self.input.seek(0, os.SEEK_END)
AttributeError: 'module' object has no attribute 'SEEK_END'

Now I watched the log file's for info, but that was all OK (I think)
b3.log
Quote
101211 14:27:45   BOT       www.bigbrotherbot.net (b3) v1.4.1 [posix] (Daniel)
101211 14:27:45   BOT       Python: 2.4.3 (#1, Nov 11 2010, 13:34:43)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)]
101211 14:27:45   BOT       Starting Cod4Parser v1.3.2 for server 127.0.0.1:28960
101211 14:27:45   BOT       --------------------------------------------
101211 14:27:45   BOT       Attempting to connect to database mysql://root:******@localhost/b3...
101211 14:27:45   BOT       Connected to database [1 times]
101211 14:27:45   BOT       Game log /.callofduty4/main/games_mp.log
101211 14:27:45   BOT       Starting bot reading file /.callofduty4/main/games_mp.log

b3.log.1:
Empty  Huh

Does anyone what is here the problem?



Chris Smit Cool
Logged

Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #1 on: December 11, 2010, 12:40:25 PM »

Edit: wrong info, removed
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #2 on: December 11, 2010, 02:17:14 PM »

hi, this is your python version which is too old. Search the forums for CentOS, you will find a few topics
Logged

Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD2
Posts: 63
Offline Offline
« Reply #3 on: December 11, 2010, 04:09:59 PM »

Hi,

I also use CentOS for my servers,

CentOS is basically 'always' outdated with software packages,
it's is still using the outdated python 2.4.* by default.

to use b3 1.3 and higher you need to have (i think) python 2.6.

Since CentOS don't provide this you need to install it by yourself,

Download the tarball for python, decompress it.
And manually compile your version for use.

As second you need MySQL-Python,
before an easy install i used setuptools,
install that,
then download the MySQL python.
compile/ install it (may need libraries from mysql)

Normally if you have done this correctly B3 should work fine,
unless your b3 configuration isn't correct.

Greets,
Kikker916
Logged
Newbie
*
OS: Linux
Type: Home user
Gameservers: CoD4
Posts: 4
Offline Offline
« Reply #4 on: December 12, 2010, 01:54:11 AM »

Thanx for the answers  Smiley
the path to my log file is correct, the path of the log file is: /.callofduty4/main/games_mp.log

I have already searched this forum how to install python-mysql,
But when I try to do that, it say's that i already got it Huh
This is what I have tried:
Quote
in the setup.cfg inside MySQL-python i found this:

build-requires = python-devel mysql-devel zlib-devel openssl-devel

I installed the required programs and it's working now.

Code for installing programs (Yum code)
Code:
yum install python-devel mysql-devel zlib-devel openssl-devel

I indeed read that I need Python 2.6  Wink
I've now downloaded and decompressed the tarball for python.
But I don't know how to compile it  Huh (I have no experience with linux)
Does anyone can explain how to do that?
If you would do that for me, I think that's fine, but I must now what you've did.
This is because it is a test server, the "real" server comes next, so I now what to do with that then Wink

Chris  Cool
Logged
Newbie
*
OS: Linux
Type: Home user
Gameservers: CoD4
Posts: 4
Offline Offline
« Reply #5 on: December 14, 2010, 11:04:21 AM »

Anyone a suggestion / fix for me?
Logged
Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD2
Posts: 63
Offline Offline
« Reply #6 on: December 14, 2010, 12:42:40 PM »

Ok,

short information:
all things in the code section is putty / terminal code

Code:
wget http://www.python.org/ftp/python/2.6.6/Python-2.6.6.tar.bz2
tar -xf Python-2.6.6.tar.bz2
cd Python-2.6.6
./configure
make
make install
This should compile Python 2.6 for you,
if you don't have make on your system do this first:
Code:
Yum groupinstall "development libaries" "development tools"

The ./configure part till make install work on most things you need to 'compile'
on linux.

I could even help you with the installation over Teamviewer,

Greets,
Kikker916 / Selbie
Logged
Newbie
*
OS: Linux
Type: Home user
Gameservers: CoD4
Posts: 4
Offline Offline
« Reply #7 on: December 16, 2010, 10:48:39 AM »

Thanx  Grin
Probably it works now Cheesy
I'll get this when I start BigBroterBot:

Quote
[root@system b3]# python b3_run.py
Searching for config file: b3.xml
Searching for config file: conf/b3.xml
Searching for config file: b3/conf/b3.xml
checking for updates...
...no update available.
Starting www.bigbrotherbot.net (b3) v1.4.1 [posix] (Daniel)

Using config file: b3/conf/b3.xml
Using external plugin directory: /var/games/cod4/b3/b3/extplugins
Activating log   : /var/games/cod4/b3/b3.log
[root@system b3]#

Is this okay?

Thx for the information, it helps me allot  Cool
Logged
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #8 on: December 16, 2010, 12:23:09 PM »

The bot is not started fully...

*Via my HTC EvO 4G*
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Beta Testers
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD2
Posts: 63
Offline Offline
« Reply #9 on: December 16, 2010, 12:48:34 PM »

Try the bot level 9,

Post your b3.xml, without password.
Also a b3.log would be nice.

Greets,
Kikker916/ Selbie
Logged
Tags: install  BigBrotherBot  V.1.4.1  ClearOS  Cent OS 
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal