How to solve the erro:(12/3841)? Emergency!
hi,all:
i meet a problem,when i try to fget the buffer from tuxedo,the error was logged!the
flowing is the message of error and source,pleae check and help me and tell me why?thanks
anyway!!!
PS:
1.my platform of tuxedo is Digital Unix and PC side is Win98/win2000.
2.Tuxedo version is 7.1(with no patch fixed)
3.database is sybase of unix
PART ONE,ERROR MESSAGE:
LIBTUX_CAT:6031: ERROR: Unable to pre-process buffer before tranmission. Error code(12/3841)
171112.ah97supp!WSH.10488.1.0: WSNAT_CAT:1148: ERROR: Processing of message to be
sent to client failed
171112.ah97supp!WSH.10488.1.0: WSNAT_CAT:1029: ERROR: Sending of reply message to
client failed
PART TWO:MY SOURCE:
void CPExscind::AllDataCheck(TPSVCINFO *rqst)
/* ¼ì²é¡¢¸î½Ó½á¹û±êÖ¾¡£
flag 0 δ¼ì²é£¬1 ¸æ¾¯£¬2´íÎó£¬3 ¼ì²éͨ¹ý£¬4 ¸î½Óʧ°Ü£¬5 ¸î½Ó³É¹¦,6 ¸î½Ó»Ø¹öʧ°Ü£¬7
¸î½Ó»Ø¹ö³É¹¦*/
EXEC SQL BEGIN DECLARE SECTION;
long recno;
long new_exchange_id;
long new_mdf_no;
CS_CHAR new_acc_nbr[21];
CS_CHAR new_port_no[21];
CS_CHAR new_mdf_col[9];
CS_CHAR new_mdf_block[9];
long new_mdf_serial;
CS_CHAR new_linebox_no[21];
long new_linebox_code;
long new_linebox_serial;
CS_CHAR new_crossbox1_no[21];
long new_crossbox1_code;
long new_crossbox1_in_line;
long new_crossbox1_out_line;
CS_CHAR new_crossbox2_no[21];
long new_crossbox2_code;
long new_crossbox2_in_line;
long new_crossbox2_out_line;
CS_CHAR new_crossbox3_no[21];
long new_crossbox3_code;
long new_crossbox3_in_line;
long new_crossbox3_out_line;
long new_maintrunk_code;
long new_mdf_code;
CS_CHAR check_message[101]="";
long tp_exchange_id;
CS_CHAR tp[2];
CS_CHAR tp_acc_nbr[21];
CS_CHAR tp_port_no[21];
CS_CHAR tp_mdfcol_no[9];
CS_CHAR tp_mdfblock_no[9];
long tp_mdf_code;
long tp_mdfblock_lineno;
long tp_maintrunk_code;
long tp_linebox_code;
CS_CHAR tp_linebox_name[21];
long tp_linebox_serial;
long tp_matchline_serial;
CS_CHAR tp_crossbox_name[21];
long tp_crossbox_code;
long tp_crossbox_inserial;
long tp_crossbox2_code;
long tp_crossbox2_in_serial;
long tp_crossbox2_out_serial;
long tp_crossbox3_code;
long tp_crossbox3_in_serial;
long tp_crossbox3_out_serial;
long SQL_exchange_id;
CS_CHAR SQL_project_name[21];
CS_CHAR SQL_project_sequence[11];
long SQL_input_err_cnt;
EXEC SQL END DECLARE SECTION;
recvbuf = (FBFR32 *)rqst->data;
BufferSize = 4*1024;
sendbuf = NULL;
if((sendbuf = (FBFR32 *)tpalloc("FML32",NULL,BufferSize))==NULL)
DisConnect();
tpreturn(TPFAIL,0,NULL,0,0);
Finit32(sendbuf,BufferSize) ;
Fget32(recvbuf,FML_CK_exchange_id,0,(char*)&SQL_exchange_id,0);
userlog("SQL_exchange_id-->%d",SQL_exchange_id);
Fget32(recvbuf,FML_CK_project_name,0,SQL_project_name,0);
userlog("SQL_project_name-->%s",SQL_project_name);
Fget32(recvbuf,FML_CK_project_sequence,0,SQL_project_sequence,0);
userlog("SQL_project_sequence-->%s",SQL_project_sequence);
Fget32(recvbuf,FML_CK_input_err_cnt,0,(char*)&SQL_input_err_cnt,0);
userlog("SQL_input_err_cnt-->%d",SQL_input_err_cnt);
/*È¡³ö·ûºÏ¼ì²éÌõ¼þµÄ¼Ç¼*/
EXEC SQL DECLARE check_data cursor for
select recno,
ISNULL(new_exchange_id,-1),
ISNULL(new_mdf_no,-1),
ISNULL(new_acc_nbr,'-1'),
ISNULL(new_port_no,'-1'),
ISNULL(new_mdf_col,'-1'),
ISNULL(new_mdf_block,'-1'),
ISNULL(new_mdf_serial,-1),
ISNULL(new_linebox_no,'-1'),
ISNULL(new_linebox_code,-1),
ISNULL(new_linebox_serial,-1),
ISNULL(new_crossbox1_no,'-1'),
ISNULL(new_crossbox1_code,-1),
ISNULL(new_crossbox1_in_line,-1),
ISNULL(new_crossbox1_out_line,-1),
ISNULL(new_crossbox2_no,'-1'),
ISNULL(new_crossbox2_code,-1),
ISNULL(new_crossbox2_in_line,-1),
ISNULL(new_crossbox2_out_line,-1),
ISNULL(new_crossbox3_no,'-1'),
ISNULL(new_crossbox3_code,-1),
ISNULL(new_crossbox3_in_line,-1),
ISNULL(new_crossbox3_out_line,-1),
ISNULL(new_maintrunk_code,-1),
ISNULL(new_mdf_code,-1)
from res_modify_details
where old_exchange_id=:SQL_exchange_id and
project_name=:SQL_project_name and
project_sequence=:SQL_project_sequence and
state='10A' and flag in('0','1','2') order by recno;
EXEC SQL OPEN check_data;
if(sqlca.sqlcode!=0)
userlog("Open Cursor --->sqlca.sqlerrm.sqlerrmc,sqlca.sqlcode%s,%d",sqlca.sqlerrm.sqlerrmc,sqlca.sqlcode);
/*Ñ»·¼ì²éÿÌõ¼Ç¼*/
int err_cnt=0;/*´íÎóÊý*/
int alert_cnt=0;/*¾¯¸æÊý*/
while(1)
/*¶ÔÓÚÒ»ÌõÏêÇé¼Ç¼Êý¾Ý±éÀú¼ì²é*/
EXEC SQL FETCH check_data into
:recno,
:new_exchange_id,
:new_mdf_no,
:new_acc_nbr,
:new_port_no,
:new_mdf_col,
:new_mdf_block,
:new_mdf_serial,
:new_linebox_no,
:new_linebox_code,
:new_linebox_serial,
:new_crossbox1_no,
:new_crossbox1_code,
:new_crossbox1_in_line,
:new_crossbox1_out_line,
:new_crossbox2_no,
:new_crossbox2_code,
:new_crossbox2_in_line,
:new_crossbox2_out_line,
:new_crossbox3_no,
:new_crossbox3_code,
:new_crossbox3_in_line,
:new_crossbox3_out_line,
:new_maintrunk_code,
:new_mdf_code;
userlog("sqlca.sqlerrm.sqlerrmc,sqlca.sqlcode%s,%d",sqlca.sqlerrm.sqlerrmc,sqlca.sqlcode);
if(sqlca.sqlcode!=0) break;
/*else if((sqlca.sqlcode!=100)&&(sqlca.sqlcode!=0))
userlog("FETCH FAIL!");
DisConnect();
tpreturn(TPFAIL,0,NULL,0,0);
/*±ØÊäÈë:оÖÏòÃû£¬ÐºÅÂ룬ж˿ڣ¬ÐÂÁС¢¿é¡¢¶Ô£¬
зÖÏßÏäºÅ£¬Ð·ÖÏßÏäÏßÐò£¬ÐÂÒ»¼¶½»½ÓÏäºÅ£¬
ÈëÏߣ¬³öÏߣ¬¶þ¼¶½»½ÓÏäºÅ£¬ÈëÏߣ¬³öÏߣ¬Èý¼¶*/
char err_msg[200]="";
char alt_msg[200]="";
strcpy(check_message,"");
/*=============================ÅжÏÐÂÊý¾ÝÊÇ·ñΪ¿Õ´íÎó==============================*/
if(new_exchange_id==-1)
/*strcpy(err_msg,"оÖÏòΪ¿Õ´í£¡");*/
userlog("оÖÏòΪ¿Õ´í£¡");
if (Fadd32(sendbuf,FML_CK_errmessage,"оÖÏòΪ¿Õ´í£¡",0) == -1) userlog("fadd
error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0) == -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd error %ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
if(new_mdf_no==-1)
/*strcpy(err_msg,"ÐÂÅäÏ߼ܺÅΪ¿Õ´í£¡");*/
userlog("ÐÂÅäÏ߼ܺÅΪ¿Õ´í£¡");
if (Fadd32(sendbuf,FML_CK_errmessage,"ÐÂÅäÏ߼ܺÅΪ¿Õ´í£¡",0) == -1)
userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0) == -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd error %ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
if((strcmp(new_acc_nbr,"-1")==0)||(strcmp(new_port_no,"-1")==0))
/*strcpy(err_msg,"ºÅÂë¶Ë¿ÚΪ¿Õ´í£¡");*/
userlog("ºÅÂë¶Ë¿ÚΪ¿Õ´í£¡");
if (Fadd32(sendbuf,FML_CK_errmessage,"ºÅÂë¶Ë¿ÚΪ¿Õ´í£¡",0) == -1)
userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0) == -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd error %ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
if((strcmp(new_mdf_col,"-1")==0)||(strcmp(new_mdf_block,"-1")==0)||(new_mdf_serial==-1))
/*strcpy(err_msg,"ÐÂÁпé¶ÔΪ¿Õ´í£¡");*/
userlog("ÐÂÁпé¶ÔΪ¿Õ´í£¡");
if (Fadd32(sendbuf,FML_CK_errmessage,"ÐÂÁпé¶ÔΪ¿Õ´í£¡",0) == -1)
userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0) == -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd error %ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
if(strcmp(new_linebox_no,"-1")==0)
/*strcpy(err_msg,"зÖÏßÏäºÅΪ¿Õ´í£¡");*/
userlog("зÖÏßÏäºÅΪ¿Õ´í£¡");
if (Fadd32(sendbuf,FML_CK_errmessage,"зÖÏßÏäºÅΪ¿Õ´í£¡",0) == -1)
userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0) == -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd error %ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
if(new_linebox_serial==-1)
/*strcpy(err_msg,"зÖÏßÏäÏßÐòΪ¿Õ´í£¡");*/
userlog("зÖÏßÏäÏßÐòΪ¿Õ´í£¡");
if (Fadd32(sendbuf,FML_CK_errmessage,"зÖÏßÏäÏßÐòΪ¿Õ´í£¡",0) ==
-1) userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0) == -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd error %ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
if(strcmp(new_crossbox1_no,"-1")==0)
/*strcpy(err_msg,"ÐÂÒ»¼¶½»½ÓÏäºÅΪ¿Õ´í£¡");*/
userlog("ÐÂÒ»¼¶½»½ÓÏäºÅΪ¿Õ´í£¡");
if (Fadd32(sendbuf,FML_CK_errmessage,"ÐÂÒ»¼¶½»½ÓÏäºÅΪ¿Õ´í£¡",0)
== -1) userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0) == -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd error %ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
if(new_crossbox1_in_line==-1)
/*strcpy(err_msg,"ÐÂÒ»¼¶½»½ÓÏäÈëÏßΪ¿Õ´í£¡");*/
userlog("ÐÂÒ»¼¶½»½ÓÏäÈëÏßΪ¿Õ´í£¡");
if (Fadd32(sendbuf,FML_CK_errmessage,"ÐÂÒ»¼¶½»½ÓÏäÈëÏßΪ¿Õ´í£¡",0)
== -1) userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0) == -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd error %ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
/*===========================ÅжÏÐÂÊý¾ÝΪ¿Õ¸æ¾¯============================
if(new_crossbox1_out_line==-1)
strcpy(alt_msg,"¸æ¾¯1,ÐÂÒ»¼¶½»½ÓÏä³öÏßΪ¿Õ£¡");
if (Fadd32(sendbuf,FML_CK_altmsg,alt_msg,0)== -1) userlog("fadd error
= %ld",__LINE__);
alert_cnt=alert_cnt+1;
if(strcmp(new_crossbox2_no,"-1")==0)
strcpy(alt_msg,"¸æ¾¯2,жþ¼¶½»½ÓÏäºÅΪ¿Õ£¡");
if (Fadd32(sendbuf,FML_CK_altmsg,alt_msg,0)== -1) userlog("fadd error
= %ld",__LINE__);
alert_cnt=alert_cnt+1;
if(new_crossbox2_in_line==-1)
strcpy(alt_msg,"¸æ¾¯3,жþ¼¶½»½ÓÏäÈëÏßΪ¿Õ£¡");
if (Fadd32(sendbuf,FML_CK_altmsg,alt_msg,0)== -1) userlog("fadd error
= %ld",__LINE__);
alert_cnt=alert_cnt+1;
if(new_crossbox2_out_line==-1)
strcpy(alt_msg,"¸æ¾¯4,жþ¼¶½»½ÓÏä³öÏßΪ¿Õ£¡");
if (Fadd32(sendbuf,FML_CK_altmsg,alt_msg,0)== -1) userlog("fadd error
= %ld",__LINE__);
alert_cnt=alert_cnt+1;
if(strcmp(new_crossbox3_no,"-1")==0)
strcpy(alt_msg,"¸æ¾¯5,ÐÂÈý¼¶½»½ÓÏäºÅΪ¿Õ£¡");
if (Fadd32(sendbuf,FML_CK_altmsg,alt_msg,0)== -1) userlog("fadd error
= %ld",__LINE__);
alert_cnt=alert_cnt+1;
if(new_crossbox3_in_line==-1)
strcpy(alt_msg,"¸æ¾¯6,ÐÂÈý¼¶½»½ÓÏäÈëÏßΪ¿Õ£¡");
if (Fadd32(sendbuf,FML_CK_altmsg,alt_msg,0)== -1) userlog("fadd error
= %ld",__LINE__);
alert_cnt=alert_cnt+1;
if(new_crossbox3_out_line==-1)
strcpy(alt_msg,"¸æ¾¯7,ÐÂÈý¼¶½»½ÓÏä³öÏßΪ¿Õ£¡");
if (Fadd32(sendbuf,FML_CK_altmsg,alt_msg,0)== -1) userlog("fadd error
= %ld",__LINE__);
alert_cnt=alert_cnt+1;
/*===========================ÅжÏÐÂÊý¾ÝºÏ·¨ÐÔ´íÎó²¢¾À´í=====================================*/
if(new_exchange_id!=-1)
EXEC SQL select exchange_id into :tp_exchange_id from exchange
where exchange_id=:new_exchange_id and state='10A';
if(sqlca.sqlcode!=0)
/*strcpy(err_msg,"´íÎó,¾ÖÏò±íÖÐÎÞ´ËоÖÏò£¡");*/
strcat(check_message,"¾ÖÏò´í*");
userlog("´íÎó,¾ÖÏò±íÖÐÎÞ´ËоÖÏò£¡");
if (Fadd32(sendbuf,FML_CK_errmessage,"´íÎó,¾ÖÏò±íÖÐÎÞ´ËоÖÏò£¡",0)
== -1) userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0) == -1)
userlog("fadd error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd error
%ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
if((strcmp(new_acc_nbr,"-1")!=0)||(strcmp(new_port_no,"-1")!=0))
/*ÅжϺÅÂë¶Ë¿ÚÊÇ·ñÒ»Ò»¶ÔÓ¦*/
EXEC SQL select distinct switch_num_way into :tp from branch_tel_head
a,all_number b
where a.tel_head=b.tel_head
and b.acc_nbr=:new_acc_nbr;
if(strcmp(tp,"1")!=0)
/*²»¶ÔÓ¦*/
EXEC SQL select ISNULL(b.acc_nbr,'0') into
:tp_acc_nbr
from switch_info a,all_number b
where a.switch_no=b.switch_no
and a.exchange_id in (select distinct exchange_id FROM popedom_tache_exchange
where exchange_id=:new_exchange_id )
and b.acc_nbr =:new_acc_nbr and
b.num_line_state='6';
if(sqlca.sqlcode!=0)
/*strcpy(err_msg,"´íÎó,ºÅÂë±íÖÐÎÞ´ËкÅÂ룡");*/
userlog("´íÎó,ºÅÂë±íÖÐÎÞ´ËкÅÂ룡");
if (Fadd32(sendbuf,FML_CK_errmessage,"´íÎó,ºÅÂë±íÖÐÎÞ´ËкÅÂ룡",0)
== -1) userlog("fadd error %ld",__LINE__);
int num=Foccur32(sendbuf,FML_CK_errmessage);
userlog("num==%d",num);
strcat(check_message,"ºÅÂë´í*");
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0) == -1)
userlog("fadd error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd error
%ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
EXEC SQL select ISNULL(b.port_no,'0')
into :tp_port_no
from switch_info a,port_details b
where a.switch_no=b.switch_no
and a.exchange_id in (select distinct exchange_id FROM popedom_tache_exchange
where exchange_id=:new_exchange_id) and
b.port_no=:new_port_no and
b.num_line_state='6';
if(sqlca.sqlcode!=0)
/*strcpy(err_msg,"´íÎó,¶Ë¿Ú±íÖÐÎÞ´Ëж˿ڣ¡");*/
userlog("´íÎó,¶Ë¿Ú±íÖÐÎÞ´Ëж˿ڣ¡");
strcat(check_message,"¶Ë¿Ú´í*");
if (Fadd32(sendbuf,FML_CK_errmessage,"´íÎó,¶Ë¿Ú±íÖÐÎÞ´Ëж˿ڣ¡",0)
== -1) userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0) == -1)
userlog("fadd error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd error
%ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
else if(strcmp(tp,"1")==0)/*Ò»Ò»¶ÔÓ¦*/
EXEC SQL select ISNULL(b.acc_nbr,'0'),
ISNULL(b.port_no,'0')
into
:tp_acc_nbr,
:tp_port_no
from switch_info a,port_no b
where a.switch_no=b.switch_no
and a.exchange_id in (select distinct exchange_id FROM popedom_tache_exchange
where exchange_id=:new_exchange_id) and
b.acc_nbr=:new_acc_nbr and
b.port_no=:new_port_no and
b.num_line_state='6';
if(sqlca.sqlcode!=0)
/* strcpy(err_msg,"´íÎó,¶Ë¿Ú±íÖÐÎÞ´ËкÅÂë¶Ë¿Ú£¡");*/
userlog("´íÎó,¶Ë¿Ú±íÖÐÎÞ´ËкÅÂë¶Ë¿Ú£¡");
if (Fadd32(sendbuf,FML_CK_errmessage,"´íÎó,¶Ë¿Ú±íÖÐÎÞ´ËкÅÂë¶Ë¿Ú£¡",0)
== -1) userlog("fadd error %ld",__LINE__);
strcat(check_message,"ºÅÂë¶Ë¿Ú´í*");
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0) == -1)
userlog("fadd error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd error
%ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
else
strcpy(new_port_no,tp_port_no);
/*strcpy(err_msg,"¸æ¾¯,¶Ë¿Ú±íÖÐÓÐж˿ڣ¡");*/
if (Fadd32(sendbuf,FML_CK_altmsg,"¸æ¾¯,¶Ë¿Ú±íÖÐÓÐж˿ڣ¡",0)==
-1) userlog("fadd error %ld",__LINE__);
alert_cnt=alert_cnt+1;
if((strcmp(new_mdf_col,"-1")!=0)&&(strcmp(new_mdf_block,"-1")!=0)&&(new_mdf_serial!=-1))
EXEC SQL select ISNULL(a.mdfcol_no,'0'),
ISNULL(a.mdfblock_no,'0'),
ISNULL(a.mdf_code,0),
ISNULL(b.mdfblock_lineno,0)
into
:tp_mdfcol_no,
:tp_mdfblock_no,
:tp_mdf_code,
:tp_mdfblock_lineno
from mdfz_info a,mdfz_details b
where a.mdf_code=b.mdf_code and
a.mdf_no=:new_mdf_no and
a.mdfcol_no=:new_mdf_col and
a.mdfblock_no=:new_mdf_block and
b.mdfblock_lineno=:new_mdf_serial and
b.num_line_state='6';
if(sqlca.sqlcode!=0)
/*strcpy(err_msg,"´íÎó,mdf±íÖÐÎÞ´ËÐÂÁпé¶Ô£¡");*/
userlog("´íÎó,mdf±íÖÐÎÞ´ËÐÂÁпé¶Ô£¡");
strcat(check_message,"Áпé¶Ô´í*");
if (Fadd32(sendbuf,FML_CK_errmessage,"´íÎó,mdf±íÖÐÎÞ´ËÐÂÁпé¶Ô£¡",0)
== -1) userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0)
== -1) userlog("fadd error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd error
%ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
else
EXEC SQL select ISNULL(maintrunk_code,0)
into
:tp_maintrunk_code
from maintrunk_details
where mdf_code=:tp_mdf_code and
mdf_blocklineno=:tp_mdfblock_lineno;
if(sqlca.sqlcode==0)
new_maintrunk_code=tp_maintrunk_code;
if(strcmp(new_linebox_no,"-1")!=0)
EXEC SQL select ISNULL(linebox_code,0),
ISNULL(linebox_name,'0')
into
:tp_linebox_code,
:tp_linebox_name
from linebox_info
where exchange_id=:new_exchange_id and
linebox_name=:new_linebox_no;
if(sqlca.sqlcode==0)
new_linebox_code=tp_linebox_code;
else
/*strcpy(err_msg,"´íÎó,±íÖÐÎÞ´Ë·ÖÏßÏ䣡");*/
userlog("´íÎó,±íÖÐÎÞ´Ë·ÖÏßÏ䣡");
strcat(check_message,"·ÖÏßÏä´í*");
if (Fadd32(sendbuf,FML_CK_errmessage,"´íÎó,±íÖÐÎÞ´Ë·ÖÏßÏ䣡",0)
== -1) userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0)
== -1) userlog("fadd error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd error
%ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
if(new_linebox_serial!=-1)
EXEC SQL select ISNULL(linebox_serial,0),
ISNULL(matchline_serial,0)
into
:tp_linebox_serial,
:tp_matchline_serial
from linebox_details
where linebox_code in (select linebox_code from linebox_info
where exchange_id=:new_exchange_id and
linebox_name=:new_linebox_no) and
linebox_serial=:new_linebox_serial and
num_line_state='6';
if(sqlca.sqlcode!=0)
/*strcpy(err_msg,"´íÎó,±íÖÐÎÞ´Ë·ÖÏßÏäÏßÐò£¡");*/
userlog("´íÎó,±íÖÐÎÞ´Ë·ÖÏßÏäÏßÐò£¡");
strcat(check_message,"·ÖÏßÏäÏßÐò´í*");
if (Fadd32(sendbuf,FML_CK_errmessage,"´íÎó,±íÖÐÎÞ´Ë·ÖÏßÏäÏßÐò£¡",0)
== -1) userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0)
== -1) userlog("fadd error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd error
%ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
else
new_crossbox1_out_line=tp_matchline_serial;
if(strcmp(new_crossbox1_no,"-1")!=0)
EXEC SQL select ISNULL(crossbox_name,'0'),
ISNULL(crossbox_code,0)
into
:tp_crossbox_name,
:tp_crossbox_code
from crossbox_info
where exchange_id=:new_exchange_id and
crossbox_name=:new_crossbox1_no;
if(sqlca.sqlcode==0)
new_crossbox1_code=tp_crossbox_code;
else
/*strcpy(err_msg,"´íÎó,±íÖÐÎ޴˽»½ÓÏ䣡");*/
userlog("´íÎó,±íÖÐÎ޴˽»½ÓÏ䣡");
strcat(check_message,"½»½ÓÏä´í*");
if (Fadd32(sendbuf,FML_CK_errmessage,"´íÎó,±íÖÐÎ޴˽»½ÓÏ䣡",0)
== -1) userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0)
== -1) userlog("fadd error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd error
%ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
if(new_crossbox1_in_line!=-1)
EXEC SQL select ISNULL(crossbox_inserial,0),
ISNULL(uppercross_code,-1),
ISNULL(uppercross_inserial,-1),
ISNULL(uppercross_outserial,-1)
into
:tp_crossbox_inserial,
:tp_crossbox2_code,
:tp_crossbox2_in_serial,
:tp_crossbox2_out_serial
from maintrunk_details
where maintrunk_code=:new_maintrunk_code and
crossbox_inserial=:new_crossbox1_in_line and
num_line_state='6';
if(sqlca.sqlcode==0)
if(tp_crossbox2_code!=-1)
{/*2¼¶*/
new_crossbox2_code=tp_crossbox2_code;
new_crossbox2_in_line=tp_crossbox2_in_serial;
new_crossbox2_out_line=tp_crossbox2_out_serial;
EXEC SQL select ISNULL(crossbox_name,'0')
into
:new_crossbox2_no
hi,all:
i'm sorry the posted source is so confussing(tab key problem),i should point out
that the error has happened at "tpreturn" of
"userlog("before return in CPExscindclass.cpp get result = %s#,bufsize is %ld,used=%ld,unused=%ld",SQL_project_name,Fsizeof32(sendbuf),Fused32(sendbuf),Funused32(sendbuf));
tpreturn(TPSUCCESS,0,(char *)sendbuf,0L,0);
---------sunny
"sunny" <[email protected]> wrote:
>
hi,all:
i meet a problem,when i try to fget the buffer from tuxedo,the error was
logged!the
flowing is the message of error and source,pleae check and help me and tell
me why?thanks
anyway!!!
PS:
1.my platform of tuxedo is Digital Unix and PC side is Win98/win2000.
2.Tuxedo version is 7.1(with no patch fixed)
3.database is sybase of unix
PART ONE,ERROR MESSAGE:
LIBTUX_CAT:6031: ERROR: Unable to pre-process buffer before tranmission.
Error code(12/3841)
171112.ah97supp!WSH.10488.1.0: WSNAT_CAT:1148: ERROR: Processing of message
to be
sent to client failed
171112.ah97supp!WSH.10488.1.0: WSNAT_CAT:1029: ERROR: Sending of reply message
to
client failed
PART TWO:MY SOURCE:
void CPExscind::AllDataCheck(TPSVCINFO *rqst)
/* ¼ì²é¡¢¸î½Ó½á¹û±êÖ¾¡£
flag 0 δ¼ì²é£¬1 ¸æ¾¯£¬2´íÎó£¬3 ¼ì²éͨ¹ý£¬4 ¸î½Óʧ°Ü£¬5 ¸î½Ó³É¹¦,6
¸î½Ó»Ø¹öʧ°Ü£¬7
¸î½Ó»Ø¹ö³É¹¦*/
EXEC SQL BEGIN DECLARE SECTION;
long recno;
long new_exchange_id;
long new_mdf_no;
CS_CHAR new_acc_nbr[21];
CS_CHAR new_port_no[21];
CS_CHAR new_mdf_col[9];
CS_CHAR new_mdf_block[9];
long new_mdf_serial;
CS_CHAR new_linebox_no[21];
long new_linebox_code;
long new_linebox_serial;
CS_CHAR new_crossbox1_no[21];
long new_crossbox1_code;
long new_crossbox1_in_line;
long new_crossbox1_out_line;
CS_CHAR new_crossbox2_no[21];
long new_crossbox2_code;
long new_crossbox2_in_line;
long new_crossbox2_out_line;
CS_CHAR new_crossbox3_no[21];
long new_crossbox3_code;
long new_crossbox3_in_line;
long new_crossbox3_out_line;
long new_maintrunk_code;
long new_mdf_code;
CS_CHAR check_message[101]="";
long tp_exchange_id;
CS_CHAR tp[2];
CS_CHAR tp_acc_nbr[21];
CS_CHAR tp_port_no[21];
CS_CHAR tp_mdfcol_no[9];
CS_CHAR tp_mdfblock_no[9];
long tp_mdf_code;
long tp_mdfblock_lineno;
long tp_maintrunk_code;
long tp_linebox_code;
CS_CHAR tp_linebox_name[21];
long tp_linebox_serial;
long tp_matchline_serial;
CS_CHAR tp_crossbox_name[21];
long tp_crossbox_code;
long tp_crossbox_inserial;
long tp_crossbox2_code;
long tp_crossbox2_in_serial;
long tp_crossbox2_out_serial;
long tp_crossbox3_code;
long tp_crossbox3_in_serial;
long tp_crossbox3_out_serial;
long SQL_exchange_id;
CS_CHAR SQL_project_name[21];
CS_CHAR SQL_project_sequence[11];
long SQL_input_err_cnt;
EXEC SQL END DECLARE SECTION;
recvbuf = (FBFR32 *)rqst->data;
BufferSize = 4*1024;
sendbuf = NULL;
if((sendbuf = (FBFR32 *)tpalloc("FML32",NULL,BufferSize))==NULL)
DisConnect();
tpreturn(TPFAIL,0,NULL,0,0);
Finit32(sendbuf,BufferSize) ;
Fget32(recvbuf,FML_CK_exchange_id,0,(char*)&SQL_exchange_id,0);
userlog("SQL_exchange_id-->%d",SQL_exchange_id);
Fget32(recvbuf,FML_CK_project_name,0,SQL_project_name,0);
userlog("SQL_project_name-->%s",SQL_project_name);
Fget32(recvbuf,FML_CK_project_sequence,0,SQL_project_sequence,0);
userlog("SQL_project_sequence-->%s",SQL_project_sequence);
Fget32(recvbuf,FML_CK_input_err_cnt,0,(char*)&SQL_input_err_cnt,0);
userlog("SQL_input_err_cnt-->%d",SQL_input_err_cnt);
/*È¡³ö·ûºÏ¼ì²éÌõ¼þµÄ¼Ç¼*/
EXEC SQL DECLARE check_data cursor for
select recno,
ISNULL(new_exchange_id,-1),
ISNULL(new_mdf_no,-1),
ISNULL(new_acc_nbr,'-1'),
ISNULL(new_port_no,'-1'),
ISNULL(new_mdf_col,'-1'),
ISNULL(new_mdf_block,'-1'),
ISNULL(new_mdf_serial,-1),
ISNULL(new_linebox_no,'-1'),
ISNULL(new_linebox_code,-1),
ISNULL(new_linebox_serial,-1),
ISNULL(new_crossbox1_no,'-1'),
ISNULL(new_crossbox1_code,-1),
ISNULL(new_crossbox1_in_line,-1),
ISNULL(new_crossbox1_out_line,-1),
ISNULL(new_crossbox2_no,'-1'),
ISNULL(new_crossbox2_code,-1),
ISNULL(new_crossbox2_in_line,-1),
ISNULL(new_crossbox2_out_line,-1),
ISNULL(new_crossbox3_no,'-1'),
ISNULL(new_crossbox3_code,-1),
ISNULL(new_crossbox3_in_line,-1),
ISNULL(new_crossbox3_out_line,-1),
ISNULL(new_maintrunk_code,-1),
ISNULL(new_mdf_code,-1)
from res_modify_details
where old_exchange_id=:SQL_exchange_id and
project_name=:SQL_project_name and
project_sequence=:SQL_project_sequence and
state='10A' and flag in('0','1','2') order by recno;
EXEC SQL OPEN check_data;
if(sqlca.sqlcode!=0)
userlog("Open Cursor --->sqlca.sqlerrm.sqlerrmc,sqlca.sqlcode%s,%d",sqlca.sqlerrm.sqlerrmc,sqlca.sqlcode);
/*Ñ»·¼ì²éÿÌõ¼Ç¼*/
int err_cnt=0;/*´íÎóÊý*/
int alert_cnt=0;/*¾¯¸æÊý*/
while(1)
/*¶ÔÓÚÒ»ÌõÏêÇé¼Ç¼Êý¾Ý±éÀú¼ì²é*/
EXEC SQL FETCH check_data into
:recno,
:new_exchange_id,
:new_mdf_no,
:new_acc_nbr,
:new_port_no,
:new_mdf_col,
:new_mdf_block,
:new_mdf_serial,
:new_linebox_no,
:new_linebox_code,
:new_linebox_serial,
:new_crossbox1_no,
:new_crossbox1_code,
:new_crossbox1_in_line,
:new_crossbox1_out_line,
:new_crossbox2_no,
:new_crossbox2_code,
:new_crossbox2_in_line,
:new_crossbox2_out_line,
:new_crossbox3_no,
:new_crossbox3_code,
:new_crossbox3_in_line,
:new_crossbox3_out_line,
:new_maintrunk_code,
:new_mdf_code;
userlog("sqlca.sqlerrm.sqlerrmc,sqlca.sqlcode%s,%d",sqlca.sqlerrm.sqlerrmc,sqlca.sqlcode);
if(sqlca.sqlcode!=0) break;
/*else if((sqlca.sqlcode!=100)&&(sqlca.sqlcode!=0))
userlog("FETCH FAIL!");
DisConnect();
tpreturn(TPFAIL,0,NULL,0,0);
/*±ØÊäÈë:оÖÏòÃû£¬ÐºÅÂ룬ж˿ڣ¬ÐÂÁС¢¿é¡¢¶Ô£¬
зÖÏßÏäºÅ£¬Ð·ÖÏßÏäÏßÐò£¬ÐÂÒ»¼¶½»½ÓÏäºÅ£¬
ÈëÏߣ¬³öÏߣ¬¶þ¼¶½»½ÓÏäºÅ£¬ÈëÏߣ¬³öÏߣ¬Èý¼¶*/
char err_msg[200]="";
char alt_msg[200]="";
strcpy(check_message,"");
/*=============================ÅжÏÐÂÊý¾ÝÊÇ·ñΪ¿Õ´íÎó==============================*/
if(new_exchange_id==-1)
/*strcpy(err_msg,"оÖÏòΪ¿Õ´í£¡");*/
userlog("оÖÏòΪ¿Õ´í£¡");
if (Fadd32(sendbuf,FML_CK_errmessage,"оÖÏòΪ¿Õ´í£¡",0)
== -1) userlog("fadd
error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0) ==
-1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd
error %ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
if(new_mdf_no==-1)
/*strcpy(err_msg,"ÐÂÅäÏ߼ܺÅΪ¿Õ´í£¡");*/
userlog("ÐÂÅäÏ߼ܺÅΪ¿Õ´í£¡");
if (Fadd32(sendbuf,FML_CK_errmessage,"ÐÂÅäÏ߼ܺÅΪ¿Õ´í£¡",0)
== -1)
userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0) ==
-1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd
error %ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
if((strcmp(new_acc_nbr,"-1")==0)||(strcmp(new_port_no,"-1")==0))
/*strcpy(err_msg,"ºÅÂë¶Ë¿ÚΪ¿Õ´í£¡");*/
userlog("ºÅÂë¶Ë¿ÚΪ¿Õ´í£¡");
if (Fadd32(sendbuf,FML_CK_errmessage,"ºÅÂë¶Ë¿ÚΪ¿Õ´í£¡",0)
== -1)
userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0) ==
-1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd
error %ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
if((strcmp(new_mdf_col,"-1")==0)||(strcmp(new_mdf_block,"-1")==0)||(new_mdf_serial==-1))
/*strcpy(err_msg,"ÐÂÁпé¶ÔΪ¿Õ´í£¡");*/
userlog("ÐÂÁпé¶ÔΪ¿Õ´í£¡");
if (Fadd32(sendbuf,FML_CK_errmessage,"ÐÂÁпé¶ÔΪ¿Õ´í£¡",0)
== -1)
userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0) ==
-1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd
error %ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
if(strcmp(new_linebox_no,"-1")==0)
/*strcpy(err_msg,"зÖÏßÏäºÅΪ¿Õ´í£¡");*/
userlog("зÖÏßÏäºÅΪ¿Õ´í£¡");
if (Fadd32(sendbuf,FML_CK_errmessage,"зÖÏßÏäºÅΪ¿Õ´í£¡",0)
== -1)
userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0) ==
-1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd
error %ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
if(new_linebox_serial==-1)
/*strcpy(err_msg,"зÖÏßÏäÏßÐòΪ¿Õ´í£¡");*/
userlog("зÖÏßÏäÏßÐòΪ¿Õ´í£¡");
if (Fadd32(sendbuf,FML_CK_errmessage,"зÖÏßÏäÏßÐòΪ¿Õ´í£¡",0)
==
-1) userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0) ==
-1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd
error %ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
if(strcmp(new_crossbox1_no,"-1")==0)
/*strcpy(err_msg,"ÐÂÒ»¼¶½»½ÓÏäºÅΪ¿Õ´í£¡");*/
userlog("ÐÂÒ»¼¶½»½ÓÏäºÅΪ¿Õ´í£¡");
if (Fadd32(sendbuf,FML_CK_errmessage,"ÐÂÒ»¼¶½»½ÓÏäºÅΪ¿Õ´í£¡",0)
== -1) userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0) ==
-1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd
error %ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
if(new_crossbox1_in_line==-1)
/*strcpy(err_msg,"ÐÂÒ»¼¶½»½ÓÏäÈëÏßΪ¿Õ´í£¡");*/
userlog("ÐÂÒ»¼¶½»½ÓÏäÈëÏßΪ¿Õ´í£¡");
if (Fadd32(sendbuf,FML_CK_errmessage,"ÐÂÒ»¼¶½»½ÓÏäÈëÏßΪ¿Õ´í£¡",0)
== -1) userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0) ==
-1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd
error %ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
/*===========================ÅжÏÐÂÊý¾ÝΪ¿Õ¸æ¾¯============================
if(new_crossbox1_out_line==-1)
strcpy(alt_msg,"¸æ¾¯1,ÐÂÒ»¼¶½»½ÓÏä³öÏßΪ¿Õ£¡");
if (Fadd32(sendbuf,FML_CK_altmsg,alt_msg,0)== -1) userlog("fadd
error
= %ld",__LINE__);
alert_cnt=alert_cnt+1;
if(strcmp(new_crossbox2_no,"-1")==0)
strcpy(alt_msg,"¸æ¾¯2,жþ¼¶½»½ÓÏäºÅΪ¿Õ£¡");
if (Fadd32(sendbuf,FML_CK_altmsg,alt_msg,0)== -1) userlog("fadd
error
= %ld",__LINE__);
alert_cnt=alert_cnt+1;
if(new_crossbox2_in_line==-1)
strcpy(alt_msg,"¸æ¾¯3,жþ¼¶½»½ÓÏäÈëÏßΪ¿Õ£¡");
if (Fadd32(sendbuf,FML_CK_altmsg,alt_msg,0)== -1) userlog("fadd
error
= %ld",__LINE__);
alert_cnt=alert_cnt+1;
if(new_crossbox2_out_line==-1)
strcpy(alt_msg,"¸æ¾¯4,жþ¼¶½»½ÓÏä³öÏßΪ¿Õ£¡");
if (Fadd32(sendbuf,FML_CK_altmsg,alt_msg,0)== -1) userlog("fadd
error
= %ld",__LINE__);
alert_cnt=alert_cnt+1;
if(strcmp(new_crossbox3_no,"-1")==0)
strcpy(alt_msg,"¸æ¾¯5,ÐÂÈý¼¶½»½ÓÏäºÅΪ¿Õ£¡");
if (Fadd32(sendbuf,FML_CK_altmsg,alt_msg,0)== -1) userlog("fadd
error
= %ld",__LINE__);
alert_cnt=alert_cnt+1;
if(new_crossbox3_in_line==-1)
strcpy(alt_msg,"¸æ¾¯6,ÐÂÈý¼¶½»½ÓÏäÈëÏßΪ¿Õ£¡");
if (Fadd32(sendbuf,FML_CK_altmsg,alt_msg,0)== -1) userlog("fadd
error
= %ld",__LINE__);
alert_cnt=alert_cnt+1;
if(new_crossbox3_out_line==-1)
strcpy(alt_msg,"¸æ¾¯7,ÐÂÈý¼¶½»½ÓÏä³öÏßΪ¿Õ£¡");
if (Fadd32(sendbuf,FML_CK_altmsg,alt_msg,0)== -1) userlog("fadd
error
= %ld",__LINE__);
alert_cnt=alert_cnt+1;
/*===========================ÅжÏÐÂÊý¾ÝºÏ·¨ÐÔ´íÎó²¢¾À´í=====================================*/
if(new_exchange_id!=-1)
EXEC SQL select exchange_id into :tp_exchange_id from exchange
where exchange_id=:new_exchange_id and state='10A';
if(sqlca.sqlcode!=0)
/*strcpy(err_msg,"´íÎó,¾ÖÏò±íÖÐÎÞ´ËоÖÏò£¡");*/
strcat(check_message,"¾ÖÏò´í*");
userlog("´íÎó,¾ÖÏò±íÖÐÎÞ´ËоÖÏò£¡");
if (Fadd32(sendbuf,FML_CK_errmessage,"´íÎó,¾ÖÏò±íÖÐÎÞ´ËоÖÏò£¡",0)
== -1) userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0)
== -1)
userlog("fadd error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd
error
%ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
if((strcmp(new_acc_nbr,"-1")!=0)||(strcmp(new_port_no,"-1")!=0))
/*ÅжϺÅÂë¶Ë¿ÚÊÇ·ñÒ»Ò»¶ÔÓ¦*/
EXEC SQL select distinct switch_num_way into :tp from
branch_tel_head
a,all_number b
where a.tel_head=b.tel_head
and b.acc_nbr=:new_acc_nbr;
if(strcmp(tp,"1")!=0)
/*²»¶ÔÓ¦*/
EXEC SQL select ISNULL(b.acc_nbr,'0') into
:tp_acc_nbr
from switch_info a,all_number b
where a.switch_no=b.switch_no
and a.exchange_id in (select distinct exchange_id FROM
popedom_tache_exchange
where exchange_id=:new_exchange_id )
and b.acc_nbr =:new_acc_nbr and
b.num_line_state='6';
if(sqlca.sqlcode!=0)
/*strcpy(err_msg,"´íÎó,ºÅÂë±íÖÐÎÞ´ËкÅÂ룡");*/
userlog("´íÎó,ºÅÂë±íÖÐÎÞ´ËкÅÂ룡");
if (Fadd32(sendbuf,FML_CK_errmessage,"´íÎó,ºÅÂë±íÖÐÎÞ´ËкÅÂ룡",0)
== -1) userlog("fadd error %ld",__LINE__);
int num=Foccur32(sendbuf,FML_CK_errmessage);
userlog("num==%d",num);
strcat(check_message,"ºÅÂë´í*");
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0)
== -1)
userlog("fadd error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd
error
%ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
EXEC SQL select ISNULL(b.port_no,'0')
into :tp_port_no
from switch_info a,port_details b
where a.switch_no=b.switch_no
and a.exchange_id in (select distinct exchange_id FROM
popedom_tache_exchange
where exchange_id=:new_exchange_id) and
b.port_no=:new_port_no and
b.num_line_state='6';
if(sqlca.sqlcode!=0)
/*strcpy(err_msg,"´íÎó,¶Ë¿Ú±íÖÐÎÞ´Ëж˿ڣ¡");*/
userlog("´íÎó,¶Ë¿Ú±íÖÐÎÞ´Ëж˿ڣ¡");
strcat(check_message,"¶Ë¿Ú´í*");
if (Fadd32(sendbuf,FML_CK_errmessage,"´íÎó,¶Ë¿Ú±íÖÐÎÞ´Ëж˿ڣ¡",0)
== -1) userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0)
== -1)
userlog("fadd error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd
error
%ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
else if(strcmp(tp,"1")==0)/*Ò»Ò»¶ÔÓ¦*/
EXEC SQL select ISNULL(b.acc_nbr,'0'),
ISNULL(b.port_no,'0')
into
:tp_acc_nbr,
:tp_port_no
from switch_info a,port_no b
where a.switch_no=b.switch_no
and a.exchange_id in (select distinct exchange_id FROM
popedom_tache_exchange
where exchange_id=:new_exchange_id) and
b.acc_nbr=:new_acc_nbr and
b.port_no=:new_port_no and
b.num_line_state='6';
if(sqlca.sqlcode!=0)
/* strcpy(err_msg,"´íÎó,¶Ë¿Ú±íÖÐÎÞ´ËкÅÂë¶Ë¿Ú£¡");*/
userlog("´íÎó,¶Ë¿Ú±íÖÐÎÞ´ËкÅÂë¶Ë¿Ú£¡");
if (Fadd32(sendbuf,FML_CK_errmessage,"´íÎó,¶Ë¿Ú±íÖÐÎÞ´ËкÅÂë¶Ë¿Ú£¡",0)
== -1) userlog("fadd error %ld",__LINE__);
strcat(check_message,"ºÅÂë¶Ë¿Ú´í*");
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0)
== -1)
userlog("fadd error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd
error
%ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
else
strcpy(new_port_no,tp_port_no);
/*strcpy(err_msg,"¸æ¾¯,¶Ë¿Ú±íÖÐÓÐж˿ڣ¡");*/
if (Fadd32(sendbuf,FML_CK_altmsg,"¸æ¾¯,¶Ë¿Ú±íÖÐÓÐж˿ڣ¡",0)==
-1) userlog("fadd error %ld",__LINE__);
alert_cnt=alert_cnt+1;
if((strcmp(new_mdf_col,"-1")!=0)&&(strcmp(new_mdf_block,"-1")!=0)&&(new_mdf_serial!=-1))
EXEC SQL select ISNULL(a.mdfcol_no,'0'),
ISNULL(a.mdfblock_no,'0'),
ISNULL(a.mdf_code,0),
ISNULL(b.mdfblock_lineno,0)
into
:tp_mdfcol_no,
:tp_mdfblock_no,
:tp_mdf_code,
:tp_mdfblock_lineno
from mdfz_info a,mdfz_details b
where a.mdf_code=b.mdf_code and
a.mdf_no=:new_mdf_no and
a.mdfcol_no=:new_mdf_col and
a.mdfblock_no=:new_mdf_block and
b.mdfblock_lineno=:new_mdf_serial and
b.num_line_state='6';
if(sqlca.sqlcode!=0)
/*strcpy(err_msg,"´íÎó,mdf±íÖÐÎÞ´ËÐÂÁпé¶Ô£¡");*/
userlog("´íÎó,mdf±íÖÐÎÞ´ËÐÂÁпé¶Ô£¡");
strcat(check_message,"Áпé¶Ô´í*");
if (Fadd32(sendbuf,FML_CK_errmessage,"´íÎó,mdf±íÖÐÎÞ´ËÐÂÁпé¶Ô£¡",0)
== -1) userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0)
== -1) userlog("fadd error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd
error
%ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
else
EXEC SQL select ISNULL(maintrunk_code,0)
into
:tp_maintrunk_code
from maintrunk_details
where mdf_code=:tp_mdf_code and
mdf_blocklineno=:tp_mdfblock_lineno;
if(sqlca.sqlcode==0)
new_maintrunk_code=tp_maintrunk_code;
if(strcmp(new_linebox_no,"-1")!=0)
EXEC SQL select ISNULL(linebox_code,0),
ISNULL(linebox_name,'0')
into
:tp_linebox_code,
:tp_linebox_name
from linebox_info
where exchange_id=:new_exchange_id and
linebox_name=:new_linebox_no;
if(sqlca.sqlcode==0)
new_linebox_code=tp_linebox_code;
else
/*strcpy(err_msg,"´íÎó,±íÖÐÎÞ´Ë·ÖÏßÏ䣡");*/
userlog("´íÎó,±íÖÐÎÞ´Ë·ÖÏßÏ䣡");
strcat(check_message,"·ÖÏßÏä´í*");
if (Fadd32(sendbuf,FML_CK_errmessage,"´íÎó,±íÖÐÎÞ´Ë·ÖÏßÏ䣡",0)
== -1) userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0)
== -1) userlog("fadd error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd
error
%ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
if(new_linebox_serial!=-1)
EXEC SQL select ISNULL(linebox_serial,0),
ISNULL(matchline_serial,0)
into
:tp_linebox_serial,
:tp_matchline_serial
from linebox_details
where linebox_code in (select linebox_code from linebox_info
where exchange_id=:new_exchange_id and
linebox_name=:new_linebox_no) and
linebox_serial=:new_linebox_serial and
num_line_state='6';
if(sqlca.sqlcode!=0)
/*strcpy(err_msg,"´íÎó,±íÖÐÎÞ´Ë·ÖÏßÏäÏßÐò£¡");*/
userlog("´íÎó,±íÖÐÎÞ´Ë·ÖÏßÏäÏßÐò£¡");
strcat(check_message,"·ÖÏßÏäÏßÐò´í*");
if (Fadd32(sendbuf,FML_CK_errmessage,"´íÎó,±íÖÐÎÞ´Ë·ÖÏßÏäÏßÐò£¡",0)
== -1) userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0)
== -1) userlog("fadd error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd
error
%ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
else
new_crossbox1_out_line=tp_matchline_serial;
if(strcmp(new_crossbox1_no,"-1")!=0)
EXEC SQL select ISNULL(crossbox_name,'0'),
ISNULL(crossbox_code,0)
into
:tp_crossbox_name,
:tp_crossbox_code
from crossbox_info
where exchange_id=:new_exchange_id and
crossbox_name=:new_crossbox1_no;
if(sqlca.sqlcode==0)
new_crossbox1_code=tp_crossbox_code;
else
/*strcpy(err_msg,"´íÎó,±íÖÐÎ޴˽»½ÓÏ䣡");*/
userlog("´íÎó,±íÖÐÎ޴˽»½ÓÏ䣡");
strcat(check_message,"½»½ÓÏä´í*");
if (Fadd32(sendbuf,FML_CK_errmessage,"´íÎó,±íÖÐÎ޴˽»½ÓÏ䣡",0)
== -1) userlog("fadd error %ld",__LINE__);
err_cnt=err_cnt+1;
if (Fadd32(sendbuf,FML_CK_err_cnt,(char*)&err_cnt,0)
== -1) userlog("fadd error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_alert_cnt,(char*)&alert_cnt,0)== -1) userlog("fadd
error %ld",__LINE__);
if (Fadd32(sendbuf,FML_CK_recno,(char*)&recno,0)== -1) userlog("fadd
error
%ld",__LINE__);
if(err_cnt>=SQL_input_err_cnt) goto SUBMIT;
if(new_crossbox1_in_line!=-1)
EXEC SQL select ISNULL(crossbox_inserial,0),
ISNULL(uppercross_code,-1),
Similar Messages
-
HOW TO SOLVE THE R6034 ERROR IN ITUNES INSTALATION
I need toknow how to solve the R6034 error in itunes instalation becouse y can´t buk up muy phone
How to solve this ?
#import <UIKit/UIKit.h>
int main(int argc, char *argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
-> int retVal = UIApplicationMain(argc, argv, nil, nil);
[pool release];
return retVal; -
Hello, I just got an iPhone 4S and it seems that the bluetooth function in it doesn't work. I tried few times to pair it to other non Apple phones but it never worked. Does anyone has an idea how to solve the problem? Tks.
This is not a feature of iPhone, iPad or iOS.
Bluetooth is supported for stereo headsets/speakers, handsfree telephone
devices/headsets, some keyboards, some peer-to-peer apps from the
app store and internet tethering where provided by the carrier.
Other than this it will not connect to a phone/computer/device. (thanks to ckuan for the wording) -
how to solve the problem when opening program illustrator cs6
ERROR: 16
It is WINDOWS 8.1 / 64 BIT
help pleaseThanks, Jeff! The file Adobe Setup Error.log contains the following information:
02/14/14 07:20:26:474 | [INFO] | | OOBE | DE | | | | 8860 | DEVersion: 5.0.0.0
02/14/14 07:20:26:475 | [INFO] | | OOBE | DE | | | | 8860 | Loading library from C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\DECore\DE5\Setup.dll
[ 8860] Fri Feb 14 07:20:26 2014 INFO
::START TIMER:: [Total Timer]
CHECK: Single instance running
CHECK : Credentials
Load Deployment File
CHECK : Another Native OS installer already running
Create Required Folders
Assuming uninstall mode
Lookup for master payload
[ 8860] Fri Feb 14 07:20:26 2014 ERROR
DW040: The product "{893B3B44-0A1E-404B-8FE8-0A74509102A9}" is not installed. Cannot proceed with the uninstall
[ 8860] Fri Feb 14 07:20:26 2014 INFO
:: END TIMER :: [Total Timer] took 6.90443 milliseconds (0.00690443 seconds) DTR = 579.338 KBPS (0.56576 MBPS)
-------------------------------------- Summary --------------------------------------
- 0 fatal error(s), 1 error(s), 0 warning(s)
ERROR: DW040: The product "{893B3B44-0A1E-404B-8FE8-0A74509102A9}" is not installed. Cannot proceed with the uninstall
Please search the above error/warning string(s) to find when the error occurred.
These errors resulted in installer Exit Code mentioned below.
Exit Code: 33 - The product is not installed, cannot uninstall.
Please see specific errors and warnings for troubleshooting. For example, ERROR: DW040 ... -
Downloading and installing the iOS5.0.1 Following problems occured: with my iPhone 4s: Phone calls are dropping out in UAE, how to solve the problem?
You're not speaking to Apple on in this forum, nor will someone from Apple see this post. We are just users like you and I.
Have you tried to restore or reset your phone?
Or contact your carrier in re: to your sim card -
I'm getting kernel panics each day as I shut down, the message of restarting by holding down the power button appears on the screen - it began about a month ago and. Do you have any ideas of how to solve the problem? I've copied the logs that I found for each kernel panic that still have the message logged. Please help if you can, I have read some of the other comments and perhaps it has something to do with my anti-virus software being on at start up. I have copied the log here. Any advice will be welcome.
Interval Since Last Panic Report: 665204 sec
Panics Since Last Report: 8
Anonymous UUID: D6DCC90D-A5CA-4BBE-A435-3E64A512A51B
Sat May 26 07:23:05 2012
panic(cpu 3 caller 0xffffff80002b4f36): trying to interlock destroyed mutex (0xffffff801a489be0)
Backtrace (CPU 3), Frame : Return Address
0xffffff8160313b00 : 0xffffff8000220792
0xffffff8160313b80 : 0xffffff80002b4f36
0xffffff8160313b90 : 0xffffff8000227e68
0xffffff8160313bd0 : 0xffffff7f80d14250
0xffffff8160313c20 : 0xffffff7f80d14f73
0xffffff8160313cc0 : 0xffffff800059a237
0xffffff8160313d00 : 0xffffff8000586cbf
0xffffff8160313d20 : 0xffffff800057e6e3
0xffffff8160313df0 : 0xffffff800057ed06
0xffffff8160313e20 : 0xffffff8000583c52
0xffffff8160313e70 : 0xffffff8000583d05
0xffffff8160313e90 : 0xffffff80005358b4
0xffffff8160313ef0 : 0xffffff80005367c3
0xffffff8160313f30 : 0xffffff8000536897
0xffffff8160313f60 : 0xffffff80005ccfe8
0xffffff8160313fb0 : 0xffffff80002da5e9
Kernel Extensions in backtrace:
com.intego.iokit.VBX6NKE(1.0)[211D5E46-3E43-C5DC-9C6A-8C3FFF0F4493]@0xffffff7f8 0d11000->0xffffff7f80d1bfff
dependency: com.apple.iokit.IONetworkingFamily(2.1)[2FCC16E1-34AB-3908-98BD-CCBFA56FFDCE]@0 xffffff7f809b7000
BSD process name corresponding to current thread: iStatLocalDaemon
Mac OS version:
11E53
Kernel version:
Darwin Kernel Version 11.4.0: Mon Apr 9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64
Kernel UUID: A8ED611D-FB0F-3729-8392-E7A32C5E7D74
System model name: iMac11,2 (Mac-F2238AC8)
System uptime in nanoseconds: 69777074610
last loaded kext at 58265763561: com.intego.iokit.VBX6NKE 1 (addr 0xffffff7f80d11000, size 45056)
loaded kexts:
com.intego.iokit.VBX6NKE 1
com.intego.iokit.BehavioralKext 1
com.intego.kext.VirusBarrier.AppBarrierKPI 10.6.8
com.intego.kext.VirusBarrierKPI 10.6.8
com.globaldelight.driver.BoomDevice 1.1
com.huawei.driver.HuaweiDataCardACMData 4.2
Model: iMac11,2, BootROM IM112.0057.B01, 2 processors, Intel Core i3, 3.2 GHz, 12 GB, SMC 1.64f5
Graphics: ATI Radeon HD 5670, ATI Radeon HD 5670, PCIe, 512 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x802C, 0x31364A53463531323634485A2D3147344431
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x802C, 0x31364A53463531323634485A2D3147344431
Memory Module: BANK 0/DIMM1, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353637334648302D4348392020
Memory Module: BANK 1/DIMM1, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353637334648302D4348392020
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 4.0.64.8-P2P
Bluetooth: Version 4.0.5f11, 2 service, 18 devices, 1 incoming serial ports
Serial ATA Device: ST31000528AS, 1 TB
Serial ATA Device: OPTIARC DVD RW AD-5680H
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfa100000 / 2
USB Device: USB2.0 Hub, 0x05e3 (Genesys Logic, Inc.), 0x0606, 0xfa140000 / 5
USB Device: USB2.0 Hub, 0x05e3 (Genesys Logic, Inc.), 0x0606, 0xfa141000 / 9
USB Device: Apple Optical USB Mouse, apple_vendor_id, 0x0304, 0xfa141100 / 8
USB Device: CanoScan, 0x04a9 (Canon Inc.), 0x1904, 0xfa141200 / 6
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 7
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfa120000 / 3
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfd100000 / 2
USB Device: HUAWEI Mobile, 0x12d1 (Huawei Technologies Co., Ltd.), 0x1001, 0xfd130000 / 5
USB Device: My Passport 070A, 0x1058 (Western Digital Technologies, Inc.), 0x070a, 0xfd140000 / 6
USB Device: Built-in iSight, apple_vendor_id, 0x8502, 0xfd110000 / 4
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 3Immediate suspects are the additions you added to you rsystem that installed kexts (drivers). From above,
com.intego.iokit.VBX6NKE 1
com.intego.iokit.BehavioralKext 1
com.intego.kext.VirusBarrier.AppBarrierKPI 10.6.8
com.intego.kext.VirusBarrierKPI 10.6.8
com.globaldelight.driver.BoomDevice 1.1
com.huawei.driver.HuaweiDataCardACMData 4.2
Two experiments you can try.
1. Boot in safe mode and see if you can shut down normally. All thise additions won't be running in safe mode so this test would indicate it is one of them causing the problem.
2. Uninstall all the intego VirusBarrier stuff. That's my first guess and the troublemaker. -
How to solve the delay from 'SWW_WI_ADMIN_CALLBACK'.
Hi expert,
We have a workflow in Send Notified vai SAP Express and
E-mail step that is delayed occasionally. Each time it happens, I've noticed that the log (see below) contains an entry for SWW_WI_ADMIN_CALLBACK that executes
for 10 to 15 minutes before the next step of the
workflow. This does not happen all the time, only occasionally.
Workflow System (Sub)workflow created 15.07.2008 10:08:12
Workflow System Execution started automatically 15.07.2008 10:08:12
Workflow System SWW_WI_ADMIN_CALLBACK 15.07.2008 10:20:05
I want your help about
- What's 'SWW_WI_ADMIN_CALLBACK' ?
- How to solve the problem ?
Thanks for your help.
KP.Have either of you tried a Reset Settings yet? (Settings App -> General -> Reset -> Reset All Settings NOT Erase All Content and Settings.) You could also try just the "Reset Network Settings" first too. Resetting settings will purge your lock screen and wallpaper, and probably some other things that will be annoying for a bit (like turning back on the keyboard clicking sound,) but it seemed to help my problems.
I work on iPhone problems all day (mostly backup and restore right now), so I collect a lot of the debugging logs. I saw a lot of networking error garbage on my 5S right after upgrading from iOS7 that was vastly reduced after doing a reset all settings (I wish I would have tried just Reset Network Settings first, so I knew if that worked alone.)
If that still doesn't help, I would love to take a look at your phone debug logs (like I said, I do iPhone troubleshooting all day, so investigating and hopefully fixing a serious problem sounds exciting to me ) If you want, you can contact me through my company's webpage: http://deciphertools.com/support.html and we can start looking at what kind of errors are happening while the wifi is acting up. You can mention my name directly, Kelly, so you know the message gets to me! (This is an open invitation to anyone having serious wifi problems after the update, not just mendoSYK and tragic330.)
(Note: As I mentioned, the link I am posting is to my company's website. So, I stand to benefit, financially or otherwise, from the link I am providing.) -
I upgraded my iphone 5 to 6.1.4 and the earphone doesn't work anymore. Anyone has an idea on how to solve the problem ? Thank you
Hi Jboudet,
Welcome to Apple Support Communities.
You can find some suggestions for troubleshooting your iPhone at these links:
iPhone Assistant
http://www.apple.com/support/iphone/troubleshooting/
iPhone: Hardware troubleshooting
http://support.apple.com/kb/TS2802
Have a good one,
Jeremy -
Question to all iPad users please help in this issue
How to solve the problem of connecting my iPad to Itunes while my iPad not working and show to connect to iTunes?
Thank you for help out.Hi Jamalzoal,
Dose your computer have the most recent iTunes on it? When you connect the iPad 2 to your computer what happens? dose iTunes tell you the iPad need to be restored?
p.s. you post this question in the Apple Remote Desktop community. You would probable have gotten more an fast responses if you posted this in the iPad community. -
How to solve the issue "CUV check user equivalence failed" ?
Folks,
Hello. I am installing Oracle 11gR2 RAC using 2 VMs (rac1 and rac2) whose OS are Oracle Linux 5.6 in VMPlayer according to the website http://appsdbaworkshop.blogspot.com/2011/10/11gr2-rac-on-linux-56-using-vmware.html
In order to install Grid Infrastructure, we need to run Cluster Utility Verification (CUV) at first by running the cammand below:
[ora11g@rac1 grid]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose
Its output:
Performing pre-checks for cluster services setup
Check: User equivalence for user “ora11g”
Node Comment
rac1 failed
rac2 failed
Result: PRVF-4007 : User equivalence check failed for user “ora11g”
ERROR:
User equivalence unavailable on all the specified nodes
Verification cannot proceed
Pre-check for cluster services setup was unsuccessful on all the nodes.
As you see above, check user equivalence failed. I have run the 4 commands to fix this error as below:
[ora11g@rac1 /]$ ssh-keygen
Its output:
Generating public/private rsa key pair.
Enter file in which to save the key (/home/grid/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/grid/.ssh/id_rsa.
Your public key has been saved in /home/grid/.ssh/id_rsa.pub.
The key fingerprint is:
0c:10:6c:3b:ae:21:63:64:f8:0d:0e:d8:f0:41:32:ff [email protected]
[ora11g@rac1 .ssh]$ cat *pub >>authorized_keys
[ora11g@rac1 .ssh]$ ssh rac1
Its output:
The authenticity of host ‘rac1 (127.0.0.1)’ can’t be established.
RSA key fingerprint is 9d:ae:51:7c:72:81:07:37:31:92:f1:c8:90:bc:52:55.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘rac1′ (RSA) to the list of known hosts.
Write failed: Broken pipe.
[ora11g@rac1 .ssh]$ ssh rac1-priv
Its output:
The authenticity of host ‘rac1-priv (192.168.137.35)’ can’t be established.
RSA key fingerprint is 9d:ae:51:7c:72:81:07:37:31:92:f1:c8:90:bc:52:55.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘rac1-priv,192.168.137.35′ (RSA) to the list of known hosts.
Write failed: Broken pipe.
After run the 4 commands above, I run the command below again:
[ora11g@rac1 grid]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose
Its output is the same:
PRVF-4007 : User equivalence check failed for user “ora11g”
ERROR:
User equivalence unavailable on all the specified nodes
Verification cannot proceed
I think the problem is "Broken pipe" and ssh cannot write authorized_keys to the machines.
My question is:
Do any folk understand how to solve the issue CUV "check user equivalence failed" for 2 VMs ?
Thanks.Folks,
Hello. Thanks a lot for replying.
I have installed Grid Infrastructure a few times. Each time, on step 7 of 9, the installer fixes and checks 2 machines correctly. The entire installation has 3 parts as below:
1) Install Grid Infrastructure for a Cluster
2) Execute Root Scripts for Install Grid Infrastructure for a Cluster (script is root.sh)
3) Configure Oracle Grid Infrastructure for a Cluster that includes NCA, ASMCA, PICA and CVU.
Each time, on step 8 of 9, the Installer installs Grid Infrastructure for a Cluster successfully that includes "Prepare, Copy files, Link binaries, Setup files and Perform remote operations".
But when the Installer get to part 3 CVU, it fails and then the Database cannot be installed.
Deinstall Grid is a very complicated process to do. Because of this reason, we need to run CVU at first to make sure everything is correct for 2 machines before install Grid.
Even we ignore "user equivalence (ssh)", we don't know whether other items can be passed or not because CVU cannot proceed to check the machines.
My question is:
How to have the script "runcluvfy.sh" continue to check the machines while confronting "user equivalence failed" ? -
Script:how to solve the following
Hi to all,
Can u please tell me how to solve the following:
Created standard texts, styles, character strings and called them in layout sets copied the standard layout set from client '000' further modified the layout according to requirements.
Thanks in advance.
Regards
MonalisaSTATUS in USER_OBJECTS
"OBJECT_NAME"
"SUBOBJECT_NAME"
"OBJECT_ID"
"DATA_OBJECT_ID"
"OBJECT_TYPE"
"CREATED"
"LAST_DDL_TIME"
"TIMESTAMP"
"STATUS"
"TEMPORARY"
"GENERATED"
"SECONDARY"
"NAMESPACE"
"EDITION_NAME"
"CUSTOMERS"
70645
70645
"TABLE"
03-AUG-13
03-AUG-13
"2013-08-03:17:59:09"
"VALID"
"N"
"N"
"N"
1
"CUSTOMERS_PK"
70646
70646
"INDEX"
03-AUG-13
03-AUG-13
"2013-08-03:17:59:09"
"VALID"
"N"
"N"
"N"
4
"DEPARTMENTS_PK"
70656
70656
"INDEX"
03-AUG-13
03-AUG-13
"2013-08-03:18:32:32"
"VALID"
"N"
"N"
"N"
4
"EMPLOYEES"
70657
70657
"TABLE"
03-AUG-13
03-AUG-13
"2013-08-03:18:32:57"
"VALID"
"N"
"N"
"N"
1
"DEPARTMENTS"
70655
70655
"TABLE"
03-AUG-13
03-AUG-13
"2013-08-03:18:32:32"
"VALID"
"N"
"N"
"N"
1
"EMPLOYEES_PK"
70658
70658
"INDEX"
03-AUG-13
03-AUG-13
"2013-08-03:18:32:57"
"VALID"
"N"
"N"
"N"
4
"SUPPLIERS"
70659
70659
"TABLE"
03-AUG-13
03-AUG-13
"2013-08-03:20:25:41"
"VALID"
"N"
"N"
"N"
1
"SUPPLIERS_PK"
70660
70660
"INDEX"
03-AUG-13
03-AUG-13
"2013-08-03:20:25:41"
"VALID"
"N"
"N"
"N"
4
"PRODUCTS"
70661
70661
"TABLE"
03-AUG-13
03-AUG-13
"2013-08-03:20:28:32"
"VALID"
"N"
"N"
"N"
1
"PRODUCTS_PK"
70662
70662
"INDEX"
03-AUG-13
03-AUG-13
"2013-08-03:20:28:32"
"VALID"
"N"
"N"
"N"
4
"PERSONS_PK"
70687
70687
"INDEX"
10-AUG-13
10-AUG-13
"2013-08-10:22:37:34"
"VALID"
"N"
"N"
"N"
4
"PERSONS"
70686
70686
"TABLE"
10-AUG-13
10-AUG-13
"2013-08-10:22:37:34"
"VALID"
"N"
"N"
"N"
1
"APEX_SYS_PCK"
70776
0
"PACKAGE"
13-AUG-13
15-AUG-13
"2013-08-15:19:56:47"
"INVALID"
"N"
"N"
"N"
1
"GET_LOGIN_CREDENTIALS"
70775
0
"PROCEDURE"
13-AUG-13
13-AUG-13
"2013-08-13:22:26:49"
"INVALID"
"N"
"N"
"N"
1
"APEX_SYS_PCK"
70792
0
"PACKAGE BODY"
15-AUG-13
15-AUG-13
"2013-08-15:19:56:47"
"INVALID"
"N"
"N"
"N"
2
"EMP_MAINT"
70802
0
"PACKAGE"
15-AUG-13
15-AUG-13
"2013-08-15:19:54:39"
"INVALID"
"N"
"N"
"N"
1 -
how to solve the warning and severe error....................
[oracle@ip-********* Oracle11g_R2]$ emca -deconfig dbcontrol db -repos drop
STARTED EMCA at Mar 29, 2012 10:20:41 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: testdb11g3
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: y
Mar 29, 2012 10:22:13 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u02/oracle/Oracle11g_R2/cfgtoollogs/emca/testdb11g3/emca_2012_03_29_22_20_40.log.
Mar 29, 2012 10:22:13 PM oracle.sysman.emcp.EMDBPreConfig performDeconfiguration
WARNING: EM is not configured for this database. No EM-specific actions can be performed.
Mar 29, 2012 10:22:13 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM
Configuration Assistant again .
Refer to the log file at /u02/oracle/Oracle11g_R2/cfgtoollogs/emca/testdb11g3/emca_2012_03_29_22_20_40.log for more details.
Could not complete the configuration. Refer to the log file at
/u02/oracle/Oracle11g_R2/cfgtoollogs/emca/testdb11g3/emca_2012_03_29_22_20_40.log for more details.
[oracle@ip-******* Oracle11g_R2]$ cdtried but getting the same error.............
[oracle@ip-10-68-199-69 oracle]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 29-MAR-2012 23:37:21
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /u02/oracle/Oracle11g_R2/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /u02/oracle/Oracle11g_R2/product/11.2.0/dbhome_1/network/admin/listener.ora
Log messages written to /u02/oracle/Oracle11g_R2/diag/tnslsnr/ip-10-68-199-69/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 29-MAR-2012 23:37:21
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u02/oracle/Oracle11g_R2/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u02/oracle/Oracle11g_R2/diag/tnslsnr/ip-10-68-199-69/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
The listener supports no services
The command completed successfully
[oracle@ip-10-68-199-69 oracle]$ sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Thu Mar 29 23:37:34 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter user-name: sys/Ashwin
ERROR:
ORA-28009: connection as SYS should be as SYSDBA or SYSOPER
Enter user-name: sys/Ashwin as sysdba
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> startup
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> shutdown abort
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 1603411968 bytes
Fixed Size 2213776 bytes
Variable Size 402655344 bytes
Database Buffers 1191182336 bytes
Redo Buffers 7360512 bytes
Database mounted.
Database opened.
SQL> exit
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@ip-10-68-199-69 oracle]$ emca -deconfig dbcontrol db -repos drop
STARTED EMCA at Mar 29, 2012 11:55:28 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: testdb11g3
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: y
Mar 29, 2012 11:55:57 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u02/oracle/Oracle11g_R2/cfgtoollogs/emca/testdb11g3/emca_2012_03_29_23_55_27.log.
Mar 29, 2012 11:55:57 PM oracle.sysman.emcp.EMDBPreConfig performDeconfiguration
WARNING: EM is not configured for this database. No EM-specific actions can be performed.
Mar 29, 2012 11:55:57 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again .
Refer to the log file at /u02/oracle/Oracle11g_R2/cfgtoollogs/emca/testdb11g3/emca_2012_03_29_23_55_27.log for more details.
Could not complete the configuration. Refer to the log file at /u02/oracle/Oracle11g_R2/cfgtoollogs/emca/testdb11g3/emca_2012_03_29_23_55_27.log for more details. -
Dear sirs,
how to solve the mail problem which occurs while I am abroad; bearing in mind that I use HOTSPOT and sometime it's sending emails sometime getting the below messages " SMTP Relay "Message rejected"The outgoing mail server is rejecting mail from your network address. Typically that happens when your mail service provider is also your ISP, and you connect to it from another network. The SMTP server will allow connections without a password from anywhere, but it will only relay mail from within the ISP's network. It could also be that your account on the server has expired or been suspended.
If you need to send mail from outside your ISP's network, use an independent mail service provider. I don't have a specific recommendation. -
How To solve the error FJS 0012 during installation IDES4.7
Hi,
I got an error FJS00012 during installation of IDES4.7. How to solve the problem? is there any way to solve the problem..... please suggest me.... and send a mail to [email protected]..
regards
SankarPlease post the relevant parts of the logfile, I don'T think, someone here knows all the error messages out of his head..
Markus -
How to solve the error "The specified resource is reserved" when running with DAQmx And LabVIEW?
I hate "J term"
OK I love the learning the students get. And, I like helping them out! But, as a former man who's got the varicose viens to prove he's spent time "behind the podium" (yeah, "behind the podium" puts 'em to sleep- songs and dances for the young'uns) come on! USE the tools you teach!
Instructors invited to engage in the forums
Jeff
Maybe you are looking for
-
ITunes 6.0.3.5 installer crashed - IDriver.exe Unhandled exception
Just downloaded and attempted to install iTunes 6.0.3.5 on Windows XP Media Center Edition. installer crashed, IDriver.exe. Anyone else seeing this. Some details below. Unhandled exception at 0x77511029 in IDriver.exe: 0xC0000005: Access violation re
-
Hi Gurus , My client wants PO to be sent to vendor by Email upon saving PO. I have already made some search in forum and tried to configure but it didn't work . I have some questions , Do I need to maintain condition record for each vendor ? Which ac
-
hi how can i tab from one inputtext to another in verticaly way not horizontal,for example i have firstname,lastname,countrycode,username,when i tab from username i what to go to below inputtext not the next inputtext,am in jdeveloper 11.1.1.6.0 <tab
-
How can I check service user?
Hi guys, how can I check service user's permission for a certain file. I got the following exception: ResourceExceptioncom.sapportals.wcm.repository.ResourceException: User management exception: Could not get service user "MUTZM" when I used resConte
-
HT4759 How do I upgrade to iOS5 or 7
How do I down load iOS 5 or 7