Hi,
when i try to create a online backup via samba 4.9.2 at gentoo (in my
test envoirment) i get the following errors:
samba-tool domain backup online --server=localhost
--targetdir=/mnt/backupsamba/ -U Administrator
Password for [DOMAIN\Administrator]:
workgroup is DOMAIN
realm is domain.de
Calling bare provision
Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
Setting up share.ldb
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
Unable to determine the DomainSID, can not enforce uniqueness constraint
on local domainSIDs
A Kerberos configuration suitable for Samba AD has been generated at
/mnt/backupsamba/tmph9N6ny/private/krb5.conf
Merge the contents of this file with your system krb5.conf or replace it
with this one. Do not create a symlink!
Provision OK for domain DN DC=aixtema,DC=de
Starting replication
Using DS_BIND_GUID_W2K3
ERROR(runtime): uncaught exception - (3221225495, '{Not Enough Quota}
Not enough virtual memory or paging file quota is available to complete
the specified operation.')
File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 177, in _run
return self.run(*args, **kwargs)
File
"/usr/lib64/python2.7/site-packages/samba/netcmd/domain_backup.py",
line
228, in run
dns_backend='SAMBA_INTERNAL', targetdir=tmpdir)
File "/usr/lib64/python2.7/site-packages/samba/join.py", line 1517,
in join_clone
ctx.do_join()
File "/usr/lib64/python2.7/site-packages/samba/join.py", line 1623,
in do_join
ctx.join_replicate()
File "/usr/lib64/python2.7/site-packages/samba/join.py", line 942,
in
join_replicate
repl = ctx.create_replicator(repl_creds, binding_options)
File "/usr/lib64/python2.7/site-packages/samba/join.py", line 914,
in
create_replicator
ctx.lp, repl_creds, ctx.local_samdb, ctx.invocation_id)
File "/usr/lib64/python2.7/site-packages/samba/drs_utils.py", line
194, in __init__
self.drs = drsuapi.drsuapi(binding_string, lp, creds)
any ideas?
Mit freundlichen Grüßen,
René Fuchs
--
***********************************************
aixtema GmbH
René Fuchs
Philipsstr. 8, 52068 Aachen, Germany
Tel.: +49 241 70515-1323, Fax: +49 241 70515-15
mailto:r.fuchs at aixtema.de
WWW: http://www.aixtema.de
Shop: http://shop.aixtema.de
Geschaeftsfuehrer: Oliver Rossbruch
HRB 8201, Amtsgericht Aachen
USt.-Id-Nr. DE 210 906 744
St.-Nr. 201/5942/3737, Finanzamt Aachen Stadt
***********************************************
On Tue, 13 Nov 2018 10:36:08 +0100 admins aixtema via samba <samba at lists.samba.org> wrote:> Hi, > when i try to create a online backup via samba 4.9.2 at gentoo (in my > test envoirment) i get the following errors: > > samba-tool domain backup online --server=localhost > --targetdir=/mnt/backupsamba/ -U AdministratorWhere is '/mnt/backupsamba/' mounted from ? Could it by any chance be a Windows machine ?> Using DS_BIND_GUID_W2K3 > ERROR(runtime): uncaught exception - (3221225495, '{Not Enough Quota} > Not enough virtual memory or paging file quota is available to > complete the specified operation.')That appears to be a Windows error message. Try running the backup to a local directory. Rowland
Hi,
its all local at my linux machine
what i did:
mkdir -p /mnt/backupsamba/
samba-tool domain backup online --server=localhost
--targetdir=/mnt/backupsamba/ -U Administrator
and then got the message
i use bind9 as dns backend, not the internal
File
"/usr/lib64/python2.7/site-packages/samba/netcmd/domain_backup.py",
line
228, in run
dns_backend='SAMBA_INTERNAL', targetdir=tmpdir)
Am 13.11.18 um 10:52 schrieb Rowland Penny via samba:> On Tue, 13 Nov 2018 10:36:08 +0100
> admins aixtema via samba <samba at lists.samba.org> wrote:
>
>> Hi,
>> when i try to create a online backup via samba 4.9.2 at gentoo (in my
>> test envoirment) i get the following errors:
>>
>> samba-tool domain backup online --server=localhost
>> --targetdir=/mnt/backupsamba/ -U Administrator
>
> Where is '/mnt/backupsamba/' mounted from ?
> Could it by any chance be a Windows machine ?
>
>> Using DS_BIND_GUID_W2K3
>> ERROR(runtime): uncaught exception - (3221225495, '{Not Enough
Quota}
>> Not enough virtual memory or paging file quota is available to
>> complete the specified operation.')
>
> That appears to be a Windows error message.
>
> Try running the backup to a local directory.
>
> Rowland
>
>
>
>
Mit freundlichen Grüßen,
René Fuchs
--
***********************************************
aixtema GmbH
René Fuchs
Philipsstr. 8, 52068 Aachen, Germany
Tel.: +49 241 70515-1323, Fax: +49 241 70515-15
mailto:r.fuchs at aixtema.de
WWW: http://www.aixtema.de
Shop: http://shop.aixtema.de
Geschaeftsfuehrer: Oliver Rossbruch
HRB 8201, Amtsgericht Aachen
USt.-Id-Nr. DE 210 906 744
St.-Nr. 201/5942/3737, Finanzamt Aachen Stadt
***********************************************
Hai, First thing i would do is try the real hostname of the server and not localhost. Your ad domain controler hostname is not localhost. I cannt test it yet, im not yet on 4.9.2 with the DC's. But I would try it like this: samba-tool domain backup online --server=$(hostname -s) --targetdir=/mnt/backupsamba/ -U Administrator Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Rowland Penny via samba > Verzonden: dinsdag 13 november 2018 10:52 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Online Backup fails > > On Tue, 13 Nov 2018 10:36:08 +0100 > admins aixtema via samba <samba at lists.samba.org> wrote: > > > Hi, > > when i try to create a online backup via samba 4.9.2 at > gentoo (in my > > test envoirment) i get the following errors: > > > > samba-tool domain backup online --server=localhost > > --targetdir=/mnt/backupsamba/ -U Administrator > > Where is '/mnt/backupsamba/' mounted from ? > Could it by any chance be a Windows machine ? > > > Using DS_BIND_GUID_W2K3 > > ERROR(runtime): uncaught exception - (3221225495, '{Not > Enough Quota} > > Not enough virtual memory or paging file quota is available to > > complete the specified operation.') > > That appears to be a Windows error message. > > Try running the backup to a local directory. > > Rowland > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Hi,
> I think your problem is that '/mnt/backupsamba/' just isn't
big enough.
47G Free
when i dont use localhost its not working:
phoenix /mnt/backupsamba # samba-tool domain backup online
--server=$(hostname -s) --targetdir=/mnt/backupsamba/ -U Administrator
Failed to connect to ldap URL 'ldap://phoenix' - LDAP client internal
error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://phoenix' with backend 'ldap': LDAP
client
internal error: NT_STATUS_CONNECTION_REFUSED
ERROR(ldb): uncaught exception - LDAP client internal error:
NT_STATUS_CONNECTION_REFUSED
File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 177, in _run
return self.run(*args, **kwargs)
File
"/usr/lib64/python2.7/site-packages/samba/netcmd/domain_backup.py",
line
228, in run
dns_backend='SAMBA_INTERNAL', targetdir=tmpdir)
File "/usr/lib64/python2.7/site-packages/samba/join.py", line 1509,
in join_clone
include_secrets=include_secrets)
File "/usr/lib64/python2.7/site-packages/samba/join.py", line 1584,
in __init__
dns_backend=dns_backend)
File "/usr/lib64/python2.7/site-packages/samba/join.py", line 98,
in
__init__
credentials=ctx.creds, lp=ctx.lp)
File "/usr/lib64/python2.7/site-packages/samba/samdb.py", line 64,
in
__init__
options=options)
File "/usr/lib64/python2.7/site-packages/samba/__init__.py", line
115, in __init__
self.connect(url, flags, options)
File "/usr/lib64/python2.7/site-packages/samba/samdb.py", line 79,
in
connect
options=options)
phoenix /mnt/backupsamba # samba-tool domain backup online
--server=phoenix.aixtema.de --targetdir=/mnt/backupsamba/ -U Administrator
Failed to connect to ldap URL 'ldap://phoenix.aixtema.de' - LDAP client
internal error: NT_STATUS_CONNECTION_REFUSED
Failed to connect to 'ldap://phoenix.aixtema.de' with backend
'ldap':
LDAP client internal error: NT_STATUS_CONNECTION_REFUSED
ERROR(ldb): uncaught exception - LDAP client internal error:
NT_STATUS_CONNECTION_REFUSED
File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 177, in _run
return self.run(*args, **kwargs)
File
"/usr/lib64/python2.7/site-packages/samba/netcmd/domain_backup.py",
line
228, in run
dns_backend='SAMBA_INTERNAL', targetdir=tmpdir)
File "/usr/lib64/python2.7/site-packages/samba/join.py", line 1509,
in join_clone
include_secrets=include_secrets)
File "/usr/lib64/python2.7/site-packages/samba/join.py", line 1584,
in __init__
dns_backend=dns_backend)
File "/usr/lib64/python2.7/site-packages/samba/join.py", line 98,
in
__init__
credentials=ctx.creds, lp=ctx.lp)
File "/usr/lib64/python2.7/site-packages/samba/samdb.py", line 64,
in
__init__
options=options)
File "/usr/lib64/python2.7/site-packages/samba/__init__.py", line
115, in __init__
self.connect(url, flags, options)
File "/usr/lib64/python2.7/site-packages/samba/samdb.py", line 79,
in
connect
options=options)
Am 13.11.18 um 11:34 schrieb L.P.H. van Belle via samba:> Hai,
>
> First thing i would do is try the real hostname of the server and not
localhost.
> Your ad domain controler hostname is not localhost.
>
> I cannt test it yet, im not yet on 4.9.2 with the DC's.
>
> But I would try it like this:
>
> samba-tool domain backup online --server=$(hostname -s)
--targetdir=/mnt/backupsamba/ -U Administrator
>
> Greetz,
>
> Louis
>
>
>> -----Oorspronkelijk bericht-----
>> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
>> Rowland Penny via samba
>> Verzonden: dinsdag 13 november 2018 10:52
>> Aan: samba at lists.samba.org
>> Onderwerp: Re: [Samba] Online Backup fails
>>
>> On Tue, 13 Nov 2018 10:36:08 +0100
>> admins aixtema via samba <samba at lists.samba.org> wrote:
>>
>>> Hi,
>>> when i try to create a online backup via samba 4.9.2 at
>> gentoo (in my
>>> test envoirment) i get the following errors:
>>>
>>> samba-tool domain backup online --server=localhost
>>> --targetdir=/mnt/backupsamba/ -U Administrator
>>
>> Where is '/mnt/backupsamba/' mounted from ?
>> Could it by any chance be a Windows machine ?
>>
>>> Using DS_BIND_GUID_W2K3
>>> ERROR(runtime): uncaught exception - (3221225495, '{Not
>> Enough Quota}
>>> Not enough virtual memory or paging file quota is available to
>>> complete the specified operation.')
>>
>> That appears to be a Windows error message.
>>
>> Try running the backup to a local directory.
>>
>> Rowland
>>
>>
>>
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions: https://lists.samba.org/mailman/options/samba
>>
>
>
Mit freundlichen Grüßen,
René Fuchs
--
***********************************************
aixtema GmbH
René Fuchs
Philipsstr. 8, 52068 Aachen, Germany
Tel.: +49 241 70515-1323, Fax: +49 241 70515-15
mailto:r.fuchs at aixtema.de
WWW: http://www.aixtema.de
Shop: http://shop.aixtema.de
Geschaeftsfuehrer: Oliver Rossbruch
HRB 8201, Amtsgericht Aachen
USt.-Id-Nr. DE 210 906 744
St.-Nr. 201/5942/3737, Finanzamt Aachen Stadt
***********************************************
> when i dont use localhost its not working: > > > phoenix /mnt/backupsamba # samba-tool domain backup online > --server=$(hostname -s) --targetdir=/mnt/backupsamba/ -U Administrator > Failed to connect to ldap URL 'ldap://phoenix' - LDAP client internal > error: NT_STATUS_CONNECTION_REFUSED > Failed to connect to 'ldap://phoenix' with backend 'ldap': > LDAP client > internal error: NT_STATUS_CONNECTION_REFUSED > ERROR(ldb): uncaught exception - LDAP client internal error: > NT_STATUS_CONNECTION_REFUSED > FileThis tells us much more then wrongly using localhost. Did you kinit Administrator first before you run the command? What is in /etc/resolv.conf Im expecting something like this. search aixtema.de Nameserver IP_OF_DC And What is in /etc/ldap/ldap.conf ? Im expecting something like this. # Company Base. BASE dc=phoenix,dc=aixtema,dc=de URI ldap://phoenix.aixtema.de #URI ldaps://phoenix.aixtema.de # if you use ldap ssl. TLS_REQCERT allow Any firewall things running? Are you able to telnet to port 389 and/or 636 Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > admins aixtema via samba > Verzonden: dinsdag 13 november 2018 11:46 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Online Backup fails > > Hi, > > > I think your problem is that '/mnt/backupsamba/' just > isn't big enough. > > 47G Free > > when i dont use localhost its not working: > > > phoenix /mnt/backupsamba # samba-tool domain backup online > --server=$(hostname -s) --targetdir=/mnt/backupsamba/ -U Administrator > Failed to connect to ldap URL 'ldap://phoenix' - LDAP client internal > error: NT_STATUS_CONNECTION_REFUSED > Failed to connect to 'ldap://phoenix' with backend 'ldap': > LDAP client > internal error: NT_STATUS_CONNECTION_REFUSED > ERROR(ldb): uncaught exception - LDAP client internal error: > NT_STATUS_CONNECTION_REFUSED > File > "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py", > line 177, in _run > return self.run(*args, **kwargs) > File > "/usr/lib64/python2.7/site-packages/samba/netcmd/domain_backup > .py", line > 228, in run > dns_backend='SAMBA_INTERNAL', targetdir=tmpdir) > File "/usr/lib64/python2.7/site-packages/samba/join.py", > line 1509, > in join_clone > include_secrets=include_secrets) > File "/usr/lib64/python2.7/site-packages/samba/join.py", > line 1584, > in __init__ > dns_backend=dns_backend) > File "/usr/lib64/python2.7/site-packages/samba/join.py", > line 98, in > __init__ > credentials=ctx.creds, lp=ctx.lp) > File "/usr/lib64/python2.7/site-packages/samba/samdb.py", > line 64, in > __init__ > options=options) > File "/usr/lib64/python2.7/site-packages/samba/__init__.py", line > 115, in __init__ > self.connect(url, flags, options) > File "/usr/lib64/python2.7/site-packages/samba/samdb.py", > line 79, in > connect > options=options) > > > phoenix /mnt/backupsamba # samba-tool domain backup online > --server=phoenix.aixtema.de --targetdir=/mnt/backupsamba/ -U > Administrator > Failed to connect to ldap URL 'ldap://phoenix.aixtema.de' - > LDAP client > internal error: NT_STATUS_CONNECTION_REFUSED > Failed to connect to 'ldap://phoenix.aixtema.de' with backend 'ldap': > LDAP client internal error: NT_STATUS_CONNECTION_REFUSED > ERROR(ldb): uncaught exception - LDAP client internal error: > NT_STATUS_CONNECTION_REFUSED > File > "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py", > line 177, in _run > return self.run(*args, **kwargs) > File > "/usr/lib64/python2.7/site-packages/samba/netcmd/domain_backup > .py", line > 228, in run > dns_backend='SAMBA_INTERNAL', targetdir=tmpdir) > File "/usr/lib64/python2.7/site-packages/samba/join.py", > line 1509, > in join_clone > include_secrets=include_secrets) > File "/usr/lib64/python2.7/site-packages/samba/join.py", > line 1584, > in __init__ > dns_backend=dns_backend) > File "/usr/lib64/python2.7/site-packages/samba/join.py", > line 98, in > __init__ > credentials=ctx.creds, lp=ctx.lp) > File "/usr/lib64/python2.7/site-packages/samba/samdb.py", > line 64, in > __init__ > options=options) > File "/usr/lib64/python2.7/site-packages/samba/__init__.py", line > 115, in __init__ > self.connect(url, flags, options) > File "/usr/lib64/python2.7/site-packages/samba/samdb.py", > line 79, in > connect > options=options) > > > > Am 13.11.18 um 11:34 schrieb L.P.H. van Belle via samba: > > Hai, > > > > First thing i would do is try the real hostname of the > server and not localhost. > > Your ad domain controler hostname is not localhost. > > > > I cannt test it yet, im not yet on 4.9.2 with the DC's. > > > > But I would try it like this: > > > > samba-tool domain backup online --server=$(hostname -s) > --targetdir=/mnt/backupsamba/ -U Administrator > > > > Greetz, > > > > Louis > > > > > >> -----Oorspronkelijk bericht----- > >> Van: samba [mailto:samba-bounces at lists.samba.org] Namens > >> Rowland Penny via samba > >> Verzonden: dinsdag 13 november 2018 10:52 > >> Aan: samba at lists.samba.org > >> Onderwerp: Re: [Samba] Online Backup fails > >> > >> On Tue, 13 Nov 2018 10:36:08 +0100 > >> admins aixtema via samba <samba at lists.samba.org> wrote: > >> > >>> Hi, > >>> when i try to create a online backup via samba 4.9.2 at > >> gentoo (in my > >>> test envoirment) i get the following errors: > >>> > >>> samba-tool domain backup online --server=localhost > >>> --targetdir=/mnt/backupsamba/ -U Administrator > >> > >> Where is '/mnt/backupsamba/' mounted from ? > >> Could it by any chance be a Windows machine ? > >> > >>> Using DS_BIND_GUID_W2K3 > >>> ERROR(runtime): uncaught exception - (3221225495, '{Not > >> Enough Quota} > >>> Not enough virtual memory or paging file quota is available to > >>> complete the specified operation.') > >> > >> That appears to be a Windows error message. > >> > >> Try running the backup to a local directory. > >> > >> Rowland > >> > >> > >> > >> > >> -- > >> To unsubscribe from this list go to the following URL and read the > >> instructions: https://lists.samba.org/mailman/options/samba > >> > > > > > > Mit freundlichen Grüßen, > René Fuchs > > > -- > *********************************************** > aixtema GmbH > René Fuchs > Philipsstr. 8, 52068 Aachen, Germany > Tel.: +49 241 70515-1323, Fax: +49 241 70515-15 > mailto:r.fuchs at aixtema.de > > WWW: http://www.aixtema.de > Shop: http://shop.aixtema.de > > Geschaeftsfuehrer: Oliver Rossbruch > HRB 8201, Amtsgericht Aachen > USt.-Id-Nr. DE 210 906 744 > St.-Nr. 201/5942/3737, Finanzamt Aachen Stadt > *********************************************** > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >