Odbc.ini

Results 1 to 22 of 22
  1. #1
    Member fakkadanmogool1 is offline
    MemberRank
    Oct 2008 Join Date
    75Posts

    Odbc.ini

    As the title show: where can i find odbc.ini
    Because i don't why i can't connect the server.
    And i don't know how to login my sql database.
    And i don't know how to check the connection between centOS and databases.
    And i don't know how to check if port 1433 is open

    Hope someone can help me out.


  2. #2
    Account Upgraded | Title Enabled! Amaymon is offline
    MemberRank
    Apr 2011 Join Date
    RomaniaLocation
    252Posts

    Re: Odbc.ini

    Odbc.ini is located to usr/local/etc and for the rest of your questions check the section tutorial,you`ll find wonderfull things there.

  3. #3
    Member fakkadanmogool1 is offline
    MemberRank
    Oct 2008 Join Date
    75Posts

    Re: Odbc.ini

    But the logs are saying that the "sql server does not exist"

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

    Re: Odbc.ini

    that also happens if the centos can't reach the windows

  5. #5
    Member fakkadanmogool1 is offline
    MemberRank
    Oct 2008 Join Date
    75Posts

    Re: Odbc.ini

    When i Ping in centos with the command ping -c4 192.168.1.7 (sql ip/ Windows) It seems to be OK

    When i ping in centos with the command ping -c4 192.168.52.128 (centOS ip)
    It seems to be OK

    So i dont know why database isn't responding.
    The ports are also not responding but i still forwarded them.

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

    Re: Odbc.ini

    Enabled TC/IP connection via SQL//Firewall disabled?

  7. #7
    Member fakkadanmogool1 is offline
    MemberRank
    Oct 2008 Join Date
    75Posts

    Re: Odbc.ini

    How to do that ?

    Ok I enabled Tcp.
    the porblem "cannot connect to the server".
    I did forwarded the ports but when i scan it says they don't respond even when i disable every firewall/and add it to exclusions.
    I also don't know how to set the centOS network type Bridged or NAT. because i have a Tele2 modem for television, internet, Telephone.
    So what to do ?
    Last edited by fakkadanmogool1; 12-04-11 at 05:48 PM.

  8. #8
    Account Upgraded | Title Enabled! Amaymon is offline
    MemberRank
    Apr 2011 Join Date
    RomaniaLocation
    252Posts

    Re: Odbc.ini


  9. #9
    Member fakkadanmogool1 is offline
    MemberRank
    Oct 2008 Join Date
    75Posts

    Re: Odbc.ini

    But i can login with Winscp and putty.

  10. #10
    Account Upgraded | Title Enabled! Amaymon is offline
    MemberRank
    Apr 2011 Join Date
    RomaniaLocation
    252Posts

    Re: Odbc.ini

    Post your LOGS!

  11. #11

  12. #12
    Account Upgraded | Title Enabled! Amaymon is offline
    MemberRank
    Apr 2011 Join Date
    RomaniaLocation
    252Posts

    Re: Odbc.ini

    type in putty those commands:
    cd var/log/cabal
    cat DBAgent_01.log

    And post here.

  13. #13
    Member fakkadanmogool1 is offline
    MemberRank
    Oct 2008 Join Date
    75Posts

    Re: Odbc.ini

    [Wed Apr 13 2011 02:17:05.127420 3086882512]: open log file '/var/log/cabal/DBAgent_01.log'
    [Wed Apr 13 2011 02:17:05.127549 3086882512]: LOG LEVEL: 3
    [Wed Apr 13 2011 02:17:05.127580 3086882512]: MemPoolUnitSizeClass(2): 24576Bytes
    [Wed Apr 13 2011 02:17:05.128527 3086882512]: Start DBAgent_01 Server
    [Wed Apr 13 2011 02:17:05.129265 3086882512]: UseEcryptText (Off)
    [Wed Apr 13 2011 02:17:05.143835 3086879632]: CProcessLayer(0)::svc Start [3086879632]
    [Wed Apr 13 2011 02:17:05.143946 3076389776]: CProcessLayer(0)::svc Start [3076389776]
    [Wed Apr 13 2011 02:17:05.144019 3065899920]: CProcessLayer(0)::svc Start [3065899920]
    [Wed Apr 13 2011 02:17:05.144090 3055410064]: CProcessLayer(0)::svc Start [3055410064]
    [Wed Apr 13 2011 02:17:05.144190 3086882512]: try listening 38181 port
    [Wed Apr 13 2011 02:17:05.147496 3044920208]: CProcessLayer(0)::svc Start [3044920208]
    [Wed Apr 13 2011 02:17:05.298410 3086882512]: accept success 8(127.0.0.1:37990)
    [Wed Apr 13 2011 02:17:05.299409 3086882512]: 1.open user 8 [9198BC0] (127.0.0.1)
    [Wed Apr 13 2011 02:17:05.430610 3086882512]: accept success 10(127.0.0.1:37992)
    [Wed Apr 13 2011 02:17:05.430708 3086882512]: 2.open user 10 [91A7300] (127.0.0.1)

  14. #14
    Account Upgraded | Title Enabled! Amaymon is offline
    MemberRank
    Apr 2011 Join Date
    RomaniaLocation
    252Posts

    Re: Odbc.ini

    Hmm,the server connected with succesfull to database,try disable firewall.

  15. #15
    Member fakkadanmogool1 is offline
    MemberRank
    Oct 2008 Join Date
    75Posts

    Re: Odbc.ini

    I already did.

    Maybe its the client ?

  16. #16
    Account Upgraded | Title Enabled! Amaymon is offline
    MemberRank
    Apr 2011 Join Date
    RomaniaLocation
    252Posts

    Re: Odbc.ini

    Or you didin`t setup the ip of centos in internal.txt if you are using breaklee argument (.bat) or language.enc for argument husky

  17. #17
    Member fakkadanmogool1 is offline
    MemberRank
    Oct 2008 Join Date
    75Posts

    Re: Odbc.ini

    I created a .bat file with the argument Breaklee.
    I also filled the internal.txt in.

    IP=192.168.1.16
    PORT=38101
    CHAT_IP=192.168.1.16
    CHAT_PORT=38121

  18. #18
    Account Upgraded | Title Enabled! Amaymon is offline
    MemberRank
    Apr 2011 Join Date
    RomaniaLocation
    252Posts

    Re: Odbc.ini

    @echo on
    start cabalmain.exe breaklee
    exit

    This should be in startcabal.bat,and are u really sure the ip of centos is good?Type ifconfig in centos to see the ip.

  19. #19
    Member fakkadanmogool1 is offline
    MemberRank
    Oct 2008 Join Date
    75Posts

    Re: Odbc.ini

    Here is my screenshot of terminal....
    screenshotifconfig.png

  20. #20
    Member fakkadanmogool1 is offline
    MemberRank
    Oct 2008 Join Date
    75Posts

    Re: Odbc.ini

    Amaymon which client do you use ?
    Do you have a link ?

  21. #21
    Account Upgraded | Title Enabled! Amaymon is offline
    MemberRank
    Apr 2011 Join Date
    RomaniaLocation
    252Posts

    Re: Odbc.ini

    I can`t give you my client because it is an custom one but you can look here http://forum.ragezone.com/f451/ogpla...anilla-732555/

  22. #22
    Member fakkadanmogool1 is offline
    MemberRank
    Oct 2008 Join Date
    75Posts

    Re: Odbc.ini

    Anyone have a solution for the problem:
    Everything is ok.

    But still can't connect



Advertisement