search for: dbcheck

Displaying 20 results from an estimated 1159 matches for "dbcheck".

2012 Oct 04
1
Intermittent connectivity issues for JDBC / Oracle
...base. To help debug, I found a function here in the nabble forum and made a small test script: #!/usr/bin/Rscript --no-restore --no-save --no-init-file library("RJDBC") drv<-JDBC("oracle.jdbc.OracleDriver","/home/oracle/lib/ojdbc6.jar", "'") dbCheck = function(url, user='', pwd='') { j = .jcall("java/sql/DriverManager", "Ljava/sql/Connection;", "getConnection", url, user, pwd, check=FALSE) x = .jgetEx() .jcheck() x } dbCheck("jdbc:oracle:thin:@192.168.3.10:1521:psrndpt1&q...
2020 Mar 06
3
DCs from 4.10.x to 4.11.x
...1 schrieb L.P.H. van Belle via samba: > > After upgrade indexing is done as far i know. > > I just do it also before the upgrade to be on the safe side. > > "it" ? What and how? .. It "howo to upgrade and running re-indexing before the upgrade" samba-tool dbcheck samba-tool dbcheck --cross-nc samba-tool dbcheck --reindex apt dist-upgrade -dy apt dist-upgrade --autoremove --purge apt --fix-broken install systemctl unmask samba-ad-dc systemctl stop samba-ad-dc systemctl start samba-ad-dc sleep 100 samba-tool dbcheck samba-tool dbcheck --cross-nc samba-too...
2012 Oct 03
1
Samba-tool dbcheck shows "incorrect GUID" after update from alpha17 to beta8
After updating our Samba4 server from alpha17 to beta8 "samba-tool dbcheck" shows 24 "incorrect GUID" errors. What does it mean and what should i do to fix this? Thx
2018 Feb 09
2
samba-tool dbcheck on 4.7.5, after bug 13228
Hi, Have changed the subject line to make my question clearer :) What is the expected behaviour of 'samba-tool dbcheck --fix'? Should running this command two times still produce the same output? I think I was bitten by bug 13228, but am not sure if I'm running the right command to resolve. Cheers Jonathan On 7 February 2018 at 23:44, Jonathan Hunter <jmhunter1 at gmail.com> wrote: > Hi, >...
2015 Feb 25
1
performance issue with large group and dbcheck / dc join
Hi everyone, yesterday I had to debug a failing join on a large domain for a group of primary schools with 1000+ desktop and 10k accounts. The domain run mostly ok except for some replications issues, however joining a new DC just takes eons and so does dbcheck. After some investigation into dbcheck (4.1.17) and some "human powered" valgrind like evalution using pudb, I came to the conclusion that it was the computation of the memberof attribute that was to blame. Disabling that attribute check in the dbcheck code did solve the issue. Actua...
2017 Nov 22
1
Samba upgrade
I'm upgrading an old samba4 instance (Samba version: 4.3.0pre1-GIT-1e32ada) which despite it's age works fine. Running 'samba-tool dbcheck --cross-ncs' before the upgrade results in no errors. Building and installing using samba-4.7.3.tar.gz source (same ./configure) and the running 'samba-tool dbcheck --cross-ncs' results in 'Checked 3994 objects (4367 errors)' and then an endless loop of ....... # samba-tool...
2011 Nov 24
1
Bacula dbcheck in CentOS6
[Is it true that nobody replied to this in four months?] On Mon Jul 18 09:34:08 EDT 2011, Joseph L. Casale wrote: > Anyone else notice that /usr/libexec/bacula/make_catalog_backup.pl runs a "dbcheck -B" > which doesn't seem to exist in the version of dbcheck shipped with it? > > That makes it rather hard to do a catalogue backup with the shipped script? That's an error in the RPM install script. It uses the "alternatives" mechanism for switching between databa...
2024 Apr 15
1
Upgrade to 4.20: Not resetting nTSecurityDescriptor
root at dom2:~# samba-tool dbcheck --fix --yes Checking 705 objects Checked 705 objects (0 errors) root at dom2:~# samba-tool dbcheck --cross-ncs Checking 4506 objects Not resetting nTSecurityDescriptor on CN=Deleted Objects,CN=Configuration,DC=tlk,DC=loc Not resetting nTSecurityDescriptor on CN=Deleted Objects,DC=DomainDnsZones,DC...
2019 Feb 28
3
samba-tool dbcheck Unicode-Error
Hello, we have 2 DC with Sernet Samba-packages 4.9.4 if we do a "samba-tool dbcheck" we get the following error: ---------- samba-tool dbcheck Checking 1631 objects ERROR(<type 'exceptions.UnicodeDecodeError'>): uncaught exception - 'ascii' codec can't decode byte 0xc3 in position 29: ordinal not in range(128) File "/usr/lib/python2.7/dist-...
2018 Feb 07
2
samba 4.7.5 and db replication ( refering to closed bug : 13228 )
Hai,   Question..   2 DC's.  ( debian stretch samba 4.7.5 ) .   DC1 upgraded,  ( DC with FSMO roles)   samba-tool dbcheck --fix samba-tool dbcheck --cross-nc --fix   That fixed on DC1  6 errors. samba-tool drs showrepl show no error.   login on DC2. upgraded. samba-tool drs showrepl show no error and is in sync. samba-tool dbcheck --fix  shows 16 errors   uhm, synced, but not synced..    from DC1, samba-tool dr...
2024 Apr 15
1
Upgrade to 4.20: Not resetting nTSecurityDescriptor
I did it: root at dom2:~# samba-tool dbcheck --fix Checking 705 objects Reset nTSecurityDescriptor on CN=Deleted Objects,DC=tlk,DC=loc back to provision default? Owner mismatch: SY (in ref) DA(in current) Group mismatch: SY (in ref) DA(in current) Part dacl is different between referen...
2024 Apr 13
1
Upgrade to 4.20: Not resetting nTSecurityDescriptor
On Fri, 2024-04-12 at 08:03 +0200, Daniel M?ller via samba wrote: > Hello to all, > > After updating to samba 4.20 (from samba 4.19) on Debian 11, samba-tool > dbcheck --cross-ncs > results in: > samba-tool dbcheck --cross-ncs > Checking 4499 objects > Not resetting nTSecurityDescriptor on CN=Deleted > Objects,CN=Configuration,DC=tlk,DC=loc > Not resetting nTSecurityDescriptor on CN=Deleted > Objects,DC=DomainDnsZones,DC=tlk,DC=loc > Not r...
2024 Apr 15
1
Upgrade to 4.20: Not resetting nTSecurityDescriptor
On Mon, 15 Apr 2024 07:53:16 +0200 Daniel M?ller via samba <samba at lists.samba.org> wrote: > I did it: > root at dom2:~# samba-tool dbcheck --fix > Checking 705 objects > Reset nTSecurityDescriptor on CN=Deleted Objects,DC=tlk,DC=loc back > to provision default? Owner > mismatch: SY (in ref) DA(in current) Group mismatch: SY (in ref) > DA(in current) Part dacl is different between refere...
2013 Feb 21
2
Upgrade from 4.0.0 to 4.0.3 creates unfixable errors with dbcheck
Hello, Today I tried to upgrade from samba 4.0.0 to 4.0.3 on my test environment. I patched the source with the diffs patch-4.0.0-4.0.1.diffs, patch-4.0.1-4.0.2.diffs, patch-4.0.2-4.0.3.diffs , then make, make install. # samba-tool dbcheck Checking 807 objects Not fixing nTSecurityDescriptor on CN=Performance Monitor Users,CN=Builtin,DC=inview,DC=local <--- all errors were same for each object Checked 807 objects (805 errors) Tried # samba-tool dbcheck --fix (fix all.) Checked 807 objects (763 errors) now...
2019 Feb 28
1
samba-tool dbcheck Unicode-Error
...02.2019 12:47, schrieb L.P.H. van Belle via samba: > Hai Stefan, > > See. > https://bugzilla.samba.org/show_bug.cgi?id=13616 > That's what I found, too. We did not do an update it's a fresh installation (migrate from samb3 with classicupgrade). I now did a "samba-tool dbcheck -v " and I see that the "ü" in the DN of a OU it's the problem. > I think thats you problem, at least simular. > A left over from the python2 -> python3 conversion. That's bad, very bad. > > I dont know it this one is in the sernet packages. > Whats your...
2019 Feb 28
1
samba-tool dbcheck Unicode-Error
...lease to be corrected. Greetz, Louis > -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Stefan Kania via samba > Verzonden: donderdag 28 februari 2019 13:15 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] samba-tool dbcheck Unicode-Error > > Hi Louis, > > Am 28.02.2019 12:47, schrieb L.P.H. van Belle via samba: > > Hai Stefan, > > > > See. > > https://bugzilla.samba.org/show_bug.cgi?id=13616 > > > That's what I found, too. We did not do an update it's a fresh &...
2020 Apr 17
2
markedly fewer objects in dbcheck after upgrade to 4.12.1 from 4.11.6
Recently upgraded my 3 dc's to samba 4.12.1 as part of the install ran dbcheck --cross-ncs on each dc after make install first dc dbcheck reported 5474 objectssecond dc reported 5476 objects last dc (the one with all the fsmo roles, etc.)? reported 1406 objects! now all of them report 1406 objects. (drs replication obviously) ADUC, DNS, GPO manager all seem to have the requ...
2019 Apr 25
2
Error with dbcheck after upgrade to 4.10.2
Hi, I am seeing the following error when running samba-tool dbcheck # samba-tool dbcheck --cross-ncs ERROR(<class 'KeyError'>): uncaught exception - 'No such element' File "/usr/local/samba4/lib/python3.6/site-packages/samba/netcmd/__init__.py", line 185, in _run return self.run(*args, **kwargs) File "/usr/local/samba4/...
2012 Oct 06
1
Samba 4: character encoding issue (was: Samba-tool dbcheck shows "incorrect GUID" after update from alpha17 to beta8)
...et> wrote: > > -------- Original-Nachricht -------- >> Datum: Thu, 4 Oct 2012 12:22:54 +0200 >> Von: Michael Wood <esiotrot at gmail.com> >> An: Julian Timm <X-Dimension at gmx.net> >> CC: samba at lists.samba.org >> Betreff: Re: [Samba] Samba-tool dbcheck shows "incorrect GUID" after update from alpha17 to beta8 > >> On 4 October 2012 09:46, Julian Timm <X-Dimension at gmx.net> wrote: >> > >> > -------- Original-Nachricht -------- >> >> Datum: Wed, 3 Oct 2012 16:56:42 +0200 >> >> Von...
2018 Feb 16
0
samba-tool dbcheck on 4.7.5, after bug 13228
Hi, Replying to my own query, for those following along at home (or reading the archives in the future). Thanks very much to Garming for giving me these pointers. My initial query probably wasn't very clear - apologies - but what it boiled down to was that "samba-tool dbcheck --cross-ncs" identified a number of errors, but these were *NOT* fixed when I ran the same command with "--yes". The answer was that I needed to run dbcheck *without* the "--yes" argument, and instead manually specify y / all during the check itself. *These have slightly d...