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)Remote installation help / ready to pay someone!
Pages: [1]   Go Down
  Print  
Author Topic: Remote installation help / ready to pay someone!  (Read 2374 times) Bookmark and Share
Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: Remote b3 to CoD5
Posts: 22
Offline Offline
WWW
« on: February 21, 2010, 03:30:32 PM »

Seriously, I'm ready to give someone access and PAY them $$ to install this for me.

We've had b3 and XLRstats running for months now on our dedicated server box for CoD:WaW with no problems. Well, most of my clan is switching over to BC2, but a few of us want to keep our WAR server. This means switching to a slot-server from a dedicated server, which I'm not allowed to install MySQL or b3 or anything other than a game server really. This will happen in about 2 weeks.

In the meantime, I'm trying to install b3 on a new server, and remotely connect to my game server. This is a brand new box, with Ubuntu 9.1.0 and fresh installs of MySQL, Python, everything. Downloaded and installed b3, created the db, run the python setup file, editted my b3 config xml file to remotely connect to my current dedicated server (just to practice and make sure I can do it, so when the dedi goes down and new slot server comes up, transition will be basically just changing the ip's and ftp info in the b3.xml config file).

This is what I'm getting when I try to run it. I'm not sure if I screwed up the b3 install on my b3-host box, or if the problem is my dedicated game server refusing FTP connection or what.

So much other stuff going on, I'm literally willing to pay someone to install this for me, will give you access to anything you need.


Anyway, when I try to run b3, I get this:

Code:
Starting www.BigBrotherBot.com (b3) v1.2.1b [posix] (Daniel)

Using config file: /home/b3/conf/b3_war.xml
Activating log   : /home/b3/logs/b3.log
Connecting to DB : OK
And it just hangs there indefinitely, here's what I got in the log file:

b3.log
Code:
100221 17:17:06 BOT     www.BigBrotherBot.com (b3) v1.2.1b [posix] (Daniel)
100221 17:17:06 BOT     Python: 2.6.4 (r264:75706, Dec  7 2009, 18:43:55)
[GCC 4.4.1]
100221 17:17:06 BOT     Starting Cod5Parser server for 209.239.120.58:28960
100221 17:17:06 BOT     --------------------------------------------
100221 17:17:06 BOT     Attempting to connect to database mysql://login-removed:password-removed@localhost/b3...
100221 17:17:06 BOT     Connected to database [1 times]
100221 17:17:06 BOT     Working in Remote-Log-Mode
100221 17:17:06 BOT     Game log ftp://login-removed:password-removed@209.239.120.58/home/ibcod/.codwaw/main/war_games_mp.log
100221 17:17:06 ERROR   STDERR Traceback (most recent call last):

100221 17:17:06 ERROR   STDERR   File "/usr/local/games/b3-1.2.1/b3_run.py", line 28, in <module>

100221 17:17:06 ERROR   STDERR
100221 17:17:06 ERROR   STDERR main()
100221 17:17:06 ERROR   STDERR

100221 17:17:06 ERROR   STDERR   File "/usr/local/games/b3-1.2.1/b3_run.py", line 25, in main

100221 17:17:06 ERROR   STDERR
100221 17:17:06 ERROR   STDERR b3.run.main()

100221 17:17:06 ERROR   STDERR   File "/usr/local/games/b3-1.2.1/b3/run.py", line 121, in main

100221 17:17:06 ERROR   STDERR
100221 17:17:06 ERROR   STDERR run(config=options.config)

100221 17:17:06 ERROR   STDERR   File "/usr/local/games/b3-1.2.1/b3/run.py", line 100, in run

100221 17:17:06 ERROR   STDERR
100221 17:17:06 ERROR   STDERR b3.start(config)

100221 17:17:06 ERROR   STDERR   File "/usr/local/games/b3-1.2.1/b3/__init__.py", line 98, in start

100221 17:17:06 ERROR   STDERR
100221 17:17:06 ERROR   STDERR console = parser(conf)

100221 17:17:06 ERROR   STDERR   File "/usr/local/games/b3-1.2.1/b3/parser.py", line 235, in __init__

100221 17:17:06 ERROR   STDERR
100221 17:17:06 ERROR   STDERR ftp=FTP(ftpconfig['host'], ftpconfig['user'], ftpconfig['password'])

100221 17:17:06 ERROR   STDERR   File "/usr/lib/python2.6/ftplib.py", line 116, in __init__
100221 17:17:06 ERROR   STDERR
100221 17:17:06 ERROR   STDERR self.connect(host)

100221 17:17:06 ERROR   STDERR   File "/usr/lib/python2.6/ftplib.py", line 131, in connect

100221 17:17:06 ERROR   STDERR
100221 17:17:06 ERROR   STDERR self.sock = socket.create_connection((self.host, self.port), self.timeout)

100221 17:17:06 ERROR   STDERR   File "/usr/lib/python2.6/socket.py", line 514, in create_connection

100221 17:17:06 ERROR   STDERR
100221 17:17:06 ERROR   STDERR raise error, msg

100221 17:17:06 ERROR   STDERR socket
100221 17:17:06 ERROR   STDERR .
100221 17:17:06 ERROR   STDERR error
100221 17:17:06 ERROR   STDERR :
100221 17:17:06 ERROR   STDERR [Errno 111] Connection refused
100221 17:17:06 ERROR   STDERR

And here's what I have in my b3.xml config file (logins/passwords removed) for remotely connecting
Code:
<set name="game_log">ftp://login:password@209.239.120.58/home/ibcod/.codwaw/main/war_games_mp.log</set>

Any ideas? Or any one willing to install it for me for a reasonable price?

Also, what do I have to have on my game server running, ftp daemon of some sort to allow b3 to connect and read the game log file?
« Last Edit: February 21, 2010, 03:34:25 PM by Kellithe » Logged

Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: Remote b3 to CoD5
Posts: 22
Offline Offline
WWW
« Reply #1 on: February 21, 2010, 03:38:32 PM »

Well nevermind... pretty sure it's just the dedicated box blocking FTP. But all those other errors, is that due to not being able to access the game log?
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3477
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #2 on: February 21, 2010, 03:43:55 PM »

Quote
all thoses errors
it is in fact only one error but its backtract takes multiple lines of log.

Anyway you can confirm the issue by opening a terminal on your ubuntu box and typing :
Code:
wget ftp://login:password@209.239.120.58/home/ibcod/.codwaw/main/war_games_mp.log
If this command fails, then the bot won't be able to do better.

btw: nice post. very clear and complete, you use code and quote tags..... I wish everyone could follow your exemple Wink
« Last Edit: February 21, 2010, 03:45:26 PM by Courgette » Logged

Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: Remote b3 to CoD5
Posts: 22
Offline Offline
WWW
« Reply #3 on: February 21, 2010, 03:45:45 PM »

Thanks Courgette, that's the problem, so I just need to make sure on my slot-server when it comes online, to have FTP installed and open on it?
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3477
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #4 on: February 21, 2010, 03:48:06 PM »

I bet it will have FTP access as this is usually the case when you rent a 'per slot' gameserver. The FTP is then used to update your gameconfig / maps / mods.

BC2 ? Battlefield Bad Company 2 ? B3 wont work with this game.
Logged

Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: Remote b3 to CoD5
Posts: 22
Offline Offline
WWW
« Reply #5 on: February 21, 2010, 03:53:16 PM »

Ya bad company 2, ya I know it won't work. I didn't explain our situation clearly lol. Basically we have about 20 clan members that are all donating to pay for a $163/month dedicated box. The only thing we're running on that box is one CoD5 32 slot server, and b3+xlrstats. That's it. Obviously over paying.

So we're switching it from a dedicated box (where I have full access via SSH and can install anything I want) to a slot server that is only accessible via a cPanel and only thing allowed on it is the game server. Most of my clan, minus a few of us, are going to Bad Company 2 and aren't interesting in paying for an expensive dedicated box just for one CoD server and b3. So I'm having to get a seperate VPS server just to run b3/xlrstats/apache/mysql/etc on, and remotely connect to my future-cod-slotserver.

I was just trying to practice setting up a remote b3 while our dedicated box is still up, but it doesn't have ftp installed (on tech support ventrilo with the company now). I can install FTP on it and try again though, and then it should work.

Thanks for your replies!
Logged
Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: Remote b3 to CoD5
Posts: 22
Offline Offline
WWW
« Reply #6 on: February 21, 2010, 04:23:37 PM »

Sweet, after installing proFTPd on the dedicated box, it works like a charm.
Shame on me for not making sure it had ftp to begin with, and creating a thread for no reason lol. Sad

Thanks for pointing me in the right direction!
Logged
Jr. Member
**
OS: Windows
Type: Gameserver Rental Co.
Gameservers: CoD4, CoD5, more soon
Posts: 40
Offline Offline
WWW
« Reply #7 on: March 01, 2010, 02:31:46 PM »

well look at the list of GSP b3 has here on the site for hosts that offer b3 u must make sure u get a gsp that allows b3 to run! most places dont allow it because its very taxing on the systems
Logged
B3 Contrib/Support
*
OS: Linux
Type: Home user
Gameservers: Over see 25 URT servers / B3 servers (not all mine)
Posts: 339
Offline Offline
WWW
« Reply #8 on: March 03, 2010, 05:34:17 PM »

most places dont allow it because its very taxing on the systems

they should update their gear to the year 2000 at least  Tongue, I run 3 B3 bots off a dual P3 1Ghz (coppermine) box with 2Gb of ram pc-133 reg'ed ECC, with other services, and see zero taxing 
Logged
Jr. Member
**
OS: Windows
Type: Gameserver Rental Co.
Gameservers: CoD4, CoD5, more soon
Posts: 40
Offline Offline
WWW
« Reply #9 on: March 04, 2010, 08:48:54 AM »

yes...that maybe so...but u run for how many servers? the constant read/write if u use remote db takes lost of bandwidth and then if u do statusftp plugin there is more bandwidth on a constant use...just because u have a good system and run the bot for maybe 2 servers...it wont be taxing but if u run several instances of the bot for several servers u looking at a very taxing application
Logged
B3 Contrib/Support
*
OS: Linux
Type: Home user
Gameservers: Over see 25 URT servers / B3 servers (not all mine)
Posts: 339
Offline Offline
WWW
« Reply #10 on: March 04, 2010, 09:42:19 PM »

on that box I host: 1 local urt with b3 and 2 remote b3's that are located on the gameservers.com network plus mumble, flashchat, forums, flowplayer.
Code:
top - 21:41:55 up 8 days, 17:45,  1 user,  load average: 0.00, 0.00, 0.00
Tasks: 144 total,   1 running, 143 sleeping,   0 stopped,   0 zombie
Cpu(s):  3.2%us,  2.1%sy,  0.0%ni, 94.7%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   2061708k total,  1485324k used,   576384k free,   465264k buffers
Swap:  2996080k total,        0k used,  2996080k free,   328360k cached

ohh in defense to the 8 day up time, I just did a kernel update.

Code:
<plugin name="chatlogger" priority="1" config="@b3/extplugins/conf/plugin_chatlogger.xml"/>
    <plugin name="chat" priority="2" config="@b3/extplugins/conf/plugin_chat.xml"/>
    <plugin name="spamcontrol" priority="3" config="@b3/conf/plugin_spamcontrol.xml"/>
    <plugin name="admin" priority="4" config="@b3/conf/plugin_admin.xml"/>
    <plugin name="tk" priority="5" config="@b3/conf/plugin_tk.xml"/>
    <plugin name="stats" priority="6" config="@b3/conf/plugin_stats.xml"/>
    <plugin name="adv" priority="7" config="@b3/conf/plugin_adv.xml"/>
    <plugin name="status" priority="8" config="@b3/conf/plugin_status.xml"/>
    <plugin name="welcome" priority="9" config="@b3/conf/plugin_welcome.xml"/>
    <plugin name="publist" priority="10" config="@b3/conf/plugin_publist.xml"/>
    <plugin name="xlrstats" priority="11" config="@b3/extplugins/conf/xlrstats.xml"/>
    <plugin name="poweradminurt" priority="12" config="@b3/extplugins/conf/poweradminurt.xml"/>
    <plugin name="spree" priority="13" config="@b3/extplugins/conf/plugin_spree.xml"/>
    <plugin name="headshotsurt" priority="14" config="@b3/extplugins/conf/headshots.xml"/>
    <plugin name="ctime" priority="15" config="@b3/extplugins/conf/plugin_ctime.xml"/>
    <plugin name="knifer" priority="16" config="@b3/extplugins/conf/knifer.xml"/>
    <plugin name="pingkicker" priority="17" config="@b3/extplugins/conf/plugin_pingkicker.xml"/>
    <plugin name="banlist" priority="18" config="@b3/extplugins/conf/banlist.xml"/>
    <plugin name="forumlink" priority="19" config="@b3/extplugins/conf/forumlink.xml"/>
on the 3 bots  Grin
« Last Edit: March 04, 2010, 10:09:46 PM by ryry46d9 » Logged
B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #11 on: March 07, 2010, 07:20:56 AM »

yes...that maybe so...but u run for how many servers? the constant read/write if u use remote db takes lost of bandwidth and then if u do statusftp plugin there is more bandwidth on a constant use...just because u have a good system and run the bot for maybe 2 servers...it wont be taxing but if u run several instances of the bot for several servers u looking at a very taxing application

I've heard this argument before, but what you're forgetting is that b3 files are quite small. A status file is likely to be in the region of 5kb, even if you update it every minute you're looking at transfers of about 7.2MB in an entire day, which is likely less than simply browsing b3.com for a few minutes.

Honestly, about a year ago I stress tested B3 on an Intel Atom based computer, (very slow, can't even run youtube properly) and I had in the region of 50 bots running in debug mode before it fully loaded the processor. B3 is not very power intensive and running many bots is not a problem, especially if MySQL is remotely hosted since then a different computer is taking up the slack.

MySQL is the least of your worries because it is very mature software and any concerns about disk usage tend to be fears rather than any hard evidence.
Logged

Jr. Member
**
OS: Windows
Type: Gameserver Rental Co.
Gameservers: CoD4, CoD5, more soon
Posts: 40
Offline Offline
WWW
« Reply #12 on: March 07, 2010, 04:40:01 PM »

lol well that was the last i heard for gameservers.com not running b3 or atleast offering support of b3 unless you owned your own box.
Logged
B3 Contrib/Support
*
OS: Linux
Type: Home user
Gameservers: Over see 25 URT servers / B3 servers (not all mine)
Posts: 339
Offline Offline
WWW
« Reply #13 on: March 07, 2010, 05:19:27 PM »

yeah thankfully  we got ftptail  Wink
Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal