1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

bf2statistics & bf2 1.41 & debian linux

Discussion in 'BF2Statistics discussion' started by lumo, Dec 8, 2006.

  1. lumo

    lumo New Member

    already set the same up on windows.
    but on linux the server fucks up.
    any way to get it running?

    thanks in advance
  2. gf69

    gf69 New Member

  3. lumo

    lumo New Member

    actually... this is an tutorial
    BUT - it crashes

    i did not use the tutorial
    but i did the same ;)
  4. Inslaber

    Inslaber New Member

    check available disk space or quota for your user running the bf2statistics.
    Maybe check to see if enough RAM.
  5. partisan24

    partisan24 New Member

    Hi all, i confirm bf2 server crashes on start if u set sv.ranked 1 on linux.

    ill post here a tuto to correctly dns spoof bf2web.gamespy.com to your rank tracking ip with bind. do not modify your hosts file.
    install bind (on debian apt-get install bind)

    edit this file :
    pico /etc/bind/named.conf.local

    paste inside :
    // Add local zone definitions here.
    zone "bf2web.gamespy.com" {
    type master;
    file "/etc/bind/gamespy.redirect";

    create this file :
    pico /etc/bind/gamespy.redirect
    ; BIND your rank tracking IP
    $TTL 36000
    @ IN SOA localhost. root.localhost. (
    0 ; Serial
    0 ; Refresh
    0 ; Retry
    0 ; Expire
    0 ) ; Negative Cache TTL
    @ IN NS localhost.
    @ IN A XX.XX.XX.XX[/blockquote]
    replace XX.XX.XX.XX with ur IP (can be

    restart bind :
    /etc/inid.d/bind restart

    you can try to ping bf2web.gamespy.com, it should reach your machine.

    okay, anyone has a clue? on linux we cannot run server on ranked mode, i think since patch 1.41.
  6. gf69

    gf69 New Member

    The linux servers do not check the hosts file. My hosts file is modified and my server does not crash on startup. Also the Linux server file for 1.4 and 1.41 are the same and you can have 1.4 and 1.41 players in the server at the same time. I also dont use sv.ranked 1. That is for only if you are running an ea official server. Bf2statistics works just fine.
  7. partisan24

    partisan24 New Member

    thanks for your response, my mistake as i fought we could set sv.ranked 1.
    It may explain lumo's crash on start up.
    Just remove sv.ranked 1 line in mods/poe2/settings/serversettings.con.
    if hosts aren't checked you just have to edit /etc/hosts and add this line in ur linux box :
    XXX.XXX.XXX.XXX bf2web.gamespy.com
  8. lumo

    lumo New Member

    i do not even have sv.ranked in my serverconfig...
    linux 1.4 and 1.41 is definitive NOT the same...
    we were running 1.4 and ppl with 1.41 client can't connect
    errormsg: your client has younger version...
    disk space etc is enough for three or more servers ;)
  9. gf69

    gf69 New Member

    bf2-linuxded-1.1.2963-795-installer.sh.gz that is the linux server file for 1.4 AND 1.41. When the 1.41 was released, I went to their page that had all the downloads listed and went to get the 1.41 Linux server and my pc said I already had the file. I looked at the name and it was the linux server I already had. I thought maybe it was a mistake when the file was added to their site so I clicked on the rest, and it was the same file. My game is 1.4 and a friend had the 1.41 and we were both in the server at the same time playing without problems and punkbuster was enabled. If your server is still crashing on startup, I noticed you said edit the settings file in mods/poe. Did you try to fire up the server with plain bf2 as the mod?
  10. lumo

    lumo New Member

    poe2 is not running on my server
  11. gf69

    gf69 New Member

    Are you running any mods at all? Only time I saw that error was when I had a friend upgrade from 1.3 to 1.4 and he never updated the mod we were running on his client. As soon as he made a copy of his mods/bf2 dir and named it mods/bf2sp64 and reinstalled the 64 player coop maps in it he was fine.
  12. shadow42

    shadow42 Member

    I thought as much! :) So there you go, the best way around EA's annoying HOSTS file check is to use Linux! ;)
    The Penguin strikes back! !amazed
  13. lumo

    lumo New Member

    i do not use any mods at all...
    still NO LUCK - please help
  14. lumo

    lumo New Member