Define replication server problem
Posted in 2003
A user setting up Enterprise Replication could define the primary server (g_whrhouse) but got "unable to connect to server specified (5)" when defining the target (cdr define serv -c almwhr -S g_whrhouse g_almwhr), even though sqlhosts entries and trusted dbaccess connections worked both ways. Madison Pruet had him run xtrace (XTF_CDR_GCC/NIF) on both machines. The traces showed the clocks were over 15 minutes apart (ER refuses connections then) and, more importantly, the primary reported "servname2id: srv <g_almwhr> notfound" — the engine wasn't seeing the g_almwhr sqlhosts entry, since early 9.3 didn't reread sqlhosts after startup. Suggested fixes: sync the clocks, verify the sqlhosts file actually in use, and bounce the server. No confirmation from the poster is recorded.
Auto-generated by DrWatson from the posts below — may be imperfect; read the full thread.
Topics: High Availability & Replication, Server Administration, Security, Permissions & Auditing
Hi, All. I want set up "primary-target" replication between two
servers.
I setup host files, sevices file, trusted environment and sqlhost
files on both systems.
I test trusted environment by dbaccess. Connection by server names and
group names without prompting logins and passwords on both sides are
successfull.
I define primary server without troubles:
cdr define serv -I g_whrhouse
cdr list serv
SERVER ID STATE STATUS QUEUE CONNECTION
CHANGED
-----------------------------------------------------------------------
g_whrhouse 21 Active Local 0
When i define a target server, error was occured.
cdr define serv -c almwhr -I -S g_whrhouse g_almwhr
command failed -- unable to connect to server specified (5)
I don't understand why it's occured.
We need to see the sqlhost file used by almwhr. Also need to see the
sqlhosts used by the cdr define serv command.
This problem can occur because
1) the cdr utility is not able to connect to the server "-c almwhr" or
2) almwhr is not able to connect to g_whrhouse.
M.Pruet
"Vadim Yezhakov" <vad13@pisem.net> wrote in message
news:4f70166c.0310140428.ef5a495@posting.google.com...
> Hi, All. I want set up "primary-target" replication between two
> servers.
> I setup host files, sevices file, trusted environment and sqlhost
> files on both systems.
> I test trusted environment by dbaccess. Connection by server names and
> group names without prompting logins and passwords on both sides are
> successfull.
> I define primary server without troubles:
>
> cdr define serv -I g_whrhouse
> cdr list serv
> SERVER ID STATE STATUS QUEUE CONNECTION
> CHANGED
> ---------------------------------------------------------------------
--
> g_whrhouse 21 Active Local 0
>
> When i define a target server, error was occured.
>
> cdr define serv -c almwhr -I -S g_whrhouse g_almwhr
> command failed -- unable to connect to server specified (5)
>
> I don't understand why it's occured.
I verify both sqlhosts file. On 'whrhouse' server it's look such:
g_whrhouse group - - i=21
whrhouse onsoctcp whrhouse ifn g=g_whrhouse
g_almwhr group - - i=8
almwhr onsoctcp almwhr ifn g=g_almwhr
On 'almwhr' server it's look such:
g_almwhr group - - i=8
almwhr onsoctcp almwhr ifn g=g_almwhr
g_whrhouse group - - i=21
whrhouse onsoctcp whrhouse ifn g=g_whrhouse
I think, that if sqlhosts files where incorrect, then trusted
environment test by dbaccess was filed. But this test was complete
without errors.
"Madison Pruet" <mpruet@comcast.net> wrote in message news:<lHUib.470085$2x.187121@rwcrnsc52.ops.asp.att.net>...
> We need to see the sqlhost file used by almwhr. Also need to see the
> sqlhosts used by the cdr define serv command.
>
> This problem can occur because
> 1) the cdr utility is not able to connect to the server "-c almwhr" or
> 2) almwhr is not able to connect to g_whrhouse.
>
> M.Pruet
>
> "Vadim Yezhakov" <vad13@pisem.net> wrote in message
> news:4f70166c.0310140428.ef5a495@posting.google.com...
> > Hi, All. I want set up "primary-target" replication between two
> > servers.
> > I setup host files, sevices file, trusted environment and sqlhost
> > files on both systems.
> > I test trusted environment by dbaccess. Connection by server names and
> > group names without prompting logins and passwords on both sides are
> > successfull.
> > I define primary server without troubles:
> >
> > cdr define serv -I g_whrhouse
> > cdr list serv
> > SERVER ID STATE STATUS QUEUE CONNECTION
> > CHANGED
> > ---------------------------------------------------------------------
> --
> > g_whrhouse 21 Active Local 0
> >
> > When i define a target server, error was occured.
> >
> > cdr define serv -c almwhr -I -S g_whrhouse g_almwhr
> > command failed -- unable to connect to server specified (5)
> >
> > I don't understand why it's occured.
It looks ok to me.
Do you have a case open on the problem? If not, please get one open.
I'd like to see the output of the following in the case.
1) execute the following on both servers as user informix.
xtrace size 50000
xtrace heavy -c XTF_CDR_GCC
xtrace heavy -c XTF_CDR_NIF
xtrace heavy -c XTF_CDRIF_NIF
xtrace on
2) then execute the cdr define server
3) After this is done, then execute the following on both servers.
xtrace off
xtrace fview
This will display tracing information from the define server. I'd like to
have this put into a file which is then put into the case.
Also include the output from the message log file at the time of the
failure.
Thanks
Madison Pruet
"Vadim Yezhakov" <yezhakov@mail.ru> wrote in message
news:2d8b1865.0310142101.79a6af03@posting.google.com...
> I verify both sqlhosts file. On 'whrhouse' server it's look such:
> g_whrhouse group - - i=21
> whrhouse onsoctcp whrhouse ifn g=g_whrhouse
> g_almwhr group - - i=8
> almwhr onsoctcp almwhr ifn g=g_almwhr
> On 'almwhr' server it's look such:
> g_almwhr group - - i=8
> almwhr onsoctcp almwhr ifn g=g_almwhr
> g_whrhouse group - - i=21
> whrhouse onsoctcp whrhouse ifn g=g_whrhouse
> I think, that if sqlhosts files where incorrect, then trusted
> environment test by dbaccess was filed. But this test was complete
> without errors.
>
>
> "Madison Pruet" <mpruet@comcast.net> wrote in message
news:<lHUib.470085$2x.187121@rwcrnsc52.ops.asp.att.net>...
> > We need to see the sqlhost file used by almwhr. Also need to see the
> > sqlhosts used by the cdr define serv command.
> >
> > This problem can occur because
> > 1) the cdr utility is not able to connect to the server "-c almwhr" or
> > 2) almwhr is not able to connect to g_whrhouse.
> >
> > M.Pruet
> >
> > "Vadim Yezhakov" <vad13@pisem.net> wrote in message
> > news:4f70166c.0310140428.ef5a495@posting.google.com...
> > > Hi, All. I want set up "primary-target" replication between two
> > > servers.
> > > I setup host files, sevices file, trusted environment and sqlhost
> > > files on both systems.
> > > I test trusted environment by dbaccess. Connection by server names and
> > > group names without prompting logins and passwords on both sides are
> > > successfull.
> > > I define primary server without troubles:
> > >
> > > cdr define serv -I g_whrhouse
> > > cdr list serv
> > > SERVER ID STATE STATUS QUEUE CONNECTION
> > > CHANGED
> >
---------------------------------------------------------------------
> > --
> > > g_whrhouse 21 Active Local 0
> > >
> > > When i define a target server, error was occured.
> > >
> > > cdr define serv -c almwhr -I -S g_whrhouse g_almwhr
> > > command failed -- unable to connect to server specified (5)
> > >
> > > I don't understand why it's occured.
I have done all steps from your instructions. Commands executed on primary server 'whrhouse': informix@whrhouse $xtrace size 50000 informix@whrhouse $xtrace heavy -c XTF_CDR_GCC informix@whrhouse $xtrace heavy -c XTF_CDR_NIF informix@whrhouse $xtrace heavy -c XTF_CDRIF_NIF informix@whrhouse $xtrace on informix@whrhouse $cdr define serv -I g_whrhouse informix@whrhouse $cdr define serv -c almwhr -I -S g_whrhouse g_almwhr command failed -- unable to connect to server specified (5) informix@whrhouse $xtrace off informix@whrhouse $xtrace fview > whrhouse.trace Commands executed on target server 'almwhr': informix@whrhouse $xtrace size 50000 informix@whrhouse $xtrace heavy -c XTF_CDR_GCC informix@whrhouse $xtrace heavy -c XTF_CDR_NIF informix@whrhouse $xtrace heavy -c XTF_CDRIF_NIF informix@whrhouse $xtrace on informix@whrhouse $xtrace off informix@whrhouse $xtrace fview > almwhr.trace --------- whrhouse.trace content ----------- Component Feature File Line Pid Time Stamp csvr thrd trans rstcb session MESSAGE XTF_CDR_GCC XTF_PASS globcat/dacRepl.c 2167 5356 19:01:20 1 0 526 3a6a1b48 3a679108 342 dac_define_serv server g_whrhouse sflags 0x120 XTF_CDR_GCC XTF_DEBUG globcat/dacRepl.c 2229 5356 19:01:20 2 0 526 3a6a1b48 3a679108 342 myid = 21 islocal=1 XTF_CDR_NIF XTF_CALL nif/nifext.c 58 5356 19:01:22 3 0 526 3a6a1b48 3a679108 342 nifiInit entry XTF_CDR_NIF XTF_CALL nif/nifext.c 121 5356 19:01:22 4 0 526 3a6a1b48 3a679108 342 nifInit return anchor:c00000003b5f8600. XTF_CDR_GCC XTF_PASS globcat/gcServdef.c 83 5356 19:01:22 5 0 526 3a6a1b48 3a679108 342 gc_define_serv server g_whrhouse id 21 XTF_CDR_NIF XTF_CDR_SES nif/nifasf.c 759 5358 19:01:52 6 0 531 3a699528 3a676048 341 cdraccept called XTF_CDR_NIF XTF_MSG common/cdrRsam.c 2434 5356 19:01:52 7 0 531 3a699528 3a676048 341 ----ASF receive--- XTF_CDR_NIF XTF_MSG common/cdrRsam.c 2465 5356 19:01:52 8 0 531 3a699528 3a676048 341 c00000003b621028 00 00 00 27 | ...' XTF_CDR_NIF XTF_MSG common/cdrRsam.c 2434 5356 19:01:52 9 0 531 3a699528 3a676048 341 ----ASF receive--- XTF_CDR_NIF XTF_MSG common/cdrRsam.c 2465 5356 19:01:52 10 0 531 3a699528 3a676048 341 c00000003b62102c 00 06 00 04 00 00 00 27 00 15 00 00 00 00 00 50 | .......'.......P XTF_CDR_NIF XTF_MSG common/cdrRsam.c 2465 5356 19:01:52 11 0 531 3a699528 3a676048 341 c00000003b62103c 3d 1a 4b 40 67 5f 61 6c 6d 77 68 72 00 00 00 00 | =.K@g_almwhr.... XTF_CDR_NIF XTF_MSG common/cdrRsam.c 2465 5356 19:01:52 12 0 531 3a699528 3a676048 341 c00000003b62104c 00 00 00 00 00 00 00 | ....... XTF_CDR_NIF XTF_CDR_SES nif/nifasf.c 613 5356 19:01:52 13 0 531 3a699528 3a676048 341 nifasf_freerecv nab: c00000004d3c67b0 rcvbuf: c00000004d3d2158 XTF_CDR_NIF XTF_CDR_SES nif/nifismgr.c 928 5356 19:01:52 14 0 531 3a699528 3a676048 341 NIF receive dharma site: 'g_almwhr' vers: 6 flag: 0x50 clock: 1025133376 XTF_CDR_NIF XTF_DEBUG nif/nifismgr.c 945 5356 19:01:52 15 0 531 3a699528 3a676048 341 nifiRecvDharma status 0x50, rc: 0 XTF_CDR_GCC XTF_PASS globcat/gcext.c 1357 5356 19:01:52 16 0 531 3a699528 3a676048 341 servname2id: srv <g_almwhr> notfound -------------------------------------------- ----------- almwhr.trace content ----------- Component Feature File Line Pid Time Stamp csvr thrd trans rstcb session MESSAGE XTF_CDR_GCC XTF_PASS globcat/dacRepl.c 2167 12383 19:16:08 1 0 132 2cb8e08 2c788c8 115 dac_define_serv server g_almwhr sflags 0x160 XTF_CDR_GCC XTF_DEBUG globcat/dacRepl.c 2229 12383 19:16:08 2 0 132 2cb8e08 2c788c8 115 myid = 8 islocal=1 XTF_CDR_NIF XTF_CALL nif/nifext.c 58 12383 19:16:12 3 0 132 2cb8e08 2c788c8 115 nifiInit entry XTF_CDR_NIF XTF_CALL nif/nifext.c 121 12383 19:16:12 4 0 132 2cb8e08 2c788c8 115 nifInit return anchor:c000000003297600. XTF_CDR_GCC XTF_PASS globcat/gcext.c 1245 12383 19:16:12 5 0 132 2cb8e08 2c788c8 115 servid2name: srv 21 not found XTF_CDR_GCC XTF_PASS globcat/gcext.c 1245 12383 19:16:13 6 0 132 2cb8e08 2c788c8 115 servid2name: srv 8 not found XTF_CDR_NIF XTF_CALL nif/nifext.c 295 12383 19:16:14 7 0 132 2cb8e08 2c788c8 115 nifSetIdleTime entry siteId: 8, newTime: 0. XTF_CDR_NIF XTF_CDR_INTERNAL nif/nifismgr.c 109 12383 19:16:14 8 0 132 2cb8e08 2c788c8 115 nifiFindSiteById entry site id:8. XTF_CDR_NIF XTF_CALL nif/nifismgr.c 126 12383 19:16:14 9 0 132 2cb8e08 2c788c8 115 nifiFindSiteById(8) return siteInst: 0. XTF_CDR_NIF XTF_CDR_SES nif/nifext.c 647 12383 19:16:15 10 0 132 2cb8e08 2c788c8 115 NIF new connection to id: 21 XTF_CDR_NIF XTF_CALL nif/nifismgr.c 527 12383 19:16:15 11 0 132 2cb8e08 2c788c8 115 nifiNewSite serverid: 21 XTF_CDR_NIF XTF_CALL nif/nifismgr.c 191 12383 19:16:15 12 0 132 2cb8e08 2c788c8 115 nifInsertAndTestSiteInst entry site id:c000000003297a18. XTF_CDR_NIF XTF_DEBUG nif/nifismgr.c 560 12383 19:16:15 13 0 132 2cb8e08 2c788c8 115 nifiNewSite starting send thread XTF_CDR_NIF XTF_CALL nif/nifismgr.c 577 12383 19:16:15 14 0 132 2cb8e08 2c788c8 115 nifiNewSite returns: c000000003297a18 XTF_CDR_NIF XTF_CDR_INTERNAL nif/nifismgr.c 109 12383 19:16:15 15 0 132 2cb8e08 2c788c8 115 nifiFindSiteById entry site id:21. XTF_CDR_NIF XTF_CALL nif/nifismgr.c 119 12383 19:16:15 16 0 132 2cb8e08 2c788c8 115 nifiFindSiteById siteID:21, thread:c00000000327f258 XTF_CDR_NIF XTF_CALL nif/nifismgr.c 126 12383 19:16:15 17 0 132 2cb8e08 2c788c8 115 nifiFindSiteById(21) return siteInst: c000000003297a18. XTF_CDR_NIF XTF_CDR_SES nif/nifismgr.c 1125 12383 19:16:15 18 0 137 2cb92a8 2c79908 120 nifiGenericStart send thread started for 21 XTF_CDR_NIF XTF_CALL nif/nifismgr.c 293 12383 19:16:15 19 0 137 2cb92a8 2c79908 120 nifiCancelRetry Entry site: 21. XTF_CDR_NIF XTF_CDR_SES nif/nifasf.c 205 12383 19:16:16 20 0 137 2cb92a8 2c79908 120 nifasf_connect assoc: c000000002ed15b0 XTF_CDR_NIF XTF_CDR_SES nif/nifasf.c 712 12383 19:16:16 21 0 137 2cb92a8 2c79908 120 nifasf_connect //g_whrhouse returned 0 XTF_CDR_NIF XTF_CDR_SES nif/nifasf.c 728 12383 19:16:16 22 0 137 2cb92a8 2c79908 120 nifasf_open return nab: c000000002fe0e28 XTF_CDR_NIF XTF_CDR_SES nif/nifismgr.c 797 12383 19:16:16 23 0 137 2cb92a8 2c79908 120 NIF send dharma servName: g_almwhr flags: 0x50 XTF_CDR_NIF XTF_DEBUG nif/nifasf.c 498 12383 19:16:16 24 0 137 2cb92a8 2c79908 120 nifasf_send(c000000002fe0e28, c00000000408e548, 43, 1) XTF_CDR_NIF XTF_DEBUG nif/nifasf.c 503 12383 19:16:16 25 0 137 2cb92a8 2c79908 120 size 43 avail 0 XTF_CDR_NIF XTF_MSG common/cdrRsam.c 2434 12383 19:16:16 26 0 137 2cb92a8 2c79908 120 ----ASF send--- XTF_CDR_NIF XTF_MSG common/cdrRsam.c 2465 12383 19:16:16 27 0 137 2cb92a8 2c79908 120 c00000000310d6a0 00 00 00 27
Where is the output of the message log file? It appears that the clocks on the two machines are more than 15 min apart. ER will not allow a connection if the clocks are that far apart. "Vadim Yezhakov" <yezhakov@mail.ru> wrote in message news:2d8b1865.0310150425.2c877a31@posting.google.com... > I have done all steps from your instructions. > > Commands executed on primary server 'whrhouse': > informix@whrhouse $xtrace size 50000 > informix@whrhouse $xtrace heavy -c XTF_CDR_GCC > informix@whrhouse $xtrace heavy -c XTF_CDR_NIF > informix@whrhouse $xtrace heavy -c XTF_CDRIF_NIF > informix@whrhouse $xtrace on > > informix@whrhouse $cdr define serv -I g_whrhouse > informix@whrhouse $cdr define serv -c almwhr -I -S g_whrhouse g_almwhr > command failed -- unable to connect to server specified (5) > > informix@whrhouse $xtrace off > informix@whrhouse $xtrace fview > whrhouse.trace > > > > Commands executed on target server 'almwhr': > informix@whrhouse $xtrace size 50000 > informix@whrhouse $xtrace heavy -c XTF_CDR_GCC > informix@whrhouse $xtrace heavy -c XTF_CDR_NIF > informix@whrhouse $xtrace heavy -c XTF_CDRIF_NIF > informix@whrhouse $xtrace on > > informix@whrhouse $xtrace off > informix@whrhouse $xtrace fview > almwhr.trace > > --------- whrhouse.trace content ----------- > Component Feature File Line Pid Time Stamp csvr thrd > trans rstcb session MESSAGE > XTF_CDR_GCC XTF_PASS globcat/dacRepl.c 2167 5356 19:01:20 1 0 > 526 3a6a1b48 3a679108 342 dac_define_serv server g_whrhouse > sflags 0x120 > XTF_CDR_GCC XTF_DEBUG globcat/dacRepl.c 2229 5356 19:01:20 2 0 > 526 3a6a1b48 3a679108 342 myid = 21 islocal=1 > XTF_CDR_NIF XTF_CALL nif/nifext.c 58 5356 19:01:22 3 0 > 526 3a6a1b48 3a679108 342 nifiInit entry > XTF_CDR_NIF XTF_CALL nif/nifext.c 121 5356 19:01:22 4 0 > 526 3a6a1b48 3a679108 342 nifInit return anchor:c00000003b5f8600. > XTF_CDR_GCC XTF_PASS globcat/gcServdef.c 83 5356 19:01:22 5 > 0 526 3a6a1b48 3a679108 342 gc_define_serv server g_whrhouse > id 21 > XTF_CDR_NIF XTF_CDR_SES nif/nifasf.c 759 5358 19:01:52 6 0 > 531 3a699528 3a676048 341 cdraccept called > XTF_CDR_NIF XTF_MSG common/cdrRsam.c 2434 5356 19:01:52 7 0 > 531 3a699528 3a676048 341 ----ASF receive--- > XTF_CDR_NIF XTF_MSG common/cdrRsam.c 2465 5356 19:01:52 8 0 > 531 3a699528 3a676048 341 c00000003b621028 00 00 00 27 > | ...' > XTF_CDR_NIF XTF_MSG common/cdrRsam.c 2434 5356 19:01:52 9 0 > 531 3a699528 3a676048 341 ----ASF receive--- > XTF_CDR_NIF XTF_MSG common/cdrRsam.c 2465 5356 19:01:52 10 0 > 531 3a699528 3a676048 341 c00000003b62102c 00 06 00 04 00 00 00 > 27 00 15 00 00 00 00 00 50 | .......'.......P > XTF_CDR_NIF XTF_MSG common/cdrRsam.c 2465 5356 19:01:52 11 0 > 531 3a699528 3a676048 341 c00000003b62103c 3d 1a 4b 40 67 5f 61 > 6c 6d 77 68 72 00 00 00 00 | =.K@g_almwhr.... > XTF_CDR_NIF XTF_MSG common/cdrRsam.c 2465 5356 19:01:52 12 0 > 531 3a699528 3a676048 341 c00000003b62104c 00 00 00 00 00 00 00 > | ....... > XTF_CDR_NIF XTF_CDR_SES nif/nifasf.c 613 5356 19:01:52 13 0 > 531 3a699528 3a676048 341 nifasf_freerecv nab: c00000004d3c67b0 > rcvbuf: c00000004d3d2158 > XTF_CDR_NIF XTF_CDR_SES nif/nifismgr.c 928 5356 19:01:52 14 0 > 531 3a699528 3a676048 341 NIF receive dharma site: 'g_almwhr' > vers: 6 flag: 0x50 clock: 1025133376 > XTF_CDR_NIF XTF_DEBUG nif/nifismgr.c 945 5356 19:01:52 15 0 > 531 3a699528 3a676048 341 nifiRecvDharma status 0x50, rc: 0 > XTF_CDR_GCC XTF_PASS globcat/gcext.c 1357 5356 19:01:52 16 0 > 531 3a699528 3a676048 341 servname2id: srv <g_almwhr> notfound > -------------------------------------------- > > > ----------- almwhr.trace content ----------- > Component Feature File Line Pid Time Stamp csvr thrd > trans rstcb session MESSAGE > XTF_CDR_GCC XTF_PASS globcat/dacRepl.c 2167 12383 19:16:08 1 0 > 132 2cb8e08 2c788c8 115 dac_define_serv server g_almwhr > sflags 0x160 > XTF_CDR_GCC XTF_DEBUG globcat/dacRepl.c 2229 12383 19:16:08 2 0 > 132 2cb8e08 2c788c8 115 myid = 8 islocal=1 > XTF_CDR_NIF XTF_CALL nif/nifext.c 58 12383 19:16:12 3 0 > 132 2cb8e08 2c788c8 115 nifiInit entry > XTF_CDR_NIF XTF_CALL nif/nifext.c 121 12383 19:16:12 4 0 > 132 2cb8e08 2c788c8 115 nifInit return anchor:c000000003297600. > XTF_CDR_GCC XTF_PASS globcat/gcext.c 1245 12383 19:16:12 5 0 > 132 2cb8e08 2c788c8 115 servid2name: srv 21 not found > XTF_CDR_GCC XTF_PASS globcat/gcext.c 1245 12383 19:16:13 6 0 > 132 2cb8e08 2c788c8 115 servid2name: srv 8 not found > XTF_CDR_NIF XTF_CALL nif/nifext.c 295 12383 19:16:14 7 0 > 132 2cb8e08 2c788c8 115 nifSetIdleTime entry siteId: 8, > newTime: 0. > XTF_CDR_NIF XTF_CDR_INTERNAL nif/nifismgr.c 109 12383 19:16:14 8 > 0 132 2cb8e08 2c788c8 115 nifiFindSiteById entry site id:8. > XTF_CDR_NIF XTF_CALL nif/nifismgr.c 126 12383 19:16:14 9 0 > 132 2cb8e08 2c788c8 115 nifiFindSiteById(8) return siteInst: 0. > XTF_CDR_NIF XTF_CDR_SES nif/nifext.c 647 12383 19:16:15 10 0 > 132 2cb8e08 2c788c8 115 NIF new connection to id: 21 > XTF_CDR_NIF XTF_CALL nif/nifismgr.c 527 12383 19:16:15 11 0 > 132 2cb8e08 2c788c8 115 nifiNewSite serverid: 21 > XTF_CDR_NIF XTF_CALL nif/nifismgr.c 191 12383 19:16:15 12 0 > 132 2cb8e08 2c788c8 115 nifInsertAndTestSiteInst entry site > id:c000000003297a18. > XTF_CDR_NIF XTF_DEBUG nif/nifismgr.c 560 12383 19:16:15 13 0 > 132 2cb8e08 2c788c8 115 nifiNewSite starting send thread > XTF_CDR_NIF XTF_CALL nif/nifismgr.c 577 12383 19:16:15 14 0 > 132 2cb8e08 2c788c8 115 nifiNewSite returns: c000000003297a18 > XTF_CDR_NIF XTF_CDR_INTERNAL nif/nifismgr.c 109 12383 19:16:15 15 > 0 132 2cb8e08 2c788c8 115 nifiFindSiteById entry site id:21. > XTF_CDR_NIF XTF_CALL nif/nifismgr.c 119 12383 19:16:15 16 0 > 132 2cb8e08 2c788c8 115 nifiFindSiteById siteID:21, > thread:c00000000327f258 > XTF_CDR_NIF XTF_CALL nif/nifismgr.c 126 12383 19:16:15 17 0 > 132 2cb8e08 2c788c8 115 nifiFindSiteById(21) return siteInst: > c000000003297a18. > XTF_CDR_NIF XTF_CDR_SES nif/nifismgr.c 1125 12383 19:16:15 18 0 > 137 2cb92a8 2c79908 120 nifiGenericStart send thread started > for 21 > XTF_CDR_NIF XTF_CALL nif/nifismgr.c 293 12383 19:16:15 19 0 > 137 2cb92a8 2c79908 120 nifiCancelRetry Entry site: 21. > XTF_CDR_NIF XTF_CDR_SES nif/nifasf.c 205 12383 19:16:16 20 0 > 137 2cb92a8 2c79908 120 nifasf_connect assoc: c000000002ed15b0 > XTF_CDR_NIF XTF_CDR_SES nif/nifasf.c 712 12383 19:16:16 21 0 > 137 2cb92a8 2c79908 120 nifasf_connect //g_whrhouse returned 0 > XTF_CDR_NIF XTF_CDR_SES nif/nifasf.c 728 12383 19:16:16 22 0 > 137 2cb92a8 2c79908 120 nifasf_open return nab: > c000000002fe0e28 > XTF_CDR_NIF XTF_CDR_SES nif/nifismgr.c 797 12383 19:16:16 23 0 > 137 2cb92a8 2c79908 120 NIF
The clocks need to be set closer to each other, but the actual problem is - > XTF_CDR_NIF XTF_DEBUG nif/nifismgr.c 945 5356 19:01:52 15 0 > 531 3a699528 3a676048 341 nifiRecvDharma status 0x50, rc: 0 > XTF_CDR_GCC XTF_PASS globcat/gcext.c 1357 5356 19:01:52 16 0 > 531 3a699528 3a676048 341 servname2id: srv <g_almwhr> notfound For some reason g_whrhouse is not able to see the g_almwhr entry in the sqlhost file. There was an issue in the early 9.3 releases that we would not reread the sqlhost file. So if the entry was not there when the server was started, then it would not recognize the entry. You might only need to bounce the server. You need to recheck to ensure that the server is really using the sqlhosts file entry that you think that it is. Is there a case open for this problem? "Vadim Yezhakov" <yezhakov@mail.ru> wrote in message news:2d8b1865.0310150425.2c877a31@posting.google.com... > I have done all steps from your instructions. > > Commands executed on primary server 'whrhouse': > informix@whrhouse $xtrace size 50000 > informix@whrhouse $xtrace heavy -c XTF_CDR_GCC > informix@whrhouse $xtrace heavy -c XTF_CDR_NIF > informix@whrhouse $xtrace heavy -c XTF_CDRIF_NIF > informix@whrhouse $xtrace on > > informix@whrhouse $cdr define serv -I g_whrhouse > informix@whrhouse $cdr define serv -c almwhr -I -S g_whrhouse g_almwhr > command failed -- unable to connect to server specified (5) > > informix@whrhouse $xtrace off > informix@whrhouse $xtrace fview > whrhouse.trace > > > > Commands executed on target server 'almwhr': > informix@whrhouse $xtrace size 50000 > informix@whrhouse $xtrace heavy -c XTF_CDR_GCC > informix@whrhouse $xtrace heavy -c XTF_CDR_NIF > informix@whrhouse $xtrace heavy -c XTF_CDRIF_NIF > informix@whrhouse $xtrace on > > informix@whrhouse $xtrace off > informix@whrhouse $xtrace fview > almwhr.trace > > --------- whrhouse.trace content ----------- > Component Feature File Line Pid Time Stamp csvr thrd > trans rstcb session MESSAGE > XTF_CDR_GCC XTF_PASS globcat/dacRepl.c 2167 5356 19:01:20 1 0 > 526 3a6a1b48 3a679108 342 dac_define_serv server g_whrhouse > sflags 0x120 > XTF_CDR_GCC XTF_DEBUG globcat/dacRepl.c 2229 5356 19:01:20 2 0 > 526 3a6a1b48 3a679108 342 myid = 21 islocal=1 > XTF_CDR_NIF XTF_CALL nif/nifext.c 58 5356 19:01:22 3 0 > 526 3a6a1b48 3a679108 342 nifiInit entry > XTF_CDR_NIF XTF_CALL nif/nifext.c 121 5356 19:01:22 4 0 > 526 3a6a1b48 3a679108 342 nifInit return anchor:c00000003b5f8600. > XTF_CDR_GCC XTF_PASS globcat/gcServdef.c 83 5356 19:01:22 5 > 0 526 3a6a1b48 3a679108 342 gc_define_serv server g_whrhouse > id 21 > XTF_CDR_NIF XTF_CDR_SES nif/nifasf.c 759 5358 19:01:52 6 0 > 531 3a699528 3a676048 341 cdraccept called > XTF_CDR_NIF XTF_MSG common/cdrRsam.c 2434 5356 19:01:52 7 0 > 531 3a699528 3a676048 341 ----ASF receive--- > XTF_CDR_NIF XTF_MSG common/cdrRsam.c 2465 5356 19:01:52 8 0 > 531 3a699528 3a676048 341 c00000003b621028 00 00 00 27 > | ...' > XTF_CDR_NIF XTF_MSG common/cdrRsam.c 2434 5356 19:01:52 9 0 > 531 3a699528 3a676048 341 ----ASF receive--- > XTF_CDR_NIF XTF_MSG common/cdrRsam.c 2465 5356 19:01:52 10 0 > 531 3a699528 3a676048 341 c00000003b62102c 00 06 00 04 00 00 00 > 27 00 15 00 00 00 00 00 50 | .......'.......P > XTF_CDR_NIF XTF_MSG common/cdrRsam.c 2465 5356 19:01:52 11 0 > 531 3a699528 3a676048 341 c00000003b62103c 3d 1a 4b 40 67 5f 61 > 6c 6d 77 68 72 00 00 00 00 | =.K@g_almwhr.... > XTF_CDR_NIF XTF_MSG common/cdrRsam.c 2465 5356 19:01:52 12 0 > 531 3a699528 3a676048 341 c00000003b62104c 00 00 00 00 00 00 00 > | ....... > XTF_CDR_NIF XTF_CDR_SES nif/nifasf.c 613 5356 19:01:52 13 0 > 531 3a699528 3a676048 341 nifasf_freerecv nab: c00000004d3c67b0 > rcvbuf: c00000004d3d2158 > XTF_CDR_NIF XTF_CDR_SES nif/nifismgr.c 928 5356 19:01:52 14 0 > 531 3a699528 3a676048 341 NIF receive dharma site: 'g_almwhr' > vers: 6 flag: 0x50 clock: 1025133376 > XTF_CDR_NIF XTF_DEBUG nif/nifismgr.c 945 5356 19:01:52 15 0 > 531 3a699528 3a676048 341 nifiRecvDharma status 0x50, rc: 0 > XTF_CDR_GCC XTF_PASS globcat/gcext.c 1357 5356 19:01:52 16 0 > 531 3a699528 3a676048 341 servname2id: srv <g_almwhr> notfound > -------------------------------------------- > > > ----------- almwhr.trace content ----------- > Component Feature File Line Pid Time Stamp csvr thrd > trans rstcb session MESSAGE > XTF_CDR_GCC XTF_PASS globcat/dacRepl.c 2167 12383 19:16:08 1 0 > 132 2cb8e08 2c788c8 115 dac_define_serv server g_almwhr > sflags 0x160 > XTF_CDR_GCC XTF_DEBUG globcat/dacRepl.c 2229 12383 19:16:08 2 0 > 132 2cb8e08 2c788c8 115 myid = 8 islocal=1 > XTF_CDR_NIF XTF_CALL nif/nifext.c 58 12383 19:16:12 3 0 > 132 2cb8e08 2c788c8 115 nifiInit entry > XTF_CDR_NIF XTF_CALL nif/nifext.c 121 12383 19:16:12 4 0 > 132 2cb8e08 2c788c8 115 nifInit return anchor:c000000003297600. > XTF_CDR_GCC XTF_PASS globcat/gcext.c 1245 12383 19:16:12 5 0 > 132 2cb8e08 2c788c8 115 servid2name: srv 21 not found > XTF_CDR_GCC XTF_PASS globcat/gcext.c 1245 12383 19:16:13 6 0 > 132 2cb8e08 2c788c8 115 servid2name: srv 8 not found > XTF_CDR_NIF XTF_CALL nif/nifext.c 295 12383 19:16:14 7 0 > 132 2cb8e08 2c788c8 115 nifSetIdleTime entry siteId: 8, > newTime: 0. > XTF_CDR_NIF XTF_CDR_INTERNAL nif/nifismgr.c 109 12383 19:16:14 8 > 0 132 2cb8e08 2c788c8 115 nifiFindSiteById entry site id:8. > XTF_CDR_NIF XTF_CALL nif/nifismgr.c 126 12383 19:16:14 9 0 > 132 2cb8e08 2c788c8 115 nifiFindSiteById(8) return siteInst: 0. > XTF_CDR_NIF XTF_CDR_SES nif/nifext.c 647 12383 19:16:15 10 0 > 132 2cb8e08 2c788c8 115 NIF new connection to id: 21 > XTF_CDR_NIF XTF_CALL nif/nifismgr.c 527 12383 19:16:15 11 0 > 132 2cb8e08 2c788c8 115 nifiNewSite serverid: 21 > XTF_CDR_NIF XTF_CALL nif/nifismgr.c 191 12383 19:16:15 12 0 > 132 2cb8e08 2c788c8 115 nifInsertAndTestSiteInst entry site > id:c000000003297a18. > XTF_CDR_NIF XTF_DEBUG nif/nifismgr.c 560 12383 19:16:15 13 0 > 132 2cb8e08 2c788c8 115 nifiNewSite starting send thread > XTF_CDR_NIF XTF_CALL nif/nifismgr.c 577 12383 19:16:15 14 0 > 132 2cb8e08 2c788c8 115 nifiNewSite returns: c000000003297a18 > XTF_CDR_NIF XTF_CDR_INTERNAL nif/nifismgr.c 109 12383 19:16:15 15 > 0 132 2cb8e08 2c788c8 115 nifiFindSiteById entry site id:21. > XTF_CDR_NIF XTF_CALL nif/nifismgr.c 119 12383 19:16:15 16 0 > 132 2cb8e08 2c788c8 115 nifiFindSiteById siteID:21, > thread:c00000000327f258 > XTF_CDR_NIF XTF_CALL nif/nifismgr.c 126 12383 19:16:15 17 0 > 132 2cb8e08 2c788c8 115 nifiFindSiteById(21) return siteInst: > c000000003297a18. > XTF_CDR_NIF XTF_CDR_SES nif/nifismgr.c 1125 12383 19:16:15 18 0 > 137 2cb92a8 2c79908 120 nifiGenericStart send thread started > for 21 > XTF_CD