Results 1 to 2 of 2
  1. #1
    Join Date
    May 2003
    Location
    UK
    Posts
    22

    Question Unanswered: ct_connect timeouts after ipaddress change

    I have a dual nic machine and have changed the ipaddresses and now I get the following (Sybase is 11.9.2)...

    ----------------------------------------------------------------------------------
    ct_connect(): user api layer: internal Client Library error: Read from t
    he server has timed out.
    CT-LIBRARY error:
    ct_exit(CS_FORCE_EXIT): user api layer: external error: This routine can
    not be called since an asynchronous operation is currently pending.
    CS-LIBRARY error:
    cs_ctx_drop: cslib user api layer: external error: The context structure
    cannot be dropped because the application has not exited from ct.
    ----------------------------------------------------------------------------------

    My first thought was the interfaces file may somehow hold ip address detail in those long strings it creates, anyone know how I can fix this??

    MAny thanks in advance...

  2. #2
    Join Date
    Feb 2002
    Location
    Willy is on vacation
    Posts
    1,208
    Here is the breakdown of the tli tcp format;

    master tli tcp /dev/tcp \x0002138889c99f920000000000000000
    query tli tcp /dev/tcp \x0002138889c99f920000000000000000

    In the example above, the hexadecimal address
    x0002138889c99f920000000000000000
    can be broken out into four fields:
    A: x0002
    B: x1388 = 5000
    C: x69c12f32 = 105.193.47.50
    D: x0000000000000000
    This server has an IP address of 105.193.47.50 and a port number of 5000

    All you have to do is change the field C with appropriate hex numbers for the new IP address.

    Cheers,

    Willy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •