View Single Post

   
  #9 (permalink)  
Old 04-20-2008, 03:25 PM
Madison Pruet
 
Posts: n/a
Default Re: Problem with ER : cdr sync replicate

philippe wrote:
>> Well getting a bit internal..... ;-)
>>
>> This is where the 47 error is being returned.
>> $select groupname into :groupName
>> from hostdef
>> where name = :nameIn;
>> if (sqlca.sqlcode == 100)
>> {
>> rc = CDR_ESERV;
>> break;
>> }
>>
>> I suspect that the 47 error is leading eventually to the other
>> failures because logic is that when we are trying to destroy the part
>> structure (part_tdDtor), that we attempt to connect to the server that
>> the part is associated with and then perform a clean shutdown. I
>> suspect that in UC4 that there is some issue with improper cleanup
>> when the initial connection never occured. Not sure. This may have
>> been fixed in subsequent releases - again not sure.

>
> In fact, the error 'Error returned 47 at 5417' is NOT reproducible,
> while segmentation fault occurs each times.


With the same stack???

>
>
>> Probably the best thing to do is to examine the sqlhost file and/or
>> examine the hostdef table that you are connecting to. What it is
>> trying to do is to convert the group name into a server name - and
>> that is failing. You might want to try to issue the select statement
>> for each node that is involved in the sync operation. (nameIn should
>> be the group name...)

>
> The select statements return always 1 row:
>
> on g_root server:
> select groupname from hostdef where name = 'g_root' -> return 'g_root'
> select groupname from hostdef where name = 'g_leaf' -> return 'g_leaf'
>
> same result on g_leaf server.
>
> Philippe
>
>

Reply With Quote