Samba4 AD DC Domain Provision Problem

Hey Forum,
this is my first post, I hope I’m in the right section https://www.opensuse-forum.de/wcf/images/smilies/grin.png

I tried to install a Samba4 AD DC with 42.1.
Im coming as far as I need to do the “Domain Provision”. When I try to do “$ samba-tool domain provision”, I got the following errors:


samba-tool domain provision
Realm: CAT.NET
Domain [CAT]: CAT
Server Role (dc, member, standalone) [dc]:
DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE) [SAMBA_INTERNAL]:
DNS forwarder IP address (write ‘none’ to disable forwarding) [192.168.1.1]:
Administrator password:
Retype password:
Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
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
Adding DomainDN: DC=cat,DC=net
Adding configuration container
Setting up sam.ldb schema
Setting up sam.ldb configuration data
Setting up display specifiers
Modifying display specifiers
Adding users container
Modifying users container
Adding computers container
Modifying computers container
Setting up sam.ldb data
Setting up well known security principals
Setting up sam.ldb users and groups
Setting up self join
ldb: module partition initialization failed : Operations error
ldb: module show_deleted initialization failed : Operations error
ldb: module dns_notify initialization failed : Operations error
ldb: module extended_dn_out_ldb initialization failed : Operations error
ldb: module linked_attributes initialization failed : Operations error
ldb: module operational initialization failed : Operations error
ldb: module repl_meta_data initialization failed : Operations error
ldb: module subtree_delete initialization failed : Operations error
ldb: module aclread initialization failed : Operations error
ldb: module acl initialization failed : Operations error
ldb: module descriptor initialization failed : Operations error
ldb: module objectclass initialization failed : Operations error
ldb: module asq initialization failed : Operations error
ldb: module server_sort initialization failed : Operations error
ldb: module vlv initialization failed : Operations error
ldb: module paged_results initialization failed : Operations error
ldb: module dirsync initialization failed : Operations error
ldb: module schema_load initialization failed : Operations error
ldb: module dsdb_notification initialization failed : Operations error
ldb: module rootdse initialization failed : Operations error
ldb: module samba_dsdb initialization failed : Operations error
ldb: Unable to load modules for /var/lib/samba/private//sam.ldb: partition_metadata: Migrating partition metadata: create of metadata.tdb gave: partition_metadata: Unable to create /var/lib/samba/private//sam.ldb.d/metadata.tdb: Device or resource busy
samdb_connect failed
VFS connect failed!
ERROR(runtime): uncaught exception - (-1073741823, ‘Undetermined error’)
File “/lib64/python2.7/site-packages/samba/netcmd/init.py”, line 176, in _run
return self.run(*args, **kwargs)
File “/lib64/python2.7/site-packages/samba/netcmd/domain.py”, line 461, in run
nosync=ldap_backend_nosync, ldap_dryrun_mode=ldap_dryrun_mode)
File “/lib64/python2.7/site-packages/samba/provision/init.py”, line 2175, in provision
skip_sysvolacl=skip_sysvolacl)
File “/lib64/python2.7/site-packages/samba/provision/init.py”, line 1806, in provision_fill
names.domaindn, lp, use_ntvfs)
File “/lib64/python2.7/site-packages/samba/provision/init.py”, line 1539, in setsysvolacl
smbd.set_simple_acl(file.name, 0755, gid)


I literally found nothing for this Error, and I hope someone here can help.

regards,
Felix

Better read the Answers in the other Forum.

PS
Asking in the 6th Forum.

You know that this is the only english forum I posted in? How is anybody from another Country supposed to help if they can’t understand my question…

PS
There is not only Germans in the world, and the most people working with Linux speak english if thats news for you :slight_smile:

@Sauerland.
Can you please explain a bit more. Should the answers in the other forums (which you apparently have read) be enough to close the OP’s case?

Sauerland is the only one who spammed under every post in every Forum like he has nothing else to do. But he didn’t answered anything productiv, just that I shoudnt multipost, which was clear after his first one.
In one forum I got answers, but they were not helpful because the guy answering has no idea what he’s talking about.
https://www.opensuse-forum.de/thread/37190-samba4-domain-provision-device-or-resource-busy/?pageNo=1

That is not the impression we have of him here.

Please take care to read our Terms & Conditions and keep to them: https://forums.opensuse.org/faq.php?faq=novfor#faq_novellgen