Vous n'êtes pas identifié.
Salut !
Quand je lance b3 j'ai un message qui dit :
r23980:/home/server5/.q3a/q3ut4/b3-1.1.4b# 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
Starting (b3) v1.1.4b [posix] (Astridaria)
Using config file b3/conf/b3.xml
Redirect all output to b3.log
Error reading file home/server5/.q3a/q3ut4/games_mp.log
comment résoudre ce probleme ?
je suis sous debian.
merci
Hors ligne
# chmod 077 home/server5/.q3a/q3ut4/games_mp.log
?
Hors ligne
Ton serveur utilise écrit bien dans games_mp.log au moins? Regarde dans le fichier de conf de ton serveur de jeu (g_log)
Dernière modification par Foxyfox (23/05/2009 14:41:36)
Hors ligne
En fait c'est bon c'est réglé je ne sais pas trop pourquoi ça ne marchait pas mais maintenant il me dit qu'il s'arrête à cause des BDD pourtant il s'y est connecté
voici le log :
090523 15:00:22 BOT Starting Iourt41Parser server for 127.0.0.1:27961
090523 15:00:22 BOT --------------------------------------------
090523 15:00:22 BOT Attempting to connect to database mysql://b3:******@localhost/b3...
090523 15:00:22 BOT Connected to database
090523 15:00:22 BOT Game log /home/server5/.q3a/q3ut4/games_mp.log
090523 15:00:22 BOT Starting bot reading file /home/server5/.q3a/q3ut4/games_mp.log
090523 15:00:22 BOT Loading Plugin #2 spamcontrol [/home/server5/.q3a/q3ut4/b3-1.1.4b/b3/conf/plugin_spamcontrol.xml]
090523 15:00:22 BOT SpamcontrolPlugin: Loading config /home/server5/.q3a/q3ut4/b3-1.1.4b/b3/conf/plugin_spamcontrol.xml for SpamcontrolPlugin
090523 15:00:22 DEBUG Register Event: Stop Process: SpamcontrolPlugin
090523 15:00:22 DEBUG Register Event: Program Exit: SpamcontrolPlugin
090523 15:00:22 BOT Plugin spamcontrol (1.1.2 - ThorN) loaded
090523 15:00:22 BOT Loading Plugin #3 admin [/home/server5/.q3a/q3ut4/b3-1.1.4b/b3/conf/plugin_admin.xml]
090523 15:00:22 BOT AdminPlugin: Loading config /home/server5/.q3a/q3ut4/b3-1.1.4b/b3/conf/plugin_admin.xml for AdminPlugin
090523 15:00:22 DEBUG Register Event: Stop Process: AdminPlugin
090523 15:00:22 DEBUG Register Event: Program Exit: AdminPlugin
090523 15:00:22 BOT Plugin admin (1.3.4b0 - ThorN) loaded
090523 15:00:22 BOT Loading Plugin #4 tk [/home/server5/.q3a/q3ut4/b3-1.1.4b/b3/conf/plugin_tk.xml]
090523 15:00:22 BOT TkPlugin: Loading config /home/server5/.q3a/q3ut4/b3-1.1.4b/b3/conf/plugin_tk.xml for TkPlugin
090523 15:00:22 DEBUG TkPlugin: tk max level is 40
090523 15:00:22 DEBUG Register Event: Stop Process: TkPlugin
090523 15:00:22 DEBUG Register Event: Program Exit: TkPlugin
090523 15:00:22 BOT Plugin tk (1.1.6b0 - ThorN) loaded
090523 15:00:22 BOT Loading Plugin #5 stats [/home/server5/.q3a/q3ut4/b3-1.1.4b/b3/conf/plugin_stats.xml]
090523 15:00:22 BOT StatsPlugin: Loading config /home/server5/.q3a/q3ut4/b3-1.1.4b/b3/conf/plugin_stats.xml for StatsPlugin
090523 15:00:22 DEBUG AdminPlugin: Command "mapstats (mstats)" registered with cmd_mapstats for level (1, 100)
090523 15:00:22 DEBUG AdminPlugin: Command "testscore (ts)" registered with cmd_testscore for level (1, 100)
090523 15:00:22 DEBUG AdminPlugin: Command "topstats (tstats)" registered with cmd_topstats for level (9, 100)
090523 15:00:22 DEBUG Register Event: Stop Process: StatsPlugin
090523 15:00:22 DEBUG Register Event: Program Exit: StatsPlugin
090523 15:00:22 BOT Plugin stats (1.2.3 - ThorN) loaded
090523 15:00:22 BOT Loading Plugin #6 pingwatch [/home/server5/.q3a/q3ut4/b3-1.1.4b/b3/conf/plugin_pingwatch.xml]
090523 15:00:22 BOT PingwatchPlugin: Loading config /home/server5/.q3a/q3ut4/b3-1.1.4b/b3/conf/plugin_pingwatch.xml for PingwatchPlugin
090523 15:00:22 VERBOSE Added crontab <bound method PingwatchPlugin.check of <b3.plugins.pingwatch.PingwatchPlugin instance at 0xb6d3a0ac>> (3067322892) - [0, 30]s -1m -1h -1d -1M -1DOW
090523 15:00:22 DEBUG Register Event: Stop Process: PingwatchPlugin
090523 15:00:22 DEBUG Register Event: Program Exit: PingwatchPlugin
090523 15:00:22 BOT Plugin pingwatch (1.1.4 - ThorN) loaded
090523 15:00:22 BOT Loading Plugin #7 adv [/home/server5/.q3a/q3ut4/b3-1.1.4b/b3/conf/plugin_adv.xml]
090523 15:00:22 BOT AdvPlugin: Loading config /home/server5/.q3a/q3ut4/b3-1.1.4b/b3/conf/plugin_adv.xml for AdvPlugin
090523 15:00:22 VERBOSE Added crontab <bound method AdvPlugin.adv of <b3.plugins.adv.AdvPlugin instance at 0xb6d3acec>> (3067335916) - 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
090523 15:00:22 DEBUG Register Event: Stop Process: AdvPlugin
090523 15:00:22 DEBUG Register Event: Program Exit: AdvPlugin
090523 15:00:22 BOT Plugin adv (1.1.3 - ThorN) loaded
090523 15:00:22 BOT Loading Plugin #8 status [/home/server5/.q3a/q3ut4/b3-1.1.4b/b3/conf/plugin_status.xml]
090523 15:00:22 BOT StatusPlugin: Loading config /home/server5/.q3a/q3ut4/b3-1.1.4b/b3/conf/plugin_status.xml for StatusPlugin
090523 15:00:22 VERBOSE Added crontab <bound method StatusPlugin.update of <b3.plugins.status.StatusPlugin instance at 0xb6d4340c>> (3067540908) - [0]s -1m -1h -1d -1M -1DOW
090523 15:00:22 DEBUG Register Event: Stop Process: StatusPlugin
090523 15:00:22 DEBUG Register Event: Program Exit: StatusPlugin
090523 15:00:22 BOT Plugin status (1.2.6 - ThorN) loaded
090523 15:00:22 BOT Loading Plugin #9 welcome [/home/server5/.q3a/q3ut4/b3-1.1.4b/b3/conf/plugin_welcome.xml]
090523 15:00:22 BOT WelcomePlugin: Loading config /home/server5/.q3a/q3ut4/b3-1.1.4b/b3/conf/plugin_welcome.xml for WelcomePlugin
090523 15:00:22 DEBUG Register Event: Stop Process: WelcomePlugin
090523 15:00:22 DEBUG Register Event: Program Exit: WelcomePlugin
090523 15:00:22 BOT Plugin welcome (1.0.6 - ThorN) loaded
090523 15:00:22 VERBOSE 0 cid changed from None to -1
090523 15:00:22 VERBOSE RCON sending (127.0.0.1:27961) say ^0(^2b3^0)^7: ^8www.BigBrotherBot.com ^0(^8b3^0) ^9v1.1.4b [posix] ^9(^3Astridaria^9)^3 ^2[ONLINE]
090523 15:00:22 DEBUG Client Connected: [-1] World - WORLD ({})
090523 15:00:22 DEBUG Storage: getClient <b3.clients.Client object at 0x839348c>
090523 15:00:22 DEBUG User not found WORLD: 'No client matching guid WORLD'
090523 15:00:22 BOT Client not found in the storage WORLD, create new
090523 15:00:22 DEBUG Storage: setClient <b3.clients.Client object at 0x839348c>
090523 15:00:22 DEBUG Storage: setClient data {'time_add': 1243083622, 'time_edit': 1243083622, 'name': 'World', 'group_bits': 0, 'ip': '', 'greeting': '', 'auto_login': 1, 'connections': 1, 'mask_level': 0, 'guid': 'WORLD', 'pbid': 'WORLD'}
090523 15:00:22 DEBUG Client Authorized: [-1] World - WORLD
090523 15:00:23 VERBOSE RCON sending (127.0.0.1:27961) status
090523 15:00:24 VERBOSE RCON sending (127.0.0.1:27961) fs_game
090523 15:00:25 DEBUG Get cvar fs_game = [Bad rconpassword.]
090523 15:00:25 INFO STDOUT Error: 'NoneType' object has no attribute 'getString'
File "/home/server5/.q3a/q3ut4/b3-1.1.4b/b3/__init__.py", line 87, in start
console.start()
File "/home/server5/.q3a/q3ut4/b3-1.1.4b/b3/parser.py", line 199, in start
self.onStartup()
File "/home/server5/.q3a/q3ut4/b3-1.1.4b/b3/parser.py", line 254, in onStartup
self.startup()
File "/home/server5/.q3a/q3ut4/b3-1.1.4b/b3/parsers/iourt41.py", line 195, in startup
self.game.fs_game = self.getCvar('fs_game').getString()
090523 15:00:25 INFO STDOUT
090523 15:00:25 BOT Shutting down...
090523 15:00:25 VERBOSE AdvPlugin: Warning: No handle func for AdvPlugin
090523 15:00:25 BOT Shutting down database connections...
Hors ligne
ce qui saute aux yeux c'est [Bad rconpassword.]
Vérifie que ton serveur UrT est bien lancé.
Vérifie que ta config b3.xml à les bonnes infos pour rcon_ip, port, et rcon_pass
Petite astuce pour interpréter un log qui contient des erreurs :
1 - lire le log du haut vers le bas
2 - trouver la première occurrence d'une erreur
3 - lire le log de bas en haut à partir de cette erreur pour découvrir ce que B3 faisait juste avant que ça pète
Hors ligne