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)ftpytail plugin supports sftp?
Pages: [1] 2   Go Down
  Print  
Author Topic: ftpytail plugin supports sftp?  (Read 1156 times) Bookmark and Share
Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: cod4
Posts: 14
Offline Offline
« on: August 31, 2010, 02:08:27 PM »

Hi, I recently bought a new cod4 gameserver on xgservers.co.uk.
I had one there a couple of months ago and I got b3 running on my home server and working with the paid gameserver.

Now I have installed b3 again on my homeserver but it doesn't seem to run.
I checked the log and everything seemed okay except for an error with the ftpytail plugin.

The plugin can't connect to the ftp server. I tried everything for the game_log var in conf/b3.xml like '%20' instead of spaces, different ftp users, directions with /.../,
sftp://..., but none of them seem to work, I know the user and pass and ip or something like that is not wrong, because I have tested them.

Now I think that maybe ftpytail doesn't support sftp?

on the other hand, my b3 runs fine, seeing it says one thing in the server when b3 is started, but it doesn't welcome ppl and commands are not working.
Oh and btw, when b3 is starting it checks for the games_log and there seems to be nothing wrong, untill the ftpytail plugin is starting.
I installed on linux this time with the .egg


thx for your help  Smiley
Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3485
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #1 on: August 31, 2010, 02:10:45 PM »

B3 does not support sftp. Only ftp.
Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3485
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #2 on: August 31, 2010, 04:41:33 PM »

Maybe not Smiley
If you are courageous, you can be my guinea pig for SFTP support in B3.

If you want to give a try to B3 over SFTP, use my dev version

You will need to install B3 from sources after having installed all dependencies as described in our documentation.
Note that SFTP support adds two dependencies :

SFTP support in B3 is very experimental and you will be the only and first user to try it at first.
« Last Edit: August 31, 2010, 04:43:07 PM by Courgette » Logged

Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: cod4
Posts: 14
Offline Offline
« Reply #3 on: September 02, 2010, 02:42:31 AM »

Ok, I tried your dev version, installed de 2 dependencies but I still get the same error.
Then it came to mind that I don't think my gameserver provider doesn't use sftp but just uses port 22, so I tested this out with filezilla and yes, I cannot connect to the server over sftp://

This is my logfile
Code:
100902 12:37:23 BOT     www.BigBrotherBot.com (b3) v1.3.3 [posix] (Daniel)
100902 12:37:23 BOT     Python: 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3]
100902 12:37:23 BOT     Starting Cod4Parser v1.3.2 for server 217.146.84.246:28940
100902 12:37:23 BOT     --------------------------------------------
100902 12:37:23 BOT     Attempting to connect to database mysql://b3:******@localhost/b3...
100902 12:37:23 BOT     Connected to database [1 times]
100902 12:37:23 BOT     Working in Remote-Log-Mode : ftp://koeng:mypass@217.146.84.245:22/.../logb3.log
100902 12:37:23 BOT     Starting bot reading file games_mp.log
100902 12:37:23 BOT     Loading Plugins (external plugin directory: /usr/local/lib/python2.6/dist-packages/b3-1.3.3-py2.6.egg/b3/extplugins)
100902 12:37:23 BOT     Loading Plugin #1 censor [@conf/plugin_censor.xml]
100902 12:37:23 BOT     CensorPlugin: Loading config @conf/plugin_censor.xml for CensorPlugin
100902 12:37:23 DEBUG Register Event: Stop Process: CensorPlugin
100902 12:37:23 DEBUG Register Event: Program Exit: CensorPlugin
100902 12:37:23 BOT     Plugin censor (2.2.0 - ThorN) loaded
100902 12:37:23 BOT     Loading Plugin #2 spamcontrol [@conf/plugin_spamcontrol.xml]
100902 12:37:23 BOT     SpamcontrolPlugin: Loading config @conf/plugin_spamcontrol.xml for SpamcontrolPlugin
100902 12:37:23 DEBUG Register Event: Stop Process: SpamcontrolPlugin
100902 12:37:23 DEBUG Register Event: Program Exit: SpamcontrolPlugin
100902 12:37:23 BOT     Plugin spamcontrol (1.1.2 - ThorN) loaded
100902 12:37:23 BOT     Loading Plugin #3 admin [@conf/plugin_admin.xml]
100902 12:37:23 BOT     AdminPlugin: Loading config @conf/plugin_admin.xml for AdminPlugin
100902 12:37:23 DEBUG Register Event: Stop Process: AdminPlugin
100902 12:37:23 DEBUG Register Event: Program Exit: AdminPlugin
100902 12:37:23 BOT     Plugin admin (1.7 - ThorN, xlr8or, Courgette) loaded
100902 12:37:23 BOT     Loading Plugin #4 tk [@conf/plugin_tk.xml]
100902 12:37:23 BOT     TkPlugin: Loading config @conf/plugin_tk.xml for TkPlugin
100902 12:37:23 DEBUG TkPlugin: tk max level is 40
100902 12:37:23 DEBUG TkPlugin: Send messages privately ? True
100902 12:37:23 DEBUG Register Event: Stop Process: TkPlugin
100902 12:37:23 DEBUG Register Event: Program Exit: TkPlugin
100902 12:37:23 BOT     Plugin tk (1.2.4 - ThorN) loaded
100902 12:37:23 BOT     Loading Plugin #5 stats [@conf/plugin_stats.xml]
100902 12:37:23 BOT     StatsPlugin: Loading config @conf/plugin_stats.xml for StatsPlugin
100902 12:37:23 DEBUG AdminPlugin: Command "mapstats (mstats)" registered with cmd_mapstats for level (1, 100)
100902 12:37:23 DEBUG AdminPlugin: Command "testscore (ts)" registered with cmd_testscore for level (1, 100)
100902 12:37:23 DEBUG AdminPlugin: Command "topstats (tstats)" registered with cmd_topstats for level (9, 100)
100902 12:37:23 DEBUG Register Event: Stop Process: StatsPlugin
100902 12:37:23 DEBUG Register Event: Program Exit: StatsPlugin
100902 12:37:23 BOT     Plugin stats (1.2.3 - ThorN) loaded
100902 12:37:23 BOT     Loading Plugin #6 pingwatch [@conf/plugin_pingwatch.xml]
100902 12:37:23 BOT     PingwatchPlugin: Loading config @conf/plugin_pingwatch.xml for PingwatchPlugin
100902 12:37:23 VERBOSE Added crontab <bound method PingwatchPlugin.check of <b3.plugins.pingwatch.PingwatchPlugin instance at 0x8feeacc>> (150954188) - [0, 30]s -1m -1h -1d -1M -1DOW
100902 12:37:23 DEBUG AdminPlugin: Command "ci (None)" registered with cmd_ci for level (20, 100)
100902 12:37:23 DEBUG Register Event: Stop Process: PingwatchPlugin
100902 12:37:23 DEBUG Register Event: Program Exit: PingwatchPlugin
100902 12:37:23 BOT     Plugin pingwatch (1.2.2 - ThorN) loaded
100902 12:37:23 BOT     Loading Plugin #7 adv [@conf/plugin_adv.xml]
100902 12:37:23 BOT     AdvPlugin: Loading config @conf/plugin_adv.xml for AdvPlugin
100902 12:37:23 VERBOSE Added crontab <bound method AdvPlugin.adv of <b3.plugins.adv.AdvPlugin instance at 0x8feeaec>> (150974572) - 0s [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58]m -1h -1d -1M -1DOW
100902 12:37:23 DEBUG Register Event: Stop Process: AdvPlugin
100902 12:37:23 DEBUG Register Event: Program Exit: AdvPlugin
100902 12:37:23 BOT     Plugin adv (1.1.4 - ThorN) loaded
100902 12:37:23 BOT     Loading Plugin #8 status [@conf/plugin_status.xml]
100902 12:37:23 BOT     StatusPlugin: Loading config @conf/plugin_status.xml for StatusPlugin
100902 12:37:23 VERBOSE Added crontab <bound method StatusPlugin.update of <b3.plugins.status.StatusPlugin instance at 0x8ffb96c>> (151378252) - [0]s -1m -1h -1d -1M -1DOW
100902 12:37:23 DEBUG Register Event: Stop Process: StatusPlugin
100902 12:37:23 DEBUG Register Event: Program Exit: StatusPlugin
100902 12:37:23 BOT     Plugin status (1.4.1 - ThorN) loaded
100902 12:37:23 BOT     Loading Plugin #9 welcome [@conf/plugin_welcome.xml]
100902 12:37:23 BOT     WelcomePlugin: Loading config @conf/plugin_welcome.xml for WelcomePlugin
100902 12:37:23 DEBUG AdminPlugin: Command "greeting (None)" registered with cmd_greeting for level (20, 100)
100902 12:37:23 DEBUG Register Event: Stop Process: WelcomePlugin
100902 12:37:23 DEBUG Register Event: Program Exit: WelcomePlugin
100902 12:37:23 BOT     Plugin welcome (1.1 - ThorN) loaded
100902 12:37:23 BOT     Loading Plugin #10 punkbuster [@conf/plugin_punkbuster.xml]
100902 12:37:23 BOT     PunkbusterPlugin: Loading config @conf/plugin_punkbuster.xml for PunkbusterPlugin
100902 12:37:23 VERBOSE Added crontab <bound method PunkbusterPlugin.rebuildBans of <b3.plugins.punkbuster.PunkbusterPlugin instance at 0x905d9ec>> (151406028) - 0s 0m 0h -1d -1M -1DOW
100902 12:37:23 DEBUG Register Event: Stop Process: PunkbusterPlugin
100902 12:37:23 DEBUG Register Event: Program Exit: PunkbusterPlugin
100902 12:37:23 BOT     Plugin punkbuster (1.0.8 - ThorN) loaded
100902 12:37:23 BOT     Loading Plugin publist
100902 12:37:23 BOT     PublistPlugin: No config file found for PublistPlugin. (was not required either)
100902 12:37:23 DEBUG Register Event: Stop Process: PublistPlugin
100902 12:37:23 DEBUG Register Event: Program Exit: PublistPlugin
100902 12:37:23 BOT     Plugin publist (1.5 - ThorN, Courgette) loaded
100902 12:37:23 BOT     Loading Plugin ftpytail
100902 12:37:23 BOT     FtpytailPlugin: No config file found for FtpytailPlugin. (was not required either)
100902 12:37:23 DEBUG Register Event: Stop Process: FtpytailPlugin
100902 12:37:23 DEBUG Register Event: Program Exit: FtpytailPlugin
100902 12:37:23 BOT     Plugin ftpytail (1.4 - Bakes) loaded
100902 12:37:23 VERBOSE RCON sending (217.146.84.246:28940) say ^0(^2b3^0)^7: ^8www.BigBrotherBot.com ^0(^8b3^0) ^9v1.3.3 [posix] ^9(^3Daniel^9)^3 ^2[ONLINE]
100902 12:37:23 VERBOSE 0 cid changed from None to -1
100902 12:37:23 DEBUG Client Connected: [-1] World - WORLD ({})
100902 12:37:23 DEBUG Storage: getClient <b3.clients.Client object at 0x906b16c>
100902 12:37:23 BOT     Client found in storage 1, welcome back World
100902 12:37:23 DEBUG Storage: setClient <b3.clients.Client object at 0x906b16c>
100902 12:37:23 DEBUG Storage: setClient data {'time_add': 1283268798, 'time_edit': 1283423843, 'name': 'World', 'group_bits': 0, 'ip': '', 'auto_login': 1, 'greeting': '', 'pbid': 'WORLD', 'connections': 36, 'mask_level': 0, 'guid': 'WORLD', 'id': 1}
100902 12:37:23 DEBUG Client Authorized: [-1] World - WORLD
100902 12:37:24 VERBOSE RCON sending (217.146.84.246:28940) PB_SV_Ver
100902 12:37:24 INFO PunkBuster Active: ^3PunkBuster Server: PunkBuster Server for COD4 (v1.772 | A1407 C2.234) Enabled
100902 12:37:24 VERBOSE RCON sending (217.146.84.246:28940) status
100902 12:37:25 INFO map is: mp_crossfire
100902 12:37:25 DEBUG Forcing server cvar g_logsync to 1
100902 12:37:25 VERBOSE RCON sending (217.146.84.246:28940) set g_logsync 1
100902 12:37:26 VERBOSE RCON sending (217.146.84.246:28940) fs_game
100902 12:37:27 DEBUG Get cvar fs_game = ["fs_game" is: "^7" default: "^7"
  Domain is any text]
The rest is in the next post

Maybe this has something to do with filerights?
Logged
Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: cod4
Posts: 14
Offline Offline
« Reply #4 on: September 02, 2010, 02:42:47 AM »

Code:
100902 12:37:27 VERBOSE RCON sending (217.146.84.246:28940) fs_basepath
100902 12:37:28 DEBUG Get cvar fs_basepath = ["fs_basepath" is: "C:\serverfiles\KOENG\GameServers\TC31884435842855173233808^7" default: "C:\serverfiles\KOENG\GameServers\TC31884435842855173233808^7"
  Domain is any text]
100902 12:37:28 DEBUG fs_basepath: C:\serverfiles\KOENG\GameServers\TC31884435842855173233808
100902 12:37:28 VERBOSE RCON sending (217.146.84.246:28940) fs_homepath
100902 12:37:29 DEBUG Get cvar fs_homepath = ["fs_homepath" is: "C:\serverfiles\KOENG\GameServers\TC31884435842855173233808^7" default: "C:\serverfiles\KOENG\GameServers\TC31884435842855173233808^7"
  Domain is any text]
100902 12:37:29 DEBUG fs_homepath: C:\serverfiles\KOENG\GameServers\TC31884435842855173233808
100902 12:37:29 VERBOSE RCON sending (217.146.84.246:28940) shortversion
100902 12:37:29 DEBUG Get cvar shortversion = ["shortversion" is: "1.7^7" default: "1.7^7"
  Domain is any text]
100902 12:37:29 DEBUG shortversion: 1.7
100902 12:37:29 DEBUG Parser started.
100902 12:37:29 BOT    Starting Plugin censor
100902 12:37:29 DEBUG Register Event: Say: CensorPlugin
100902 12:37:29 DEBUG Register Event: Team Say: CensorPlugin
100902 12:37:29 DEBUG Register Event: Client Name Change: CensorPlugin
100902 12:37:29 DEBUG Register Event: Client Authenticated: CensorPlugin
100902 12:37:29 BOT    Starting Plugin spamcontrol
100902 12:37:29 DEBUG Register Event: Say: SpamcontrolPlugin
100902 12:37:29 DEBUG Register Event: Team Say: SpamcontrolPlugin
100902 12:37:29 DEBUG AdminPlugin: Command "spamins (None)" registered with cmd_spamins for level (20, 100)
100902 12:37:29 BOT    Starting Plugin admin
100902 12:37:29 DEBUG Register Event: Say: AdminPlugin
100902 12:37:29 DEBUG Register Event: Private Message: AdminPlugin
100902 12:37:29 DEBUG AdminPlugin: Command "status (None)" registered with cmd_status for level (20, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "rules (r)" registered with cmd_rules for level (0, 0)
100902 12:37:29 DEBUG AdminPlugin: Command "makereg (mr)" registered with cmd_makereg for level (80, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "leveltest (lt)" registered with cmd_leveltest for level (20, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "warn (w)" registered with cmd_warn for level (20, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "list (None)" registered with cmd_list for level (20, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "warns (None)" registered with cmd_warns for level (20, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "warntest (wt)" registered with cmd_warntest for level (20, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "warninfo (wi)" registered with cmd_warninfo for level (20, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "nextmap (None)" registered with cmd_nextmap for level (2, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "say (None)" registered with cmd_say for level (20, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "lookup (l)" registered with cmd_lookup for level (80, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "b3 (None)" registered with cmd_b3 for level (9, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "seen (None)" registered with cmd_seen for level (2, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "find (None)" registered with cmd_find for level (20, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "pause (None)" registered with cmd_pause for level (90, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "kickall (kall)" registered with cmd_kickall for level (80, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "warnclear (wc)" registered with cmd_warnclear for level (80, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "admintest (None)" registered with cmd_admintest for level (40, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "regtest (None)" registered with cmd_regtest for level (1, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "rebuild (None)" registered with cmd_rebuild for level (90, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "maps (None)" registered with cmd_maps for level (2, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "ban (b)" registered with cmd_ban for level (60, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "ungroup (None)" registered with cmd_ungroup for level (90, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "banall (ball)" registered with cmd_banall for level (80, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "maprotate (None)" registered with cmd_maprotate for level (80, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "putgroup (None)" registered with cmd_putgroup for level (90, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "map (None)" registered with cmd_map for level (80, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "notice (None)" registered with cmd_notice for level (40, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "enable (None)" registered with cmd_enable for level (100, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "runas (su)" registered with cmd_runas for level (100, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "spankall (sall)" registered with cmd_spankall for level (80, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "tempban (tb)" registered with cmd_tempban for level (40, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "unmask (None)" registered with cmd_unmask for level (100, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "aliases (alias)" registered with cmd_aliases for level (20, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "disable (None)" registered with cmd_disable for level (100, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "baninfo (bi)" registered with cmd_baninfo for level (40, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "kick (k)" registered with cmd_kick for level (40, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "clientinfo (None)" registered with cmd_clientinfo for level (90, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "restart (None)" registered with cmd_restart for level (100, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "spams (None)" registered with cmd_spams for level (20, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "scream (None)" registered with cmd_scream for level (40, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "poke (None)" registered with cmd_poke for level (20, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "die (None)" registered with cmd_die for level (100, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "register (None)" registered with cmd_register for level (0, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "mask (None)" registered with cmd_mask for level (100, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "unban (None)" registered with cmd_unban for level (60, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "help (h)" registered with cmd_help for level (0, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "reconfig (None)" registered with cmd_reconfig for level (100, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "admins (None)" registered with cmd_admins for level (20, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "warnremove (wr)" registered with cmd_warnremove for level (20, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "permban (pb)" registered with cmd_permban for level (80, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "time (None)" registered with cmd_time for level (1, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "clear (kiss)" registered with cmd_clear for level (80, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "spam (s)" registered with cmd_spam for level (20, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "spank (sp)" registered with cmd_spank for level (60, 100)
100902 12:37:29 DEBUG SELECT * FROM groups WHERE `keyword` = "superadmin" LIMIT 1
100902 12:37:29 DEBUG Storage: getClientsMatching {'&group_bits': 128}
100902 12:37:29 VERBOSE AdminPlugin: No SuperAdmins found, enabling !iamgod
100902 12:37:29 DEBUG AdminPlugin: Command "iamgod (None)" registered with cmd_iamgod for level (0, 100)
100902 12:37:29 BOT    Starting Plugin tk
100902 12:37:29 DEBUG Register Event: Client Team Damage: TkPlugin
100902 12:37:29 DEBUG Register Event: Client Team Kill: TkPlugin
100902 12:37:29 DEBUG Register Event: Client Disconnect: TkPlugin
100902 12:37:29 DEBUG Register Event: Game Exit: TkPlugin
100902 12:37:29 DEBUG AdminPlugin: Command "forgive (f)" registered with cmd_forgive for level (0, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "forgivelist (fl)" registered with cmd_forgivelist for level (0, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "forgiveall (fa)" registered with cmd_forgiveall for level (0, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "forgiveinfo (fi)" registered with cmd_forgiveinfo for level (20, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "forgiveclear (fc)" registered with cmd_forgiveclear for level (60, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "forgiveprev (fp)" registered with cmd_forgivelast for level (0, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "grudge (grudge)" registered with cmd_grudge for level (0, 100)
100902 12:37:29 BOT    Starting Plugin stats
100902 12:37:29 DEBUG Register Event: Client Team Damage: StatsPlugin
100902 12:37:29 DEBUG Register Event: Client Team Kill: StatsPlugin
100902 12:37:29 DEBUG Register Event: Client Kill: StatsPlugin
100902 12:37:29 DEBUG Register Event: Client Damage: StatsPlugin
100902 12:37:29 DEBUG Register Event: Game Exit: StatsPlugin
100902 12:37:29 BOT    Starting Plugin pingwatch
100902 12:37:29 DEBUG Register Event: Game Exit: PingwatchPlugin
100902 12:37:29 BOT    Starting Plugin adv
100902 12:37:29 DEBUG AdminPlugin: Command "advadd (None)" registered with cmd_advadd for level (100, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "advrate (None)" registered with cmd_advrate for level (100, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "advlist (None)" registered with cmd_advlist for level (100, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "advsave (None)" registered with cmd_advsave for level (100, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "advload (None)" registered with cmd_advload for level (100, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "advrem (None)" registered with cmd_advrem for level (100, 100)
100902 12:37:29 BOT    Starting Plugin status
100902 12:37:29 BOT    Starting Plugin welcome
100902 12:37:29 DEBUG Register Event: Client Authenticated: WelcomePlugin
100902 12:37:29 BOT    Starting Plugin punkbuster
100902 12:37:29 DEBUG AdminPlugin: Command "pbss (None)" registered with cmd_pbss for level (20, 100)
100902 12:37:29 DEBUG AdminPlugin: Command "pbbuildbans (None)" registered with cmd_pbbuildbans for level (80, 100)
100902 12:37:29 BOT    Starting Plugin publist
100902 12:37:29 DEBUG Set cvar _B3 = [B3 v1.3.3 [posix]]
100902 12:37:29 VERBOSE RCON sending (217.146.84.246:28940) set _B3 "B3 v1.3.3 [posix]"
100902 12:37:30 DEBUG PublistPlugin: publist will send heartbeat at 10:11 every day
100902 12:37:30 VERBOSE Added crontab <bound method PublistPlugin.update of <b3.plugins.publist.PublistPlugin instance at 0x9064c4c>> (151452364) - 0s 11m 10h -1d -1M -1DOW
100902 12:37:30 BOT    Starting Plugin ftpytail
100902 12:37:30 INFO FtpytailPlugin: Starting ftpytail thread
100902 12:37:30 DEBUG PublistPlugin: Sending heartbeat to B3 master...
100902 12:37:30 BOT    Start reading...
100902 12:37:30 VERBOSE FtpytailPlugin: Connecting to 217.146.84.245 ...
100902 12:37:30 DEBUG AUTODOC: saving html documentation
100902 12:37:30 DEBUG AUTODOC: get commands with level <= 100
100902 12:37:30 DEBUG Writing to test_doc.html
100902 12:37:30 DEBUG FtpytailPlugin: [Errno 111] Connection refused
100902 12:37:30 VERBOSE FtpytailPlugin: Lost connection to server, pausing until updated properly
100902 12:37:30 BOT    PAUSING
100902 12:37:30 BOT    PAUSED - Not parsing any lines, B3 will be out of sync.
100902 12:37:30 DEBUG PublistPlugin: master replied: Server list updated
100902 12:37:31 VERBOSE FtpytailPlugin: Connecting to 217.146.84.245 ...
100902 12:37:31 DEBUG FtpytailPlugin: [Errno 111] Connection refused
100902 12:37:31 VERBOSE FtpytailPlugin: Lost connection to server, pausing until updated properly
100902 12:37:33 VERBOSE FtpytailPlugin: Connecting to 217.146.84.245 ...
100902 12:37:33 DEBUG FtpytailPlugin: [Errno 111] Connection refused
100902 12:37:33 VERBOSE FtpytailPlugin: Lost connection to server, pausing until updated properly
100902 12:37:34 VERBOSE FtpytailPlugin: Connecting to 217.146.84.245 ...
100902 12:37:34 DEBUG FtpytailPlugin: [Errno 111] Connection refused
100902 12:37:34 VERBOSE FtpytailPlugin: Lost connection to server, pausing until updated properly
100902 12:37:35 VERBOSE FtpytailPlugin: Connecting to 217.146.84.245 ...
100902 12:37:35 DEBUG FtpytailPlugin: [Errno 111] Connection refused
100902 12:37:35 VERBOSE FtpytailPlugin: Lost connection to server, pausing until updated properly
100902 12:37:36 VERBOSE FtpytailPlugin: Connecting to 217.146.84.245 ...
100902 12:37:36 DEBUG FtpytailPlugin: [Errno 111] Connection refused
100902 12:37:36 VERBOSE FtpytailPlugin: Lost connection to server, pausing until updated properly
100902 12:37:37 VERBOSE FtpytailPlugin: Connecting to 217.146.84.245 ...
100902 12:37:37 DEBUG FtpytailPlugin: [Errno 111] Connection refused
100902 12:37:37 VERBOSE FtpytailPlugin: Lost connection to server, pausing until updated properly
100902 12:37:38 VERBOSE FtpytailPlugin: Connecting to 217.146.84.245 ...
100902 12:37:39 DEBUG FtpytailPlugin: [Errno 111] Connection refused
100902 12:37:39 VERBOSE FtpytailPlugin: Lost connection to server, pausing until updated properly
100902 12:37:40 VERBOSE FtpytailPlugin: Connecting to 217.146.84.245 ...
100902 12:37:40 DEBUG FtpytailPlugin: [Errno 111] Connection refused
100902 12:37:40 VERBOSE FtpytailPlugin: Lost connection to server, pausing until updated properly
100902 12:37:41 VERBOSE FtpytailPlugin: Connecting to 217.146.84.245 ...
100902 12:37:41 DEBUG FtpytailPlugin: [Errno 111] Connection refused
100902 12:37:41 VERBOSE FtpytailPlugin: Lost connection to server, pausing until updated properly
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3485
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #5 on: September 02, 2010, 03:12:01 AM »

hug in the end how do you access the remote log ? ftp or sftp ?
Logged

Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: cod4
Posts: 14
Offline Offline
« Reply #6 on: September 02, 2010, 03:25:24 AM »

ftp through port 22
I've tried sftp:// in firefox and filezilla and it doens't work so it's normal ftp

over at xgservers they think it has something do to with the spaces in the ftp path, they are gonna give me a different ftp setup to see if that works
« Last Edit: September 02, 2010, 03:27:33 AM by McChAoS » Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3485
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #7 on: September 02, 2010, 03:39:17 AM »

Quote
FtpytailPlugin: [Errno 111] Connection refused
This error excludes any issue regarding path. The server you are connecting to refused the connection even before starting any FTP related stuff.

I suppose the reason is one of :
  • server ip is wrong
  • server port is wrong
  • your IP is blacklisted by the server firewall
  • the firewall on the machine running B3 forbid outgoing connections toward your server ip
  • the firewall on the machine running B3 forbid outgoing connections toward the server port
Logged

Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: cod4
Posts: 14
Offline Offline
« Reply #8 on: September 02, 2010, 04:18:10 AM »

I don't think it's any of those things because I've tested the line in my b3.xml on filezilla, firefox and ie
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3485
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #9 on: September 02, 2010, 04:24:29 AM »

are you running the bot from the same computer than the one you tested with IE/FF/filezilla on ?
Logged

Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: cod4
Posts: 14
Offline Offline
« Reply #10 on: September 02, 2010, 04:39:00 AM »

it's a different computer but the same wan ip.
I have now tested on the same computer with the linux command ftp and while in the ftp utility I've ran:
ftp> open 217.146.84.245 22
This commands opens a connection to the ftp server and ftp> open 217.146.84.245 gives me the error connection refused.
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3485
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #11 on: September 02, 2010, 04:40:54 AM »

So this looks like B3 is trying to connect on port 21 despite you specified 22...
Logged

Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: cod4
Posts: 14
Offline Offline
« Reply #12 on: September 02, 2010, 05:31:18 AM »

So what should I do?
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3485
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #13 on: September 02, 2010, 06:08:38 AM »

try the latest version from my github repo : http://github.com/courgette/big-brother-bot
It should allow to connect on non standard port
Logged

Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: cod4
Posts: 14
Offline Offline
« Reply #14 on: September 02, 2010, 06:32:08 AM »

Ok, I've replaced the old ftpytail.py with the new one from your dev version, looked through the log and saw a couple of errors, but after the errors, is saw ftpytail getting the remote file size of the log so that's great  Smiley

here's the snippet from where the errors starts till the end of the log.

Code:
100902 16:27:29 BOT     Starting Plugin ftpytail
100902 16:27:29 INFO    FtpytailPlugin: Starting ftpytail thread
100902 16:27:29 DEBUG   PublistPlugin: Sending heartbeat to B3 master...
100902 16:27:29 ERROR   STDERR Traceback (most recent call last):

100902 16:27:29 ERROR   STDERR   File "/usr/lib/python2.6/logging/handlers.py", line 71, in emit

100902 16:27:29 ERROR   STDERR     if self.shouldRollover(record):

100902 16:27:29 ERROR   STDERR   File "/usr/lib/python2.6/logging/handlers.py", line 144, in shouldRollover

100902 16:27:29 ERROR   STDERR     msg = "%s\n" % self.format(record)

100902 16:27:29 ERROR   STDERR   File "/usr/lib/python2.6/logging/__init__.py", line 648, in format

100902 16:27:29 ERROR   STDERR     return fmt.format(record)

100902 16:27:29 ERROR   STDERR   File "/usr/lib/python2.6/logging/__init__.py", line 436, in format

100902 16:27:29 ERROR   STDERR     record.message = record.getMessage()

100902 16:27:29 ERROR   STDERR   File "/usr/lib/python2.6/logging/__init__.py", line 306, in getMessage

100902 16:27:29 ERROR   STDERR     msg = msg % self.args

100902 16:27:29 ERROR   STDERR TypeError: not enough arguments for format string

100902 16:27:29 BOT     Start reading...
100902 16:27:29 DEBUG   AUTODOC: saving html documentation
100902 16:27:29 DEBUG   AUTODOC: get commands with level <= 100
100902 16:27:29 DEBUG   Writing to test_doc.html
100902 16:27:29 DEBUG   PublistPlugin: master replied: Server list updated
100902 16:27:29 DEBUG   Synchronising Clients
100902 16:27:29 VERBOSE RCON sending (217.146.84.246:28940) PB_SV_PList
100902 16:27:30 VERBOSE FtpytailPlugin: Connection successful. Remote file size is 2522
Logged
Tags:
Pages: [1] 2   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal