Load Ingest Data
Results 1 to 3 of 3

Thread: [C043] Failed to connect to host 127.0.0.1

  1. #1
    lmucino is offline Junior Member
    Join Date
    Oct 2007
    Posts
    4
    Rep Power
    0

    [C043] Failed to connect to host 127.0.0.1

    Hi Everyone!!!

    I'am in a big problem...

    I'm trying to connect my local machine to a linux server (remote, it's a Red Hat) with Attunity Connect, Ive defined a local DS (it called IXPAN) that see to these server, like it shows next:
    (local implementation)
    <datasources name='NAV'>

    <datasource name='IXPAN' type='remote' connect='10_10_2_237'/>
    </datasources>
    <environment name='NAV'>
    [....]
    </environment>
    <remoteMachines name='NAV'>

    <remoteMachine name='10_10_2_237' address='10.10.2.237' workspace='Navigator'/>
    </remoteMachines>

    In the server Linux, I've defined this:
    <datasources name='NAV'>
    <datasource name='NAVDEMO' type='DSM'>
    <config newFileLocation='/usr/jbc/jdp/demo'/>
    </datasource>
    <datasource name='IXPAN' type='jDP' connect='jDP'/>
    </datasources>

    But, when I try to execute a remote query it shows me, the next:
    C:\Documents and Settings\Lmucino>nav_util -screen execute IXPAN
    (0) Attunity Connect Log (V3.4.02.00, INTEL-NT) Started at 04-Oct-05 11:48:51
    (0) Connecting to 127.0.0.1:32810:tcp:1641858110
    (0) [C043] Failed to connect to host 127.0.0.1:32810:tcp:1641858110; IRPC: Connect
    (0) failed - Connection refused.
    (0)
    (0) [C06A] Failed to connect to server
    (0)
    Calling to ITDP_Bind failed with error = -1601
    (0) Calling to ITDP_Bind failed with error = -1601
    1) [C043] Failed to connect to host 127.0.0.1:32810:tcp:1641858110; IRPC: Connect failed - Connection refused.; code: -1601: SQL code: 0
    (0) 1) [C043] Failed to connect to host 127.0.0.1:32810:tcp:1641858110; IRPC:
    (0) Connect failed - Connection refused.
    ; code: -1601: SQL code: 0
    2) [C06A] Failed to connect to server; code: -1601: SQL code: 0
    (0) 2) [C06A] Failed to connect to server; code: -1601: SQL code: 0

    Press any key to continue...
    (0) Closing log file

    And in the Remote file irpc.log
    <11> Login: <anonymous> (10.10.2.196:2477, 04-Oct-05 12:11:29)
    <11> Get App Info Navigator
    <11> Return: ConnectTimeout=60, CallTimeout=60, DebugMode=0x0, ServerMode=2
    <11> Get Server Navigator ()
    <11> Return: Server location 127.0.0.1:32810:tcp:724395782
    <11> Logout

    Where is the problem?, because I've typed in the local machine
    nav_util check server (10.10.2.237:2551, Navigator)

    (0) Attunity Connect Log (V3.4.02.00, INTEL-NT) Started at 04-Oct-05 12:40:33
    Checking server 'Navigator ' on host 10.10.2.237:2551
    Logging on to IRPCD on '10.10.2.237:2551' - OK
    Getting information on workspace 'Navigator ' - OK
    Connect Timeout=60, Debug Mode=0, Server Mode=2, Call Timeout=60
    Getting server instance - OK
    Server location is 127.0.0.1:32810:tcp:139948209
    Logging off IRPCD
    Connecting to server - FAILED, [C043] Failed to connect to host 127.0.0.1:32810:tcp:139948209; IRPC: Connect failed - Connection refused.
    See the daemon log file (on the server machine) for further details
    This test took 0.922 seconds.

    Press any key to continue...
    (0) Closing log file

    And in the server linux:

    /home/jbaseadm/4.1/jdp/tmp> nav_util check server \(10.10.2.237, Navigator \)
    Checking server 'Navigator ' on host 10.10.2.237
    Logging on to IRPCD on '10.10.2.237' - OK
    Getting information on workspace 'Navigator ' - OK
    Connect Timeout=60, Debug Mode=0, Server Mode=2, Call Timeout=60
    Getting server instance - OK
    Server location is 127.0.0.1:32810:tcp:1363532512
    Logging off IRPCD
    Connecting to server - OK
    Disconnecting from server
    This test took 0.001 seconds.



    Where is the wrong!??


    Thanks for help!

  2. #2
    Join Date
    Sep 2006
    Posts
    233
    Rep Power
    10
    This is a problem with the way the network is configured at the server side. The daemon tries, by default, to bind to all active networks. However, servers are bound to the first IP address in the interface list and in this case that address was the localhost (in most cases, a real physical interface is first in the list).

    Anyway, to work around this problem without changing the machine configuration simply start the daemon with an explicit IP address as in:

    $ irpcd -l 10.10.2.237 start
    and your problem is solved.
    By Dror Harari

    To Find Out more About Attunity Technology:
    Attunity
    or:
    Contact Us

  3. #3
    lmucino is offline Junior Member
    Join Date
    Oct 2007
    Posts
    4
    Rep Power
    0

    [C043] failed...

    Hi!!


    Thaks! a lot!!!


    My problem, it was resolved, with the information that you answered me, and modified the file /etc/hosts, because, from this file the attunity take the information about de server.


    Thanks again!

    ;)






    Quote Originally Posted by DrorHarari View Post
    This is a problem with the way the network is configured at the server side. The daemon tries, by default, to bind to all active networks. However, servers are bound to the first IP address in the interface list and in this case that address was the localhost (in most cases, a real physical interface is first in the list).

    Anyway, to work around this problem without changing the machine configuration simply start the daemon with an explicit IP address as in:



    and your problem is solved.

Posting Permissions

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