Cant Connect to server

Results 1 to 23 of 23
  1. #1
    Apprentice shadowking810 is offline
    MemberRank
    Feb 2010 Join Date
    14Posts

    note Cant Connect to server

    MSSQL connection is up, i tested with GM tool
    I can ping from windows to centos and centos to windows
    Im using DMZ to allow everything to the centos IP
    Im using windows 7 64bit

    it still wont connect can anyone help me here pls ^_^


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

    Re: Cant Connect to server

    can you please post the logs from \var\log\cabal ?

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

    Re: Cant Connect to server

    Don't use DMZ, it isn't for purposes like this and will stop it working. You need to forward the individual ports (or a range) rather than using a DMZ.

  4. #4
    Apprentice shadowking810 is offline
    MemberRank
    Feb 2010 Join Date
    14Posts

    note Re: Cant Connect to server

    emi can u add me via msn shadowking810@live.com

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

    Re: Cant Connect to server

    Quote Originally Posted by shadowking810 View Post
    emi can u add me via msn shadowking810@live.com
    No.I am sorry.All the help i can give is right here!

  6. #6
    Apprentice shadowking810 is offline
    MemberRank
    Feb 2010 Join Date
    14Posts

    Re: Cant Connect to server

    emi here is the log file u requested
    Attached Files Attached Files

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

    Re: Cant Connect to server

    In your DB agent logs...

    [unixODBC][FreeTDS][SQL Server]Server is unavailable or does not exist.
    Not good.

    Either your SQL server is configured wrong or your windows firewall is blocking the server.

    Run the whole query below on any database and post the results if checking your firewall doesn't work.

    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

  8. #8
    Apprentice shadowking810 is offline
    MemberRank
    Feb 2010 Join Date
    14Posts

    Re: Cant Connect to server

    here is snap shot of the results
    Attached Thumbnails Attached Thumbnails snapshot-2.jpg  

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

    Re: Cant Connect to server

    All seems ok :)
    The problem is the firewall,disable it!:)
    If you have a router did you forward ports?

  10. #10
    Apprentice shadowking810 is offline
    MemberRank
    Feb 2010 Join Date
    14Posts

    note Re: Cant Connect to server

    ok i got it to work until the ch selection after that whole bar loads but wont let me in

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

    Re: Cant Connect to server

    Did you set the server LAN or WAN?

  12. #12
    Apprentice shadowking810 is offline
    MemberRank
    Feb 2010 Join Date
    14Posts

    Re: Cant Connect to server

    i switched it to LAN

  13. #13
    0x1F0FFF TanGzkie is offline
    MemberRank
    Sep 2008 Join Date
    loc => {p => o}Location
    987Posts

    Re: Cant Connect to server

    goto your MSSQL
    delete your Link server then
    make again try it :)

  14. #14
    Apprentice shadowking810 is offline
    MemberRank
    Feb 2010 Join Date
    14Posts

    Re: Cant Connect to server

    already did that help if anyone can help with this tiny problem add me on msn shadowking810@live.com

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

    Re: Cant Connect to server

    Post the log files from /var/log/cabal on the server (remember to try logging in first so we can see the errors).

  16. #16
    Member knight90 is offline
    MemberRank
    Apr 2009 Join Date
    59Posts

    Re: Cant Connect to server

    Seems i got the same problem like him,can someone tell me where i wrong?
    Attached Files Attached Files

  17. #17
    0x1F0FFF TanGzkie is offline
    MemberRank
    Sep 2008 Join Date
    loc => {p => o}Location
    987Posts

    Re: Cant Connect to server

    try to Login on your cabal maybe 2 or 3 times then post your logs here..
    cause we didn't see your attempting to login in your cabal..

  18. #18
    Member knight90 is offline
    MemberRank
    Apr 2009 Join Date
    59Posts

    Re: Cant Connect to server

    Here some logs,with 3 times login,it can be something wrong from centos then?
    Attached Files Attached Files

  19. #19
    Account Upgraded | Title Enabled! Alphakilo23 is offline
    MemberRank
    Jun 2010 Join Date
    Ze German ländLocation
    428Posts

    Re: Cant Connect to server

    Quote Originally Posted by knight90 View Post
    Here some logs,with 3 times login,it can be something wrong from centos then?
    Your server isn't even noticing that you try to log in.
    Check your network settings, including what you entered during cabal_config

  20. #20
    Member knight90 is offline
    MemberRank
    Apr 2009 Join Date
    59Posts

    Re: Cant Connect to server

    Well my firewall is of,i forward port for centos and in cabal_config i set it for wan ip...

  21. #21
    Account Upgraded | Title Enabled! Alphakilo23 is offline
    MemberRank
    Jun 2010 Join Date
    Ze German ländLocation
    428Posts

    Re: Cant Connect to server

    Quote Originally Posted by knight90 View Post
    Well my firewall is of,i forward port for centos and in cabal_config i set it for wan ip...
    Then you can't connect from LAN side, since the cabal server isn't listening to requests from your subnet.
    Read this thread.

  22. #22
    Member knight90 is offline
    MemberRank
    Apr 2009 Join Date
    59Posts

    Re: Cant Connect to server

    problem solved it was from my sql,now i`m useing a friend database and it seems to work good,thx for your support!

  23. #23
    Apprentice fredsterj is offline
    MemberRank
    Sep 2010 Join Date
    PhilippinesLocation
    7Posts

    Re: Cant Connect to server

    pls help i try to run your query everythinh is ok exept of the 'xp_md5.dll it say's it's NULL, what shall i do now?



Advertisement