Problem of election after split-drain repeated with two nodes

Hello

I use a custom source based on BDB - 5.1.19 (excxx_repquote)

with two site-MASTER and SLAVE on the other...

NSite = 2
ACK = quorum

-the master is written at the rate of 10 txn quotedb per second
-l' test is to isolate the customer from the master (brain) and reconnect after a random time include 1 sec to 10 sec

the test run of about 10 times, but at some point, the slave to process receive DB_EVENT_REP_ELECTION_FAILED
and the captain enter the mode of election and never leave the CLIENT mode. I have to say that I decided to freeze the client to kill me (kill-9 my pid) when I get this event...


Here is the log in light on the master...

[1307872770:871621] [6510/47655809107168] MASTER: rep_send_function returned: 110
[1307872770:973655] [6510/47655809107168] MASTER: bulk_msg: Send copy due to PERM after buffer
[1307872770:973667] [6510/47655809107168] MASTER: send_bulk: send 266 bytes of the buffer in bulk (0x10a)
[1307872770:973672] [6510/47655809107168] MASTER: / opt/bdb/rep_send_message: msgv = 5 logv 17 gen = 68 eid - 1, type bulk_log, LSN [21] [986648] perm
[1307872770:973693] [6510/47655809107168] MASTER: wait for the acknowledgement of receipt: need 1
[1307872771:26623] [6510/47655809107168] MASTER: rep_send_function returned: 110
[1307872771:126380] [6510/1162996032] MASTER: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 70 eid 0, Journal type, LSN [21] [946345]
[1307872771:126407] [6510/1162996032] MASTER: / opt/bdb/rep_send_message: msgv = 5 logv 17 gen = 68 eid - 1, type dupmaster, LSN [0] [0] nobuf
[1307872771:126695] [6510/1162996032] MASTER: rep_start: old version 17 journal found
[1307872771:126753] [6510/1162996032] CLIENT: / opt/bdb/rep_send_message: msgv = 5 logv 17 gen = 68 eid - 1, type newclient, LSN [0] [0] nobuf
[1307872771:126833] [6510/1183975744] CUSTOMER: from the election thread
[1307872771:126876] [6510/1183975744] CLIENT: Start election Europe 2, ack 1, priority 100
[1307872771:126890] [6510/1183975744] CLIENT: Election thread has egen 69
[1307872771:127423] [6510/1173485888] CLIENT: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 70 eid 0, type newclient, LSN [0] [0]
[1307872771:130079] [6510/1183975744] CLIENT: count VOTE1 [0] (2147483647, 69)
[1307872771:130113] [6510/1183975744] CLIENT: count an election
[1307872771:130134] [6510/1183975744] CLIENT: / opt/bdb/rep_send_message: msgv = 5 logv 17 gen = 68 eid - 1, type vote1, LSN [21] [986728] nobuf
[1307872771:130147] [6510/1173485888] CLIENT: / opt/bdb/rep_send_message: msgv = 5 logv 17 gen = 68 eid - 1, type master_req, LSN [0] [0] nobuf
[1307872771:130438] [6510/1152506176] CLIENT: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 70 eid 0, type vote1, LSN [21] [946437]
[1307872771:130460] [6510/1162996032] CLIENT: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 70 eid 0, living type, LSN [21] [986728]
[1307872771:130467] [6510/1152506176] CLIENT: update of gen from 68 to 70
[1307872771:130482] [6510/1162996032] CLIENT: received egen ALIVE of 71, 69 mine
[1307872771:130503] [6510/1162996032] CLIENT: Election completed in 0.003602000 sec
[1307872771:130515] [6510/1162996032] CLIENT: Election; Egen 70
[1307872771:130534] [6510/1152506176] CLIENT: received vote1 egen egen 71, 71
[1307872771:130581] [6510/1152506176] CLIENT: count VOTE1 [0] (0, 71)
[1307872771:130593] [6510/1089075520] CUSTOMER: from the election thread
[1307872771:130619] [6510/1152506176] CLIENT: Vote Incoming: (eid) 0 (pri) 100 ELECTABLE (gen) 70 (egen) 71 [21,946437]
[1307872771:130642] [6510/1152506176] CLIENT: not in election, but receipts vote1 0x282c 0x8
[1307872771:130674] [6510/1089075520] CLIENT: Start election Europe 2, ack 1, priority 100
[1307872771:130692] [6510/1089075520] CLIENT: Election thread has 71 egen
[1307872771:130704] [6510/1194465600] CUSTOMER: from the election thread
[1307872771:130733] [6510/1194465600] CLIENT: Start election Europe 2, ack 1, priority 100
[1307872771:132922] [6510/1089075520] CLIENT: count VOTE1 [1] (2147483647, 71)
[1307872771:132949] [6510/1089075520] CLIENT: accept the new vote
[1307872771:132958] [6510/1089075520] CLIENT: count an election
[1307872771:132973] [6510/1089075520] CLIENT: / opt/bdb/rep_send_message: msgv = 5 logv 17 gen = 70 eid - 1, type vote1, LSN [21] [986728] nobuf
[1307872771:132985] [6510/1194465600] CLIENT: fate of election thread
[1307872771:133012] [6510/1089075520] CLIENT: count VOTE2 [0] (2147483647, 71)
[1307872771:133037] [6510/1089075520] CLIENT: counted my vote 1
[1307872771:133048] [6510/1089075520] CLIENT: jump phase2 waiting: already had 1 vote
[1307872771:133060] [6510/1089075520] CLIENT: got enough votes to win. election of fact; Gen (prev) 70
[1307872771:133071] [6510/1089075520] CLIENT: Election completed in 0.002367000 sec
[1307872771:133084] [6510/1089075520] CLIENT: Election; Egen 72
[1307872771:133111] [6510/1089075520] CLIENT: flag of election ending in 0, e_th 1, egen 72, 0x2a2c, e_fl, 0x0, lo_fl 0 x 6
[1307872771:133170] [6510/1173485888] CLIENT: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 70 eid 0, living type, LSN [0] [0]
[1307872771:133187] [6510/1173485888] CLIENT: Racing replication msg lockout, ignore the message.
[1307872771:173744] [6510/1162996032] CLIENT: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 70 eid 0, type vote2, LSN [0] [0]
[1307872771:173769] [6510/1162996032] CLIENT: Racing replication msg lockout, ignore the message.
[1307872771:231593] [6510/1183975744] CLIENT: flag of election ending in 0, e_th 0, egen 72, 0x2a2c, e_fl, 0x0, lo_fl 0x1c
[1307872771:231629] [6510/1183975744] CLIENT: fate of election thread
[1307872777:443794] [6510/1131526464] CLIENT: connect to 2.0.0.210:12345 site with result 115 init
[1307872971:644194] [6510/1131526464] CLIENT: connect to 2.0.0.210:12345 site with result 115 init
[1307873165:844583] [6510/1131526464] CLIENT: connect to 2.0.0.210:12345 site with result 115 init
[1307873360:44955] [6510/1131526464] CLIENT: connect to 2.0.0.210:12345 site with result 115 init
[1307873554:245347] [6510/1131526464] CLIENT: connect to 2.0.0.210:12345 site with result 115 init
[1307873748:445736] [6510/1131526464] CLIENT: connect to 2.0.0.210:12345 site with result 115 init
[1307873942:646117] [6510/1131526464] CLIENT: connect to 2.0.0.210:12345 site with result 115 init
[1307874136:846509] [6510/1131526464] CLIENT: connect to 2.0.0.210:12345 site with result 115 init

... and stay infinite this situation



My question is why the master is suddenly transformed into CUSTOMER and why he never returns to the MASTER



Thanks in advance...



Here is the log for the customer

[1307872315:455113] [1282/1181583680] MASTER: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 68 eid 0, Journal type, LSN [21] [984396]
[1307872315:455134] [1282/1160603968] MASTER: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 68 eid 0, Journal type, LSN [21] [984483] perm
[1307872315:609962] [1282/1181583680] MASTER: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 68 eid 0, type bulk_log, LSN [21] [984733] perm
[1307872315:764958] [1282/1181583680] MASTER: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 68 eid 0, type bulk_log, LSN [21] [984986] perm
[1307872315:919962] [1282/1181583680] MASTER: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 68 eid 0, type bulk_log, LSN [21] [985238] perm
[1307872316:75018] [1282/1181583680] MASTER: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 68 eid 0, type bulk_log, LSN [21] [985491] perm
[1307872316:229959] [1282/1181583680] MASTER: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 68 eid 0, type bulk_log, LSN [21] [985741] perm
[1307872316:384949] [1282/1181583680] MASTER: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 68 eid 0, type bulk_log, LSN [21] [985993] perm
[1307872316:499899] [1282/1181583680] MASTER: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 68 eid 0, type bulk_log, LSN [21] [986141] perm
[1307872316:539895] [1282/1181583680] MASTER: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 68 eid 0, Journal type, LSN [21] [986221]
[1307872316:540078] [1282/1171093824] MASTER: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 68 eid 0, Journal type, LSN [21] [986307]
[1307872316:540100] [1282/1160603968] MASTER: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 68 eid 0, Journal type, LSN [21] [986394] perm
[1307872316:694950] [1282/1171093824] MASTER: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 68 eid 0, type bulk_log, LSN [21] [986648] perm
[1307872316:847349] [1282/1129134400] MASTER: / opt/bdb/rep_send_message: msgv = 5 logv 17 gen = 70 eid - 1, Journal type, LSN [21] [946345]
[1307872316:847698] [1282/1171093824] MASTER: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 68 eid 0, dupmaster, LSN type [0] [0]
[1307872316:847999] [1282/1181583680] MASTER: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 68 eid 0, type newclient, LSN [0] [0]
[1307872316:848168] [1282/1171093824] MASTER: rep_start: old version 17 journal found
[1307872316:848222] [1282/1181583680] CLIENT: Racing replication msg lockout, ignore the message.
[1307872316:848398] [1282/1171093824] CLIENT: / opt/bdb/rep_send_message: msgv = 5 logv 17 gen = 70 eid - 1, type newclient, LSN [0] [0] nobuf
[1307872316:848504] [1282/1192073536] CUSTOMER: from the election thread
[1307872316:848542] [1282/1192073536] CLIENT: Start election Europe 2, ack 1, priority 100
[1307872316:848566] [1282/1192073536] CLIENT: Election thread has 71 egen
[1307872316:849634] [1282/1192073536] CLIENT: count VOTE1 [0] (2147483647, 71)
[1307872316:849654] [1282/1192073536] CLIENT: count an election
[1307872316:849680] [1282/1192073536] CLIENT: / opt/bdb/rep_send_message: msgv = 5 logv 17 gen = 70 eid - 1, type vote1, LSN [21] [946437] nobuf
[1307872316:851403] [1282/1160603968] CLIENT: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 68 eid 0, type vote1, LSN [21] [986728]
[1307872316:851448] [1282/1160603968] CLIENT: received vote1 egen egen 69, 71
[1307872316:851470] [1282/1160603968] CLIENT: received the old vote egen 69, 71, ignoring vote1
[1307872316:851481] [1282/1160603968] CLIENT: / opt/bdb/rep_send_message: msgv = 5 logv 17 gen = 70 eid 0, living type, LSN [21] [986728] nobuf
[1307872316:851538] [1282/1171093824] CLIENT: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 68 eid 0, master_req, LSN type [0] [0]
[1307872316:851558] [1282/1171093824] CLIENT: / opt/bdb/rep_send_message: msgv = 5 logv 17 gen = 70 eid 0, living type, LSN [0] [0] nobuf
[1307872316:854254] [1282/1160603968] CLIENT: / opt/bdb/rep_process_message: msgv = 5 logv 17 gen = 70 eid 0, type vote1, LSN [21] [986728]
[1307872316:854275] [1282/1160603968] CLIENT: received vote1 egen egen 71, 71
[1307872316:854317] [1282/1160603968] CLIENT: count VOTE1 [1] (0, 71)
[1307872316:854339] [1282/1160603968] CLIENT: Vote Incoming: (eid) 0 (pri) 100 ELECTABLE (gen) 70 (egen) 71 [21,986728]
[1307872316:854353] [1282/1160603968] CLIENT: Vote existing: (eid) 2147483647 (pri) 100 (gen) 70 (sites) 2 [21,946437]
[1307872316:854369] [1282/1160603968] CLIENT: accept the new vote
[1307872316:854379] [1282/1160603968] CLIENT: Election of phase 1 done
[1307872316:854395] [1282/1160603968] CLIENT: vote for 0
[1307872316:854407] [1282/1160603968] CLIENT: / opt/bdb/rep_send_message: msgv = 5 logv 17 gen = 70 eid 0, type vote2, LSN [0] [0] nobuf
[1307872317:960344] [1282/1192073536] CLIENT: after the phase 2: votes 0, nvotes 1, Europe 2
[1307872317:960389] [1282/1192073536] CLIENT: Election completed in 1.111809000 sec
[1307872317:960401] [1282/1192073536] CLIENT: Election; Egen 72
[1307872317:960412] [1282/1192073536] CLIENT: flag of completed election with-30974, e_th 0, egen 72, 0x282c, e_fl, 0x0, lo_fl 0x0
Kill me!



-my source

on the master, I executed manually:

txn_rate 1
loop_rate 10
loop 1 20000

------
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2001-2010 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/

/*
* In this application, specify us all communications via the command line. In
* a real application, one would expect that the information on other sites
* in the system would be maintained in a sort of configuration file. The
* most of this interface, it is that we assume at the start that we can
* knowledge
(* 1) what is our environment home Berkeley DB,.
(* 2) which host/port we want to hear about the connections. and
(* 3) an optional list of other sites, we should try to connect to.
*
* These items of information are expressed by the following indicators.
* h House (required; h means home directory)
*-l host: port (required; l means local)
* - C or - M (optional; will start as customer or master)
* r - host: port (optional; r mean distance; no matter how many of them may be)
* specified)
* R - host: port (optional; R stands for the remote peer; only one of them can
* to be specified)
* - an all the | quorum (optional; a is synonymous with the ACK policy)
* b (optional; b means in bulk)
* Europe - n (optional, number of sites in the replication group; default is 0)
* to try to dynamically calculate Europe)
* priority Pei (optional; default is 100)
* - v (optional; v means verbose)
*/

#include < cstdlib >
#include < a > cstring

#include < iostream >
#include < String >
#include < sstream >

#include < sys/types.h >
#include < signal.h >


#include < db_cxx.h >
#include "RepConfigInfo.h".
#include "dbc_auto.h".

using std::cout;
using std::cin;
using std::cerr;
using std::endl;
using std::ends;
using std::flush;
using std::istream;
using std::istringstream;
using std::ostringstream;
using std::string;
using std::getline;

#include < stdio.h >
#include < readline/readline.h >
#include < readline/history.h >

#define CACHESIZE (10 * 1024 * 1024)
#define of DATABASE 'quote.db '.
#define «quote2.db» base2

const char * progname = "excxx_repquote";

#include < errno.h >
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include < windows.h >
#define _snprintf snprintf
#define sleep (s) sleep (1000 * (s))

extern "C" {}
extern int getopt (int, char * const *, const char *);
extern char * optarg;
}

typedef HANDLE thread_t;
typedef DWORD thread_exit_status_t;
#define thread_create (thrp, attr, func, arg).
(((* (thrp) = CreateThread (NULL, 0,-))))
(LPTHREAD_START_ROUTINE) ((((func), (arg), 0, NULL)) == NULL)? (1: 0)
#define thread_join (thr, statusp).
((WaitForSingleObject ((THR), Infinite) == WAIT_OBJECT_0) & & \)
GetExitCodeThread ((thr), (LPDWORD) (statusp))? 0: - 1).
#else / *! _WIN32 * /.
#include < pthread.h >

typedef pthread_t thread_t;
typedef void * thread_exit_status_t;
#define thread_create (thrp, attr, func, arg).
pthread_create ((thrp), (attr), (func), (arg))
#define (thr, statusp) thread_join pthread_join ((thr), (statusp))
#endif

Struct used to store information in the field of app_private Db.
typedef struct {}
bool app_finished;
bool in_client_sync;
bool is_master;
bool no_dummy_wr;
} APP_DATA.

public static void log(const char *);
void checkpoint_thread (Sub );
void log_archive_thread (Sub );
void dummy_write_thread (Sub );

Class RepQuoteExample {}
public:
RepQuoteExample();
void init (RepConfigInfo * config);
void doloop();
terminate() int;

public static void event_callback (DbEnv * dbenv, u_int32_t, void * info);
void print_stocks_size(Db *dbp);

private:
disable the copy constructor.
RepQuoteExample(const RepQuoteExample &);
void operator = (const RepQuoteExample &);

internal data members.
APP_DATA app_data.
RepConfigInfo * app_config;
DbEnv cur_env;
thread_t ckp_thr;
thread_t lga_thr;
thread_t dmy_thr;

private methods.
void print_stocks(Db *dbp);
void print_env(DbEnv *dbenv);

prompt() Sub;
};

RepQuoteExample * g_runner = NULL;
RepConfigInfo * g_config = NULL;

Class DbHolder {}
public:
DbHolder ( env, const char _dbname DbEnv): env (env)
{
DBP = 0;
If (_dbname) dbname = _dbname;
else dbname = database;
}

{~ DbHolder()}
try {}
Close();
} catch (...) {
Ignore: this may mean that another exception is waiting
}
}

bool ensure_open (bool creation) {}
If (dbp)
return (true);
DBP = new Db (env, 0);

u_int32_t flags = DB_AUTO_COMMIT;
If (creation)
flags | = DB_CREATE;
try {}
DBP-> open (NULL, NULL, DB_BTREE, DATABASE, flags, 0);
DBP-> open (NULL, dbname, NULL, DB_BTREE, flags, 0);
DBP-> open (NULL, NULL, dbname, DB_BTREE, flags, 0);
return (true);
} catch (DbDeadlockException e) {}
} catch (DbRepHandleDeadException e) {}
} catch (DbException e) {}
If (e.get_errno () == DB_REP_LOCKOUT) {}
Just fall through.
} ElseIf (e.get_errno () == ENOENT & &! creation) {}
Provide a little extra explanation.
//
Log ("Stock DB is not still exist");
} else
throw;
}

(All renewable errors pass here).
//
Log ("Please try again");
Close();
Return (false) End Function
}

{} void close()
If {(dbp)
try {}
DBP-> close (0);
Remove dbp;
DBP = 0;
} catch (...) {
Remove dbp;
DBP = 0;
throw;
}
}
}

operator Db * () {}
return of dbp;
}

DB * operator-> () {}
return of dbp;
}

private:
DB * dbp;
DbEnv * env;
const char * dbname;
};

Class StringDbt: public {Dbt
public:
#define GET_STRING_OK 0
#define GET_STRING_INVALID_PARAM 1
#define GET_STRING_SMALL_BUFFER 2
#define GET_STRING_EMPTY_DATA 3
int get_string (char * buf, size_t buf_len)
{
size_t copy_len;
int ret = GET_STRING_OK;
If (buf == NULL) {}
ECRR < < "Invalid entry to get_string stamp" < < endl;
Return GET_STRING_INVALID_PARAM;
}

Make sure that the string is null terminated.
Memset (* buf, 0, buf_len);

If there is no string, simply return.
If (get_data() == NULL | get_size() == 0)
Return GET_STRING_OK;

If (get_size() > = buf_len) {}
RET = GET_STRING_SMALL_BUFFER;
copy_len = buf_len - 1; save room for a terminator.
} else
copy_len = get_size();
memcpy (* buf, get_data(), copy_len);

return ret;
}
size_t get_string_length()
{
If (get_size() == 0)
return 0;
Return strlen ((char *) get_data());
}
Sub set_string(char *string)
{
SET_DATA (String);
set_Size ((u_int32_t) strlen (String));
}

StringDbt(char *string):
DBT (string, (u_int32_t) strlen (string)) {};
StringDbt(): Dbt() {};
~ StringDbt() {};

Do not add additional data to this subcategory because we want to keep it
compatible with objects Dbt created in-house by Berkeley DB.
};

DB * g_repquote = NULL;

RepQuoteExample::RepQuoteExample(): app_config (0), cur_env (0) {}
App_Data.app_finished = 0;
App_Data.in_client_sync = 0;
App_Data.is_master = 0; Suppose I have as a customer initially
App_Data.no_dummy_wr = 0; prevent to run dummy writing
}

/*
int (* old_rep_process_message)
__P ((DB_ENV *, DBT *, DBT *, int, DB_LSN *));

int my_rep_process_message __P ((DB_ENV DBT, arg1 , arg2, arg3, arg4 int, DB_LSN $arg5 DBT))
{
printf ("EZ-> > > my_rep_process_message:%p\n",arg5 ");
old_rep_process_message (Arg1, Arg2, Arg3, Arg4, $arg5);
}
*/

void RepQuoteExample::init(RepConfigInfo *config) {}
app_config = config;

cur_env.set_app_private (& App_Data);
cur_env.set_errfile (stderr);
App_Data.no_dummy_wr = config-> no_dummy_wr;
If (app_data.no_dummy_wr)
printf ("no dummy! \n");

EZ-> cur_env.set_errpfx (progname);
cur_env.set_event_notify (event_callback);

Configure the transfer block to send groups of documents to customers
When a single network transfers. This is useful for sites of masters
and customers participating in the synchronization from client to client.
//
If (app_config-> in bulk)
cur_env.rep_set_config (DB_REP_CONF_BULK, 1);

Set the total number of sites in the replication group.
It is used by the treatment of election internal repmgr.
//
If (app_config-> totalsites > 0)
cur_env.rep_set_nsites (app_config-> totalsites);

Turn on the output of debugging and application information.
If (app_config-> verbose)
cur_env.set_verbose (DB_VERB_REPLICATION, 1);

cur_env.set_verbose (DB_VERB_REPMGR_MISC, 1);
cur_env.set_verbose (DB_VERB_RECOVERY, 1);
cur_env.set_verbose (DB_VERB_REPLICATION, 1);
cur_env.set_verbose (DB_VERB_REP_ELECT, 1);
cur_env.set_verbose (DB_VERB_REP_LEASE, 1);
cur_env.set_verbose (DB_VERB_REP_SYNC, 1);
cur_env.set_verbose (DB_VERB_REPMGR_MISC, 1);

Set the priority of replication for this environment group election.
An election first selects the site with the most recent log
documents such as the new master. If several sites are the most
recent log records, the site with the highest priority value
is selected as the master.
//
cur_env.rep_set_priority (app_config-> priority);

Set the policy that determines how master and client sites
treat the acknowledgment of replication messages required for
permanent record. The default policy of "quorum" requires only
a quorum of the likely to be elected peers sufficient to ensure a permanent
record remains durable if the election is held. The option 'all '.
requires that all clients to recognize a permanent replication
message instead.
//
cur_env.repmgr_set_ack_policy (app_config-> ack_policy);

Set the threshold for the minimum and maximum of the client time
wait before asking the retransmission of a missing message.
These core values on the characteristics of performance and load
host master and client as well as the tower platforms
message trigger time.
//
cur_env.rep_set_request (20000, 500000);

Configure the detection of blockages to ensure that blockages of locks?
are broken by the presence of one of the queries of locks in conflict
has rejected. DB_LOCK_DEFAULT uses the specified lock strategy
at the time of the creation environment or DB_LOCK_RANDOM if none has been
specified.
//
cur_env.set_lk_detect (DB_LOCK_DEFAULT);

The following features of the basic replication can also be useful to your
request. See Berkeley DB documentation for more details.
-Master leases: strict consistency for data reads
on a main site.
-Delivery time: Customize the amount of time that waiting for Berkeley DB
for such things as the election must be concluded or a master
lease to be granted.
-Client synchronization delay: managing the main site
resources by spreading intensive customer resources
synchronizations.
-Blocked customer operations: return immediately with an error
rather than wait indefinitely if a customer is operation
blocked by a current client synchronization.

cur_env.repmgr_set_local_site (app_config-> this_host.host,
app_config-> this_host.port, 0);

for (REP_HOST_INFO * cur = app_config-> other_hosts; cur! = NULL;)
Cur = cur-> next) {}
cur_env.repmgr_add_remote_site (cur-> host, cur-> port,
NULL, cur-> peers? DB_REPMGR_PEER: 0);
}

Configure heartbeat timeouts so that repmgr monitors the
health of the TCP connection. Master sites disseminate a heartbeat
at the frequency specified by the timeout DB_REP_HEARTBEAT_SEND.
Customer sites waiting for activity of the messages of the length of the
DB_REP_HEARTBEAT_MONITOR timeout before concluding that the
connection to the master is lost. The DB_REP_HEARTBEAT_MONITOR
timeout must be longer than the time-out DB_REP_HEARTBEAT_SEND.
//
cur_env.rep_set_timeout (DB_REP_HEARTBEAT_SEND, 5000000);
cur_env.rep_set_timeout (DB_REP_HEARTBEAT_MONITOR, 10000000);

The following features of repmgr can also be useful to your
request. See Berkeley DB documentation for more details.
-Regulates two sites of strict majority - in a two-site replication
the group, to ask the two sites are available to elect a new
master.
-Timeout - customize the amount of time repmgr awaits
for things as pending or try thanks
to reconnect to other sites.
-The site list - returns a list of currently known sites at repmgr.

Now we can open our environment, although we are not ready to
start replication. However, we want to have a dbenv autour
so that we can send it in one of our message handlers.
//
cur_env.set_CacheSize (0, CACHESIZE, 0);
cur_env.set_flags (DB_REP_PERMANENT, 1);
cur_env.set_flags (DB_TXN_WRITE_NOSYNC, 1);

/ * u_int32_t maxlocks = 300000;
If (maxlocks! = 0)
cur_env.set_lk_max_locks (MAXLOCKS);

u_int32_t maxlocks_o = 300000;
If (maxlocks_o! = 0)
cur_env.set_lk_max_objects (maxlocks_o);

u_int32_t maxmutex = 300000;
If (maxmutex! = 0)
cur_env.mutex_set_max (maxmutex);
*/

DbEnv * m_env = & cur_env;
m_env-> set_flags (DB_TXN_NOSYNC, 1);
m_env-> set_lk_max_lockers (60000);
m_env-> set_lk_max_objects (60000);
m_env-> set_lk_max_locks (60000);
m_env-> set_tx_max (60000);

m_env-> repmgr_set_ack_policy (DB_REPMGR_ACKS_NONE);

m_env-> rep_set_timeout (DB_REP_ACK_TIMEOUT, 50 * 1000); 50ms
m_env-> rep_set_timeout (DB_REP_CHECKPOINT_DELAY, 0);
m_env-> rep_set_timeout (DB_REP_CONNECTION_RETRY, 30 * 1000 * 1000); 30 seconds
m_env-> rep_set_timeout (DB_REP_ELECTION_TIMEOUT, 1 * 1000 * 1000); 5 seconds
m_env-> rep_set_timeout (DB_REP_FULL_ELECTION_TIMEOUT, 5 * 1000 * 1000); 5 seconds
m_env-> rep_set_timeout (DB_REP_CONNECTION_RETRY, 5 * 1000 * 1000);
m_env-> rep_set_timeout (DB_REP_ELECTION_RETRY, 10 * 1000 * 1000); 10 seconds

m_env-> rep_set_timeout (DB_REP_HEARTBEAT_MONITOR, 80 * 1000 * 1000); 80 seconds
m_env-> rep_set_timeout (DB_REP_HEARTBEAT_SEND, 500 * 1000); 500 milliseconds

The minimum number of microseconds that a client will wait before requesting a retransmission
u_int32_t rep_req_min = 40000; 40 000 microsec = 40 mili
The maximum number of milliseconds that a client will wait before requesting a retransmission
u_int32_t rep_req_max = 1280000. / / 1 280 000 microsec = 1.28 sec

u_int32_t rep_limit_gbytes = 0;
u_int32_t rep_limit_bytes = 100 * 1024 * 1024; 100 MB
m_env-> rep_set_request (rep_req_min, rep_req_max);
m_env-> rep_set_limit (rep_limit_gbytes, rep_limit_bytes);


cur_env. Open (app_config-> homepage, DB_CREATE |) DB_RECOVER |
DB_THREAD | DB_INIT_REP | DB_INIT_LOCK | DB_INIT_LOG |
DB_INIT_MPOOL | DB_INIT_TXN, 0);

keep the old string function
old_rep_process_message = cur_env.get_DB_ENV ()-> rep_process_message;
deviant
cur_env.get_DB_ENV ()-> rep_process_message = my_rep_process_message;

/ * int _i;
cur_env.log_get_config (DB_LOG_DIRECT & _i); printf ("DB_LOG_DIRECT = %d\n",_i);
cur_env.log_get_config (DB_LOG_DSYNC & _i); printf ("DB_LOG_DSYNC = %d\n",_i);
cur_env.log_get_config (DB_LOG_AUTO_REMOVE & _i); printf ("DB_LOG_AUTO_REMOVE = %d\n",_i);
cur_env.log_get_config (DB_LOG_IN_MEMORY & _i); printf ("DB_LOG_IN_MEMORY = %d\n",_i);
cur_env.log_get_config (DB_LOG_ZERO & _i); printf ("DB_LOG_ZERO = %d\n",_i);
*/

Start checkpoint and newspaper archive support threads.
(void) thread_create (& ckp_thr, NULL, checkpoint_thread, & cur_env);
(void) thread_create (& lga_thr, NULL, log_archive_thread, & cur_env);
(void) thread_create (& dmy_thr, NULL, dummy_write_thread, & cur_env);

cur_env.repmgr_start (3, app_config-> start_policy);
}

The detailed output shows that the site has won the election and the
RepMgr code calls rep_start to become the master, but he is stuck
waiting for a txn or a cursor to be resolved before this change of State
may occur. I have not studied your application code. But if you have a
cursor or txn, underway at the time, then you must resolve before
the site may change the State.

If you can reproduce this, it would be useful to see the stack traces
the threads. That could confirm or deny that, in my view, I see.

Sue LoVerso
Oracle

Tags: Database

Similar Questions

  • Card problem OBIEE - points on the map illustrated with two different images.

    VI have obiee 11.1.1.7.1 where we have an analysis with a card.

    The base map and the theme is created in 11.1.1.7.3 mapbuilder.

    VI have a variable shape layer in the OBIEE plan. The shape is a circle, and has four different locations (using four different colors to show the differences).

    A query can show 20-30 positions on the map.

    So far so good.

    When we run the analysis, the following occurs:

    1. circles of 20-30 (with one of four different colors) are presented correctly on the map. These results appear directly on the map once we click on "Apply"

    2 an hourglass appears and we will have to wait for 20 to 60 seconds.

    3 then an "x" appears in each of the 20-30 circles and the hourglass disappears. The 'x' is the mapbuilder theme that we created if we do not have any Style 'Render' associated with the Style. If we have a rendering style, for example a simple small point, this point then appears with the circle.

    Our question is how we can force mapbuilder for not making the 'x' in the map. That's where we get terrible response time.


    Best regards

    Joel

    We have solved the problem using only the datawharehouse data to generate BI data layers.

    We have created a new BI data layers using variable forms. Then, we chose a layer of bridge custom rather than use the MapBuilder theme that we created earlier. Then, we used the points Long/Lat for the generation x and y.

  • URGENT! Two physical network with two subnets completely - no bridges - interface cannot connect both

    This is my urgent problem:

    I have a physical machine with two physical network interfaces. I have a VMWARE player and a virtual machine that must use cards on two different subnets, a public directly to the router and an intranet within the company.

    How can I just say a net card to go on this submarine and the other on the public void?  Go crazy. Help, please.

    Thank you

    P.

    Use the virtual network editor VMware Player, create an additional bridged VMnet and bind each bridged to a different physical network... card VMnet on a virtual machine, create a virtual network adapter on each subnet and bind each virtual network adapter to an another VMnet jumpered.

    For additional help with virtual network Editor, check this KB: VMware KB: using the VMware Workstation virtual network editor

  • I had to uninstall Acrobat Reader DC and back to Acrobat Reader 11 for software we use for work.  The problem is that after I did my Internet Explorer gives a message that the plugin player DC is missing?  I reinstalled DC and uninstalled again with

    I had to uninstall Acrobat Reader DC and back to Acrobat Reader 11 for software we use for work.  The problem is that after I did my Internet Explorer gives a message that the plugin player DC is missing?  I reinstalled DC and uninstalled again without success.  Any suggestion would be appreciated.

    You can try to use this tool first remove all traces of your computer:

    http://labs.Adobe.com/downloads/acrobatcleaner.html

    Then you can download the full Setup offline reader for the version you want from

    http://get.Adobe.com/reader/Enterprise/

    After downloading, restart your computer and run the Setup program before anything else.

  • Loss of value after split/join

    Hello

    In my process, there is an activity to split/join. Before the split, there is an activity of interactivity. The user can set the values of BPMObject.
    Then, in the split/join, all interactive activities can change the values of BPMObject. Before the join, the process works very well.

    However, after the join, the interactive activity gets only the original BPMObject values. All the changes are lost.

    Argument mapping entry for activity ScreenFlow interactive final is: var1vpsfArg = var1
    (var1 is the Instance variable)

    How to get the updated value?

    Sincerely,

    Hello

    I don't think that this was due to the mapping of your argument. Whenever you encounter problems obtaining new information of a join activity, the problem is usually the logic of the join activity itself.

    There are two ways you can treat a Split / join the boss. If you Split-> properties right click-> Advanced, you'll see a checkbox that allows you to generate (default) copies or generates no copies. This means that transitions leaving the split can either each have their own independent copy of the original instance variable or all transitions leaving the split can share original variable of instance.

    I guess you don't see information flowing on the join, because the separation is set to generate copies and you're not recover the information copied into the join. If you're curious, here's what the engine makes when it hits a Split activity that is configured to generate copies:

    1. the instance arrives in Split activity
    2. the engine automatically sends the original (copy 0) instance with all its variables of the join activity
    3 if there are two transitions from the split, the engine automatically creates a copy of the instance for each of the transitions and sends them to the two activities following the separation through their respective transitions. If the two activities that followed the separation were 'Credit Check' and 'Check inventory', you would now have the original instance in the join (copy 0) and a copy (copy1) in the 'Credit Check' activity and a copy (copy 2) to 'check inventory.
    4. as an end user end "Credit Check" copy work happens in the activity of join and executes the logic in the join
    5. as an end user finishes the job in 'check inventory' copy arrives in the activity of join and executes the logic in the join
    6. now that all copies have arrived and completed the join, the engine automatically moves the original (copy 0) instance of join and downstream activity in the process.

    Here's the logic that you might want to add to your activity to join (the logic below assume that I named my business 'Credit Check' and 'Check inventory'). You will notice that wherever you are referring to instance information that would have been defined in one of the two activities between the Split and Join are designated within the logic of the join using the prefix "copy.". This 'copy.' is only used within the activity of join and not in Split (no logic required here) 'Credit check' or 'check inventory.

    // this lets you know where this copy came from
    logMessage "JOIN: previous activity was: " + copy.activity.source.name using severity = DEBUG


    case copy.activity.source.name
    when "CheckCredit" then
    order.creditStatus = copy.order.creditStatus
    when "CheckInventory" then
    order.status = copy.order.status
    // the "else" should not have been hit if you've done this correctly
    else
    order.status = "Problem"
    end

    After end users finish their work in the business 'Credit check' this exectutes logic. Logic of the activity of the join uses the variable 'copy.activity.source.name' to determine source of the copy. Since there are only two activities immediately preceding the join in this example, there are only two clauses "when" in the case statement. If there is 4, so there will be 4 clauses "when".

    It is important to mention the name of the activity in the logic above. Note that the friendly labels are 'Credit Check' and 'check inventory? Right click on each of your activities immediately preceding the join-> click Properties and note the reading text in the field "Activity Id" for each of these activities. In this example, while activity appears to be named "Credit Check" the name of that logic will use will be "CheckCredit" without space. The value in the field of activity of the activity code, this is what happened in the variable 'copy.activity.source.name' of the join logic.

    What will happen if you do not have the 'case' in the logic above? You would see the variable information in the last copy you arrive at the joint to replace information written in previous copies. The last copy to win.

    In the second paragraph of the present, I mentioned that you can choose to generate (default) copies or generates no copies (by unchecking the box). I tend to leave the default value simply because it's the way I've always done. You should be careful, because if you put a new activity just before your join, the logic in the join will have to change to take account of the new activity in a new clause of "when". If you choose not to generate copies, then you need not all logic in the join activity above.

    Hope this helps,
    Dan

  • Touchpad not working not for a few seconds after I touch it with your finger, then a more...

    I already tried SMC and reset the PRAM, but who doesn't. I found someone with such a similar problem (Trackpad doesn't work sometimes on MBP after upgrade OS X 10.8.2)

    but the measures that seem to work for them do not work for me.

    Thus, as described in the title. the touchpad works very well as long as I just touching with a finger, so scrolling with two fingers or by changing desktop computers do not work. the mouse freezes for a few seconds after I hit with 2 fingers. After about 3 seconds it starts working again.

    If there is someone with the same problem let me know!

    Technical specification:

    OS X El Capitan 10.11.6

    MacBook Pro (retina, 15 inch, mid-2015)

    Processor: 2.5 GHz Intel Core i7

    Memory: 16 GB 1600 MHz DDR3

    Video card: Intel Pro Iris 1536 MB

    flash memory: 500 GB

    I propose a date at a bar in engineering of the Apple store for a FREE evaluation.

    Ciao.

  • WNDR3400V2 (RN600) router - wireless repeating with Wireless Modem Arris

    I need help. I have an Arris wifi Modem (TG862) - recently installed when moving into a new House and the signature to the top for cable internet. I have a problem with weak wifi signal in the rear rooms - with signal drop. I have the spare WNDR3400V2 - so, how can I use it to boost my signal, preferably wireless? I have trouble to get the right settings when you configure as Repeater with different guides does not not exactly to my hardware. I don't have too much knowledge on this and how do it, but any help will be appreciated. The PC in the bedroom becomes signal well enough, I'm fighting to get compatible with phones wifi...

    In order to strengthen the signal on the desired location, run a long ethernet cable from the modem to the NETGEAR router.

    Still, there is no way for these 2 devices to be connected wireless to the other.

  • El Capitan 10.11.2 disconnects from the network of Canon printer macbook pro after each use but with the same OS version iMac remains connected

    How to prevent my Macbook Pro El Capitan 10.11.2 going to disconnect my network printer Canon?   My iMac running the same OS version don't unplug and behaves like any normal wireless connection.  I deleted the printer and added back, reset printing, etc. nothing works.  Given that the Mac is 6 "each other and 5 feet of printer during the last test, it must be something specific to the Macbook.  The Macbook identifies the printer after each reboot the printer as printer Canon right, but once the task is completed does not have the printer.  Everything is on the same wireless network. Computer Windows also recognizes the printer and it keeps alive after printing.

    Please read this message before doing anything.

    This procedure is a diagnostic test. It is unlikely to solve your problem. Don't be disappointed when you find that nothing has changed after you complete it.

    The test is intended to determine if the problem is caused by a third-party software that loads automatically at startup or logon, by a device, by a police conflict or corruption of system files or some system caches.

    Disconnect all devices wired except those required to test and remove all the expansion cards from secondary market, as appropriate. Start in safe mode and log on to the account of the problem.

    Note: If FileVault is enabled in OS X 10.9 or an earlier version, or if a firmware password is defined, or if the boot volume is a software RAID, you can not do this. Ask for additional instructions.

    Safe mode is much slower to boot and run as normal, with limited graphics performance, and some things work at all, including an audio output and a Wi - Fi connection on some models. The next normal boot can also be a bit slow.

    The login screen is displayed even if you usually connect automatically. You need your password to log on. If you have forgotten the password, you will have to reset it before you begin.

    Test in safe mode. Same problem?

    After testing, restart as usual (not in safe mode) and make sure you always have the problem. View the results of the test.

  • My printer HP LaserJet 1536dnf printer prints black pages after replacing the toner with a new one!

    I changed the toner cartridge for my printer HP LaserJet 1536dnf with a genuine HP toner cartridge and now it's printing the pages in black.  Any suggestions on how to fix this?

    Thank you!

    Hi @Beaglemom49779,.

    I see by your post that you have replaced the toner and now get all black pages. I can help you with this.

    Have you had the same problem with the printer before replacing the toner?

    It could be a hardware or with the printer fuser problem.

    If the problem started just after replacing the toner then most likely, the toner.

    Make sure that the printer is connected directly to a wall outlet. (do not use a hub or a surge protector)

    Number one cause of problems with toner.

    Check if the drum unit for damage:

    1. remove the cartridge of toner product and check that the tape has been removed.
    2. check the memory chip for damage.
    3 examine the surface of the imaging drum on the bottom of the toner cartridge.
    CAUTION: Do not touch the roller (Imaging drum) on the bottom of the cartridge.

    His fingerprints on the imaging drum can cause print quality problems.
    4. If you see the scratches, fingerprints, black on the drum, or any other damage on the imaging drum, replace toner.
    5. If the imaging drum does not appear to be damaged, rock the toner cartridge gently several times and reinstall it. Print a few pages to see if the problem is resolved.

    Please call our technical support if the there is a problem with the toner and you learn about a replacement, to the 800-474-6836. If you do not live in the United States / Canada region, please click the link below to get help from your region number. Contact HP.

    Good day!
    Thank you.

  • Canon 5 d MK IV LiveView stops immediately after having been pressed with Tamron SP 70-200mm F/2.8

    My Canon 5 d MK IV Live View will stop immediately after having been pressed with a Tamron SP 70-200 F/2.8 Di lenses.

    I don't see the problem happens with my lens F / 2.8 Canon 24-70mm.

    This problem happened in video mode.

    I hope that there is a setting I have to toggle to make this objective work in Live View mode?

    Thank you

    Mark

    I spoke to my local camera shop, they said, that it should be referred to the Tamron for the update of the firmware, they said, that Tamron has a fairly good hand around time of approximately 5 days. I've probably will send mine once I'm done with a shoot.

    The lens works very well for me, normally, the only problem for me is Live View. If this is not the case, use the LIve View, it seems to work great so it's not paralyze me right now, but it would be nice to just get it fixed if Live View will work.

    The camera is also on Firmware V1.01 so their will be updates firmware for it also and as a previous post said that Canon will also address the issues with 3rd party lenses. Great! After that all the Canon doesn't want people who have glasses of third parties avoiding the body of the camera for this problem. It's logical Canon would solve this problem.

    So far it is a minor bump with third party lenses. I've always been able to work with my Tamron and Sigma lenses. Just a couple of workarounds until the firmware is updated. It isn't a deal breaker for me. This camera is a pleasure to shoot with and I am very pleased with the Canon has advanced in the development, image quality with the dynamic range and low light performance. I am happy and have no regrets.

    I would still recommend this camera to a friend.

  • How can I get my computer my external USB drive (portfolio) after that I repeatedly get the message that the device "can not be removed?

    Original title: I need a market to resolve the problem remove the instrument.

    How can I get my computer my external USB drive (portfolio) after that I repeatedly get the message that the device "can not be removed? I have closed all other programs and waited for varying amounts of time, and tried all of the fixes that have been proposed on this site. Nothing works. I don't want to turn off the computer whenever I have to remove the device.

    I can't know what "all patches" you've tried, but:

    Make sure that the system restore does not monitor the external drive.  SR does need to control the system drive and to the system drive, SR has only about 1 GB of space max.  Make a right click my computer and select properties then the System Restore tab to configure SR.

    Make sure that the Indexing Service is turned off (at least for the external drive).  To disable disk indexing completely, which will also speed up your computer a bit, see http://lifehacker.com/031440/turn-off-indexing-and-speed-up-windows-xp.  For the external drive, right-click on the drive icon in my computer, select properties and uncheck the indexing disc

    There are different workarounds short to shut down the computer, but you might want to try this third-party app first:
    http://safelyremove.com/index.html  Among other features:

    The device cannot be stopped now. Why? Never encountered the situation when Windows does not allow you to remove a device? Unlike Windows, USB remove will show you programs which prevent the device to be stopped and let you close these programs or just files that they opened on the device.

  • After a fresh install with XP Home EWdition, Service pack 1, 2.0, and 3.0, I can't install Windows Update or IE8.

    After a fresh install with XP Home EWdition, Service pack 1, 2.0, and 3.0, I can't install Windows Update or IE8. Update back me to http://support.microsoft.com/kb/2497281

    Article ID: 2497281 - last review: January 18, 2011 - revision: 1.0

    You may be unable to access the site Web Windows Update in Windows XP, Windows 2000, or Windows Server 2003 if these versions of Windows are not updated with the latest Service Pack

    But I have service Pack 3.  IE8 fails, install a convenience store, but after following the instructions there is no difference.

    I am at a loss for the next steps...

    There was problems with the server for updates for a few weeks now...

    Many people say that download and run the Update Agent stand-alone file solves this problem:

    http://download.windowsupdate.com/WindowsUpdate/redist/standalone/7.4.7600.226/WindowsUpdateAgent30-x86.exe

    For more information:

    http://support.Microsoft.com/kb/943144

    For later use, it is not necessary to use all the steps you mentioned. You can upgrade directly from SP1a to SP3.

  • delay after typing my password with the message: "preparing your desktop" displayed on the login screen

    I use Windows Vista for about 3 years now, it has been hurt on the first day.  However, it is the biggest problem I've ever known.

    My PC is currently the entire installation, which means that all the software, drivers and personal settings are applied to the way I would like it. But lately, I have had opportunities indicate that loggin, there was a long delay, after typing my password with the message: "preparing your desktop" displayed on the login screen (the PC was night shotdown, not having changed anything to the system), then I am connected to a desktop where I lost all my custom settings : wallpapers, plans, location of the updated table on the page icon, were all gone as if I start Windows for the first time, and every program I tried to run from there thought while they started upward for the first time.

    My office, I know, has completely disappeared.   How can I get it back?  Where at - it go?

    I am a school teacher and my student missions, etc. are in the files on the desktop.

    I'd appreciate any help you can give me.

    Please keep in mind that I'm not a techno person and very little familiar with several computer attributes.

    Thank you

    Press Alt + Ctrl + delete

    Start the Task Manager

    Click new task below or click file > new task

    Type explorer.exe

    Click ok

    Bring this back?

  • IRQL not less equal or (bsod) after doing some tinkering with the registry of Windows Media Player files.

    Original title: IRQL NOT or LESS EQUAL (BSOD) help

    Hello

    I've experienced this * IRQL NOT LESS or EQUAL * problem irregularly from January 2. It happened after doing some tinkering with the registry of Windows Media Player files (but I made sure to return to the default options once I'm done and I have also provided a backup copy) since it generates random album art files and I am looking for a way to stop him. I also deleted the files Windows Media Library (wmdb). I don't know if this has nothing to do with the BSOD. This error occurred at random intervals, sometimes after opening my computer laptop it will BSOD sometimes, it won't happen after long operating hours. Hope you can help me with this.

    Is attached a copy of my DMP files which you seem to demand for troubleshooting. Dump

    These accidents were related to the corruption of memory (probably caused by a driver).

    Run these two tests to check your memory and find which driver is causing the problem.  Launch auditor.  You don't need to run memtest again unless the auditor is not the cause, or you want to.

    If you are overclocking anything reset by default before running these tests.
    In other words STOP! If you don't know what it means that you're probably not  


    1-Driver Verifier (for full instructions, see our wiki here)

    2-Memtest. (You can learn more about running memtest here)
  • After cleanind my registry with Wise Registry Cleaner, I can not connect to the internet.

    Network connection problem

    Hi all

    After cleanind my registry with Wise Registry Cleaner, I can not connect to the internet. Network LAN and wireless do not work. Windows 7 has diagnosed the problem and says the following:

    There might be a problem with the driver for the wireless network connection card

    Windows could not automatically bind the pile of IP protocol for the network card.

    There might be a problem with the driver for the connection to the Local network map

    Windows could not automatically bind the Protocol IP on the network card stack.

    Details of detection

    Diagnostic information (network card)

    Network card diagnostics information:

    Network adapter driver to connect to the Local network information:

    Description... Broadcom NetLink (TM) Gigabit Ethernet

    Reference the manufacturer... Broadcom

    Provider of... Broadcom

    Version... 14.0.1.0

    The name of the INF file... C:\Windows\INF\oem5.inf

    Date of the INF file... 14.05.2010 21:21:56

    Name of the section... DEV_KEY2. NTamd64.6.1

    Hardware ID... pci\ven_14e4 & dev_1692

    Instance status indicators... 0x180200a

    Status code from device Menager... 0

    IfType......................... 6

    Physical media type... 14

    Similar to Wireless adapt. The problem is probably not the antivirus program, since I have only deinstaled and the problem persists. I've also uninstalled and reinstalled the drivers, but no solution again. I can't do a system restore point before cleaning the registry, because Windows could not find a file that is needed for the restore. I restored again since before saved registry cleaning but no help.

    Any other ideas please. This really seems teribble :(

    Thank you

    Nikola

    Hello

    You can try all reset them TCP/IP and WINSOCK by this order from the high command prompt:

    netsh winsock reset
    netsh int ip reset log.txt

    How to run the command prompt as administrator (high) is here:

    http://Windows.Microsoft.com/en-us/Windows7/command-prompt-frequently-asked-questions

    part:

    How to run a command with elevated privileges?

    LC

Maybe you are looking for