On Fri, 2013-05-31 at 14:34 +0200, steve wrote:
> Version 4.0.7-GIT-d4cd828
> openSUSE 12.04 with bind9 installed but not configured.
> 
> Hi
> Attempting to provision with BIND9_DLZ or samba_upgradedns from a
> functioning SAMBA_INTERNAL install produces:
> 
> Creating DomainDnsZones and ForestDnsZones partitions
> Populating DomainDnsZones and ForestDnsZones partitions
> Failed to setup database for BIND, AD based DNS cannot be used
> ERROR(<type 'exceptions.OSError'>): uncaught exception - [Errno 2] No
> such file or directory

>   File
> "/usr/local/samba/lib64/python2.7/site-packages/samba/tdb_util.py", line
> 36, in tdb_copy
>     status = subprocess.call(tdbbackup_cmd, close_fds=True, shell=False)
>   File "/usr/lib64/python2.7/subprocess.py", line 493, in call
>     return Popen(*popenargs, **kwargs).wait()
>   File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__
>     errread, errwrite)
>   File "/usr/lib64/python2.7/subprocess.py", line 1249, in
> _execute_child
>     raise child_exception
> 
> Same with 4.0.6 on the same box. What have I done wrong?
> Thanks

What has happened here is that your OS has the right version of libtdb,
but hasn't supplied the tdb tools - tdbbackup in this case, which we use
to prepare the databases for the DNS server.  Find the OS package for
that, and install it.

I hope this helps,

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to