Some problems

Results 1 to 6 of 6
  1. #1
    Valued Member Sarmalutza is offline
    MemberRank
    Feb 2008 Join Date
    Port LuxLocation
    113Posts

    sad

    My friends can`t join my server... i maked port forwarding...Failed to connect to server ... have some error`s

    GlobalMgrSvr
    [Sat Dec 12 2009 00:20:23.759968 3085519776]: [##ERROR##] 1:1 server notify time over (time: 69298)
    [Sat Dec 12 2009 00:20:48.756136 3085519776]: 2.close user -1 [89F48C0] (127.0.0.1)
    [Sat Dec 12 2009 00:20:55.831077 3085519776]: [##ERROR##] 1:1 server notify time over (time: 98983)
    [Sat Dec 12 2009 00:21:16.722112 3085519776]: already unlink 89F48C0 (status=2)
    [Sat Dec 12 2009 00:21:36.437280 3085519776]: [##ERROR##] 1:1 server notify time over (time: 137604)
    [Sat Dec 12 2009 00:22:08.928537 3085519776]: already unlink 89F48C0 (status=2)

    WorldSvr_01_01
    [Sat Dec 12 2009 00:18:53.466644 3086968512]: [##ERROR##] remoteAddr(127.0.0.1), connectRetryNum_(9,0), serverAddr(127.0.0.1:38170)
    [Sat Dec 12 2009 00:18:53.533656 3086968512]: try connect 127.0.0.1:38170, Sync
    [Sat Dec 12 2009 00:18:53.541670 3086968512]: sock 5 ->LinkHandler Open
    [Sat Dec 12 2009 00:18:53.593631 3086968512]: SendIPSConnect2Svr (161:01:01:00)
    [Sat Dec 12 2009 00:18:53.714604 3086968512]: [##ERROR##] remoteAddr(127.0.0.1), connectRetryNum_(9,0), serverAddr(127.0.0.1:38181)
    [Sat Dec 12 2009 00:18:53.738612 3086968512]: try connect 127.0.0.1:38181, Sync
    [Sat Dec 12 2009 00:18:53.752627 3086968512]: sock 7 ->LinkHandler Open
    [Sat Dec 12 2009 00:18:53.754618 3086968512]: SendIPSConnect2Svr (161:01:01:00)
    [Sat Dec 12 2009 00:18:53.756628 3086968512]: [##ERROR##] remoteAddr(127.0.0.1), connectRetryNum_(9,0), serverAddr(127.0.0.1:38190)
    [Sat Dec 12 2009 00:18:53.757618 3086968512]: try connect 127.0.0.1:38190, Sync
    [Sat Dec 12 2009 00:18:53.762623 3086968512]: sock 8 ->LinkHandler Open
    [Sat Dec 12 2009 00:18:53.763630 3086968512]: SendIPSConnect2Svr (161:01:01:00)
    [Sat Dec 12 2009 00:18:53.765627 3086968512]: [##ERROR##] remoteAddr(127.0.0.1), connectRetryNum_(9,1), serverAddr(127.0.0.1:38121)
    [Sat Dec 12 2009 00:18:53.766605 3086968512]: try connect 127.0.0.1:38121, Sync
    [Sat Dec 12 2009 00:18:53.778595 3086968512]: sock 9 ->LinkHandler Open
    [Sat Dec 12 2009 00:18:53.779626 3086968512]: SendIPSConnect2Svr (161:01:01:00)
    [Sat Dec 12 2009 00:18:55.453571 21363616]: ChannelType not changed. this(0), fromGMS(0)
    [Sat Dec 12 2009 00:24:59.326024 89942944]: [##ERROR##] AdjustTilePos(Mob:207005E) Tile(0:2) species(186), Cur(69:48), To(67:23)
    [Sat Dec 12 2009 00:25:07.942426 3086968512]: sock 5 ->LinkHandler close
    [Sat Dec 12 2009 00:25:15.298013 3086968512]: [##ERROR##] remoteAddr(127.0.0.1), connectRetryNum_(9,0), serverAddr(127.0.0.1:38170)
    [Sat Dec 12 2009 00:25:15.746170 3086968512]: try connect 127.0.0.1:38170, Sync
    [Sat Dec 12 2009 00:25:16.079508 3086968512]: sock 5 ->LinkHandler Open
    [Sat Dec 12 2009 00:25:16.081490 3086968512]: SendIPSConnect2Svr (161:01:01:00)
    [Sat Dec 12 2009 00:27:46.167436 21363616]: ChannelType not changed. this(0), fromGMS(0)

    LoginSvr_01
    [Sat Dec 12 2009 00:27:46.478081 3086259904]: [##ERROR##] remoteAddr(127.0.0.1), connectRetryNum_(9,0), serverAddr(127.0.0.1:38170)
    [Sat Dec 12 2009 00:27:46.478396 3086259904]: try connect 127.0.0.1:38170, Sync
    [Sat Dec 12 2009 00:27:46.479395 3086259904]: sock 7 ->LinkHandler Open
    [Sat Dec 12 2009 00:27:46.479703 3086259904]: SendIPSConnect2Svr (195:128:01:00)
    [Sat Dec 12 2009 00:27:46.916593 3077958560]: ServerState changed(0 -> 0)

    DBAgent_01
    [Sat Dec 12 2009 00:32:10.974449 3044494240]: [##ERROR##] DB ERROR(MSG) : [FreeTDS][SQL Server]Read from SQL server failed.
    [Sat Dec 12 2009 00:32:10.977453 3044494240]: [##ERROR##] DB ERROR(CODE) : 20004
    [Sat Dec 12 2009 00:32:10.977518 3044494240]: [##ERROR##] DB ERROR(VAR_INFO) :
    [Sat Dec 12 2009 00:32:10.978287 3044494240]: [##ERROR##] DB ERROR(SQLSTATE) : 08S01
    [Sat Dec 12 2009 00:32:10.978430 3044494240]: [##ERROR##] DB ERROR(STM_TEXT) : {call cabal_sp_InstantWar_GetCurrentNationRewardWarResults}
    [Sat Dec 12 2009 00:32:16.040660 3044494240]: Database Connect success!
    [Sat Dec 12 2009 00:32:16.041678 3044494240]: [##ERROR##] 'OnIPCIWarGetLastNationRewardWarResults' fail (Database/InstantWar.cpp:187)
    [Sat Dec 12 2009 00:32:16.042643 3044494240]: [##ERROR##] UsrMap Fail : MainCmd(600) Ret(BB:0:187) Addr(127.0.0.1)
    [Sat Dec 12 2009 00:34:03.527320 3075963808]: [##ERROR##] DB ERROR(MSG) : [FreeTDS][SQL Server]Read from SQL server failed.
    [Sat Dec 12 2009 00:34:03.529345 3075963808]: [##ERROR##] DB ERROR(CODE) : 20004
    [Sat Dec 12 2009 00:34:03.535290 3075963808]: [##ERROR##] DB ERROR(VAR_INFO) :
    [Sat Dec 12 2009 00:34:03.536314 3075963808]: [##ERROR##] DB ERROR(SQLSTATE) : 08S01
    [Sat Dec 12 2009 00:34:03.537298 3075963808]: [##ERROR##] DB ERROR(STM_TEXT) : {call cabal_sp_InstantWar_GetCurrentNationRewardWarResults}
    [Sat Dec 12 2009 00:34:03.878265 3075963808]: Database Connect success!
    [Sat Dec 12 2009 00:34:03.879253 3075963808]: [##ERROR##] 'OnIPCIWarGetLastNationRewardWarResults' fail (Database/InstantWar.cpp:187)
    [Sat Dec 12 2009 00:34:03.880247 3075963808]: [##ERROR##] UsrMap Fail : MainCmd(600) Ret(BB:0:187) Addr(127.0.0.1)

    so any 1 can help me...
    Last edited by chumpywumpy; 12-12-09 at 06:56 PM.


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

    Re: Some problems

    Please don't bump the topic unless it has left the first page. RZ rules state 2 weeks but i would personally accept a bump if it has left the first page, but only then. The post will get looked at and i always start from the bottom when answering posts.

    Little bits of logs aren't going to help me here unfortunately as it only tells me where the errors are and i need to see the other stuff the server was doing at the time. Do a "service cabal stop", delete the logs and then "service cabal start" have a few tries at the login and then zip up the logs and upload them somewhere (edit passwords and the last 3 sections of the IP addresses if you want but i need the number before the first . in the IP).

  3. #3
    Valued Member Sarmalutza is offline
    MemberRank
    Feb 2008 Join Date
    Port LuxLocation
    113Posts

    Re: Some problems

    i`m back with full logs:P
    Attached Files Attached Files

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

    Re: Some problems

    I'm seeing very different errors in those logs. If you look at your DBAgent_01 log in the post you can see "database connect success!" followed by an error about reading war results. It connected ok but there weren't any war results to read yet (which is normal for a new install).

    Now look at the ones in your rar file and there isn't any "database connect success!", only messages saying that it can't connect to the database at all. I can't see any connection attempts in the loginsvr log either, not even failed ones.

    Run the query below on any db and post the results. I suspect that your sql install isn't correct and this will tell me what.
    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

  5. #5
    Valued Member Sarmalutza is offline
    MemberRank
    Feb 2008 Join Date
    Port LuxLocation
    113Posts

    Re: Some problems

    Ok this is the result
    Attached Thumbnails Attached Thumbnails fff.png  

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

    Re: Some problems

    SQL is ok then. Do remember that the evaluation version will eventually expire but you have around 6 months until that happens.

    This leaves the problem being that centos can't connect to the database which is going to be either a firewall or possible windows has changed IP addresses. Look in /etc/odbc.ini and try pinging that IP from centos.

    The server is using the correct IP and you can check if the ports are open using an online port checker like ping.eu (it will only show as open if the server is actually running). 38101 is the main port to check first as that is the loginsvr port and you should see connection attempts in the loginsvr log even if they can't actually log in.



Advertisement