You have failed to connect to the server

Results 1 to 12 of 12
  1. #1
    Account Upgraded | Title Enabled! Thesnowman is offline
    MemberRank
    Nov 2007 Join Date
    423Posts

    You have failed to connect to the server

    Well as you can see its just error after error for me :( I finally got the ports to forward, the server to talk to the db, etc... But now im getting this issue:



    Yet when i look at my Loginsvr logs i see this:

    Code:
    [Wed Feb 24 2010 05:03:53.492770 3086137840]: V1 = 22, V2 = 5834620, V3 = 0, V4 = 0
    3086137840: work_pending_i: Interrupted system call
    [Wed Feb 24 2010 05:04:57.834581 3086137840]: accept success 11(86.163.28.68:61227)
    [Wed Feb 24 2010 05:04:57.834740 3086137840]: 1.open user 11 [96A15E0] (86.163.28.68)
    [Wed Feb 24 2010 05:04:58.309544 3077835664]: AuthRequest: UserID(sgadmin3), Addr(86.163.28.68)
    [Wed Feb 24 2010 05:05:37.900163 3086137840]: 1.close user 11 [96A15E0] (86.163.28.68)
    The server is configured correctly... I had it find my wan it said:

    Code:
    71.59.174.158
    192.168.1.## (forgot them i think 15)
    Their internal.txt says:

    Code:
     IP=71.59.174.158
    PORT=38101
    IP_CHAT=71.59.174.158
    PORT_CHAT=38121
    As you can tell its properly set up cause the login server sees them trying to log in. But their client just says "You have failed to connect to the server. Please try again later" after loading fully.


  2. #2
    ┌П┐(•_•)┌П┐ allocen is offline
    MemberRank
    Dec 2009 Join Date
    Deep AbyssLocation
    1,003Posts

    Re: You have failed to connect to the server

    of course look again in the configuration of the server and i think i didin`t write ur password correct at the database in server :)

  3. #3
    Account Upgraded | Title Enabled! Thesnowman is offline
    MemberRank
    Nov 2007 Join Date
    423Posts

    Re: You have failed to connect to the server

    You didnt write my password? I did... And i wrote it correct hence why the server can connect to the dbs... Please dont post help unless you know for sure thats the reason...

  4. #4
    ANTI emi is offline
    MemberRank
    Mar 2009 Join Date
    ZHLocation
    1,378Posts

    Re: You have failed to connect to the server

    then don't post only login server logs,post all of them...

  5. #5
    Account Upgraded | Title Enabled! Thesnowman is offline
    MemberRank
    Nov 2007 Join Date
    423Posts

    Re: You have failed to connect to the server

    Attached.
    Attached Files Attached Files

  6. #6
    Member tuongtu_99 is offline
    MemberRank
    Oct 2004 Join Date
    86Posts

    Re: You have failed to connect to the server

    thesnowman, do u have msn or yahoo , can u give me ur terrain file of all most world pls
    i need toback up my world terrain but i dont have it
    can u give me
    pls
    i need file world terrain
    somebody help me

  7. #7
    wWw.F403.OrG S37uP!Update is offline
    MemberRank
    Oct 2008 Join Date
    F403.ORGLocation
    1,304Posts

    Re: You have failed to connect to the server

    You have error's on your DbAgent
    Centos cannot connect to your SQL !or your password or your id or your db is not corectly write!
    Code:
    3086497488: work_pending_i: Interrupted system call
    [Wed Feb 24 2010 05:14:58.394587 3055025040]: [##ERROR##] DB ERROR(MSG)      : [unixODBC][FreeTDS][SQL Server]Server is unavailable or does not exist.
    [Wed Feb 24 2010 05:14:58.394711 3055025040]: [##ERROR##] DB ERROR(CODE)     : 20009
    [Wed Feb 24 2010 05:14:58.394730 3055025040]: [##ERROR##] DB ERROR(VAR_INFO) : 
    [Wed Feb 24 2010 05:14:58.394748 3055025040]: [##ERROR##] DB ERROR(SQLSTATE) : 08S01
    [Wed Feb 24 2010 05:14:58.394766 3055025040]: [##ERROR##] DB ERROR(STM_TEXT) : 
    [Wed Feb 24 2010 05:14:58.394783 3055025040]: [##ERROR##] Database Connect Fail (uid=sunset;pwd=bonze1139;dsn=CabalGame;APP=DBAgent_01)
    [Wed Feb 24 2010 05:14:58.394883 3055025040]: [##ERROR##] check 'pDB' fail
    [Wed Feb 24 2010 05:14:58.394905 3055025040]: [##ERROR##] 'OnIPCIWarGetLastNationRewardWarResults' fail (Database/InstantWar.cpp:140)
    [Wed Feb 24 2010 05:14:58.394929 3055025040]: [##ERROR##] UsrMap Fail : MainCmd(600) Ret(8C:0:140) Addr(127.0.0.1)
    [Wed Feb 24 2010 05:18:47.091249 3055025040]: [##ERROR##] DB ERROR(MSG)      : [unixODBC][FreeTDS][SQL Server]Server is unavailable or does not exist.
    [Wed Feb 24 2010 05:18:47.091366 3055025040]: [##ERROR##] DB ERROR(CODE)     : 20009
    [Wed Feb 24 2010 05:18:47.091386 3055025040]: [##ERROR##] DB ERROR(VAR_INFO) : 
    [Wed Feb 24 2010 05:18:47.091404 3055025040]: [##ERROR##] DB ERROR(SQLSTATE) : 08S01
    [Wed Feb 24 2010 05:18:47.091421 3055025040]: [##ERROR##] DB ERROR(STM_TEXT) :
    Write this command in your centos:ping www.google.com
    After make a print and show us the result !
    Last edited by S37uP!Update; 24-02-10 at 10:24 PM.

  8. #8
    Account Upgraded | Title Enabled! Thesnowman is offline
    MemberRank
    Nov 2007 Join Date
    423Posts

    Re: You have failed to connect to the server

    That doesnt make sense cause the details are correct.... And the other dbs connect just fine...

  9. #9
    wWw.F403.OrG S37uP!Update is offline
    MemberRank
    Oct 2008 Join Date
    F403.ORGLocation
    1,304Posts

    Re: You have failed to connect to the server

    Code:
    3086497488: work_pending_i: Interrupted system call
    you ahve problem to connect the centos on mssql,you looking up ath the erros?

  10. #10
    Account Upgraded | Title Enabled! MisterMinister is offline
    MemberRank
    May 2009 Join Date
    Pontus FerrumLocation
    250Posts

    Re: You have failed to connect to the server

    Snowman..

    Login to your Database and check if your ACCOUNT,which you wrote in the Server-Config has access-rights on DB.

    I had that Problem too ages Ago..
    or..

    make Backup of your Server Files,and start Cabal_config.sh again,and type in the "sa" login Datas..

    If you can connect with your "sa" datas,you have failed with your new created DB Account..
    Then you will know,what you have to do..

    Regards

  11. #11
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: You have failed to connect to the server

    Quote Originally Posted by Thesnowman View Post
    That doesnt make sense cause the details are correct.... And the other dbs connect just fine...
    Might want to check that again as none of them are connecting. There isn't a single "Database connect success!" entry in the logs. If you look at your loginsvr log it sees the login attempts but each should have a number after it which tells you if checking the user/pass against SQL was successful or not, there isn't so it is not able to check. All of the dbagents are spamming "server unavailable or does not exist".

    First make sure centos can ping the windows IP and tha the windows firewall is not blocking the connection. Next run the query below on any db and post the results and it will tell me if SQL is configured correctly or not (a default sql express install will not).

    Code:
    Declare @insname varchar(25)
    if convert(varchar(25),serverproperty('instancename')) is null
      set @insname='MSSQLSERVER'
    else
      set @insname=convert(varchar(25),serverproperty('instancename'))
      select @insname as 'Instance',
      serverproperty('productversion') as 'Ver', serverproperty('productlevel') as 'SP',
      serverproperty('edition') as 'Edition'
      if @insname<>'MSSQLSERVER'
      begin
        select 'THIS IS BAD! You must reinstall MSSQL. Please follow the guides next time.' as 'MSSQL is a named instance!'
      end
    
      begin
        Declare @inspath varchar(10),@reg varchar(100),@tcpremote as int
        EXEC master.dbo.xp_regread @rootkey='HKEY_LOCAL_MACHINE',
        @key='Software\Microsoft\Microsoft SQL Server\Instance Names\SQL\',
        @value_name=@insname,
        @value=@inspath OUTPUT
        set @reg='Software\Microsoft\Microsoft SQL Server\' + @inspath + '\MSSQLSERVER\SuperSocketNetLib\tcp\'
        EXEC master.dbo.xp_regread @rootkey='HKEY_LOCAL_MACHINE',
        @key=@reg,
        @value_name='Enabled',
        @value=@tcpremote OUTPUT
        select @inspath as 'Instance path',@tcpremote as 'Remote connections enabled?'
        if @tcpremote='0'
          begin
            EXEC master.dbo.xp_regwrite @rootkey='HKEY_LOCAL_MACHINE',
            @key=@reg, @value_name='Enabled', @type='REG_DWORD',@value=1
            select 'I enabled remote connections ! Please reboot !' as 'Remote connections checker'
          end
        else
          begin
            select 'This is good! I have nothing to do :(' as 'Remote connections checker'
          end
        select account.dbo.fn_md5('test') as 'xp_md5.dll check'
      end

  12. #12
    Enthusiast janis112 is offline
    MemberRank
    Jan 2010 Join Date
    41Posts

    Re: You have failed to connect to the server

    For my msql configure rigt. i try this script and it shows like youurs in other post..

    But i hawe a problem... I write in putty my server WAN ip and all ok, but i can`t conect with client and wan ip in to the internal. whaen i change internal to LAN ip i can conect to client i see servers, but can`t join in server..

    BUT when i write my LAN ip in putty i can log in game with LAN ip..

    and when i press find WAN ip in putty he didn`t fined them.. (:(

    i use rootr TP-LINK

    i try 3 metods of port forwarding, but no success.. (:( maby you hawe guide..?



Advertisement