SQL server problem ...

Results 1 to 10 of 10
  1. #1
    Proficient Member walkernight88 is offline
    MemberRank
    Aug 2008 Join Date
    /etc/cabal/dataLocation
    192Posts

    sad SQL server problem ...

    ON : I have this problem
    Code:
    [Thu Sep 24 2009 22:07:30.598332 3086265248]: [##ERROR##] DB ERROR(MSG)      : [unixODBC][FreeTDS][SQL Server]Server is unavailable or does not exist.
    [Thu Sep 24 2009 22:07:30.598429 3086265248]: [##ERROR##] DB ERROR(CODE)     : 20009
    [Thu Sep 24 2009 22:07:30.598498 3086265248]: [##ERROR##] DB ERROR(VAR_INFO) : 
    [Thu Sep 24 2009 22:07:30.598538 3086265248]: [##ERROR##] DB ERROR(SQLSTATE) : 08S01
    [Thu Sep 24 2009 22:07:30.598556 3086265248]: [##ERROR##] DB ERROR(STM_TEXT) : 
    [Thu Sep 24 2009 22:07:30.598684 3086265248]: [##ERROR##] Database Connect Fail (uid=sa;pwd=xxxxxxxxx;dsn=CabalGame01;APP=DBAgent_01)
    [Thu Sep 24 2009 22:07:30.598758 3086265248]: [##ERROR##] check 'pDB' fail
    [Thu Sep 24 2009 22:07:30.598783 3086265248]: [##ERROR##] 'OnIPCIWarGetLastNationRewardWarResults' fail (Database/InstantWar.cpp:140)
    [Thu Sep 24 2009 22:07:30.598810 3086265248]: [##ERROR##] UsrMap Fail : MainCmd(600) Ret(8C:0:140) Addr(192.168.0.xxx)
    [Thu Sep 24 2009 22:08:30.656259 3086265248]: [##ERROR##] DB ERROR(MSG)      : [unixODBC][FreeTDS][SQL Server]Server is unavailable or does not exist.
    [Thu Sep 24 2009 22:08:30.656887 3086265248]: [##ERROR##] DB ERROR(CODE)     : 20009
    [Thu Sep 24 2009 22:08:30.657110 3086265248]: [##ERROR##] DB ERROR(VAR_INFO) : 
    [Thu Sep 24 2009 22:08:30.657138 3086265248]: [##ERROR##] DB ERROR(SQLSTATE) : 08S01
    [Thu Sep 24 2009 22:08:30.657162 3086265248]: [##ERROR##] DB ERROR(STM_TEXT) : 
    [Thu Sep 24 2009 22:08:30.657186 3086265248]: [##ERROR##] Database Connect Fail (uid=sa;pwd=xxxxxxxxx;dsn=CabalGame01;APP=DBAgent_01)
    [Thu Sep 24 2009 22:08:30.657212 3086265248]: [##ERROR##] check 'pDB' fail
    [Thu Sep 24 2009 22:08:30.657666 3086265248]: [##ERROR##] 'OnIPCIWarGetLastNationRewardWarResults' fail (Database/InstantWar.cpp:140)
    [Thu Sep 24 2009 22:08:30.657695 3086265248]: [##ERROR##] UsrMap Fail : MainCmd(600) Ret(8C:0:140) Addr(192.168.0.xxx)
    [Thu Sep 24 2009 22:09:30.643366 3086265248]: [##ERROR##] DB ERROR(MSG)      : [unixODBC][FreeTDS][SQL Server]Server is unavailable or does not exist.
    [Thu Sep 24 2009 22:09:30.643439 3086265248]: [##ERROR##] DB ERROR(CODE)     : 20009
    [Thu Sep 24 2009 22:09:30.643464 3086265248]: [##ERROR##] DB ERROR(VAR_INFO) : 
    [Thu Sep 24 2009 22:09:30.643469 3086265248]: [##ERROR##] DB ERROR(SQLSTATE) : 08S01
    [Thu Sep 24 2009 22:09:30.643471 3086265248]: [##ERROR##] DB ERROR(STM_TEXT) : 
    [Thu Sep 24 2009 22:09:30.643472 3086265248]: [##ERROR##] Database Connect Fail (uid=sa;pwd=xxxxxxxx;dsn=CabalGame01;APP=DBAgent_01)
    [Thu Sep 24 2009 22:09:30.643551 3086265248]: [##ERROR##] check 'pDB' fail
    [Thu Sep 24 2009 22:09:30.643625 3086265248]: [##ERROR##] 'OnIPCIWarGetLastNationRewardWarResults' fail (Database/InstantWar.cpp:140)
    [Thu Sep 24 2009 22:09:30.643656 3086265248]: [##ERROR##] UsrMap Fail : MainCmd(600) Ret(8C:0:140) Addr(192.168.0.xxx)

    OF : I saw at one member on signature " Cabal server fake season 3 files " ... if there have got season 3 files would share with us ? :D


  2. #2
    Valued Member Qiqi is offline
    MemberRank
    Dec 2008 Join Date
    SingaporeLocation
    141Posts

    Re: SQL server problem ...

    Is your database password even correct? Does the one stated in CentOS match the one given in your SQL Database? :o

  3. #3
    Proficient Member walkernight88 is offline
    MemberRank
    Aug 2008 Join Date
    /etc/cabal/dataLocation
    192Posts

    Re: SQL server problem ...

    Yes the password is correct ... even in ODBC Source when I want to connect to SQL server i got the error : SQL Server connection timed out or SQL Server doesen`t exist ... i don`t know what i should do ... :-s

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

    Re: SQL server problem ...

    This is going to be exactly the same as every other "cannot connect to sql server" error. SQL installed incorrectly.

    Run the query below on any db and post the results.

    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

  5. #5
    Proficient Member walkernight88 is offline
    MemberRank
    Aug 2008 Join Date
    /etc/cabal/dataLocation
    192Posts

    Re: SQL server problem ...

    Back with another problem ... i installed the SQL Server by following a guide ... but i don`t know what i made ... :-s
    I tryed to connect with sa and password ... and local windows connection ... both doesen`t work


    http://www.pict.com/view/1669369/0/1

    EDIT : i figured out what was the problem ... i will try now the server with the new changes ... i will post if it works/doesen`t works :) thx anyway chumpy a lot ... :)
    Last edited by walkernight88; 25-09-09 at 07:21 PM.

  6. #6
    Go go go! Cath22 is offline
    MemberRank
    Aug 2008 Join Date
    Cabal-ArenaLocation
    713Posts

    Re: SQL server problem ...

    you forgot creating linked servers.

  7. #7
    Proficient Member walkernight88 is offline
    MemberRank
    Aug 2008 Join Date
    /etc/cabal/dataLocation
    192Posts

    Re: SQL server problem ...

    I`m back again :| with another problem ... my router is an D-Link DI 524UP ... i don`t know how to forward the ports ... my routers firewall is down ... and i don`t know why i`m not connecting to server ... logs = no error ...
    Attached Files Attached Files

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

    Re: SQL server problem ...

    Quote Originally Posted by walkernight88 View Post
    i don`t know how to forward the ports
    That is the reason. If you don't forward ports your router doesn't know where to send the connections. If you don't know how then look in my sig for my "simple port forwarding" guide as your router is supported.

  9. #9
    Proficient Member walkernight88 is offline
    MemberRank
    Aug 2008 Join Date
    /etc/cabal/dataLocation
    192Posts

    Re: SQL server problem ...

    Man i have forwarded the ports like you said ... btw it doesen`t work ... i don`t know what it has ... everything was checked and double checked ... :|
    Attached Thumbnails Attached Thumbnails problem.jpg  

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

    Re: SQL server problem ...

    If you use a router don't test it yourseld in "public" mode liek this as not all routers work well. See if somebody from outside can log on because if they can and you can't you have a router that can't host properly.

    Alos you need to have your wan ip in internal.txt as whatever ip address is in the worldsvr ini file (IPAddress=) is what should be in internal.txt.



Advertisement