diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-12-07 09:57:45 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-12-16 08:08:33 +0100 |
commit | a03cf0040b4a959291770f7b1c8067827ea676d6 (patch) | |
tree | f13c2874c183dfb7acba8efdbc5602627be38f7d /ctdb/tools | |
parent | 965c000c6e2dd7915b7ba30f6eddeecffca5be24 (diff) | |
download | samba-a03cf0040b4a959291770f7b1c8067827ea676d6.tar.gz samba-a03cf0040b4a959291770f7b1c8067827ea676d6.tar.xz samba-a03cf0040b4a959291770f7b1c8067827ea676d6.zip |
ctdb: print out some hints how to debug a "ctdb catdb" failure
metze
(This used to be ctdb commit 504cf78d00d1120b556124340b9312f890b8b8b9)
Diffstat (limited to 'ctdb/tools')
-rw-r--r-- | ctdb/tools/ctdb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ctdb/tools/ctdb.c b/ctdb/tools/ctdb.c index dc84f96acc..b2284b2156 100644 --- a/ctdb/tools/ctdb.c +++ b/ctdb/tools/ctdb.c @@ -2438,6 +2438,9 @@ static int control_catdb(struct ctdb_context *ctdb, int argc, const char **argv) ret = ctdb_dump_db(ctdb_db, stdout); if (ret == -1) { DEBUG(DEBUG_ERR, ("Unable to dump database\n")); + DEBUG(DEBUG_ERR, ("Maybe try 'ctdb getdbstatus %s'" + " and 'ctdb getvar AllowUnhealthyDBRead'\n", + db_name)); return -1; } talloc_free(ctdb_db); |