samba_upgradedns - error
Amitay Isaacs
amitay at gmail.com
Mon Apr 2 23:47:19 MDT 2012
On Tue, Apr 3, 2012 at 2:23 PM, Suresh Kumar
<sureshkumar at pineapple-india.com> wrote:
> Dear Amitay,
>
> I have
>
>
> Hi,
>
> I have git clone Version 4.0.0alpha19-GIT-081875d and git pull the latest update. Ihave successfully joined domain and when i run samba_upgradedns i get the following error:
>
> [root at stgdc samba-master]# samba_upgradedns -d5
> INFO: Current debug levels:
> all: 5
> tdb: 5
> printdrivers: 5
> lanman: 5
> smb: 5
> rpc_parse: 5
> rpc_srv: 5
> rpc_cli: 5
> passdb: 5
> sam: 5
> auth: 5
> winbind: 5
> vfs: 5
> idmap: 5
> quota: 5
> acls: 5
> locking: 5
> msdfs: 5
> dmapi: 5
> registry: 5
> lpcfg_load: refreshing parameters from /usr/local/samba/etc/smb.conf
> params.c:pm_process() - Processing configuration file "/usr/local/samba/etc/smb.conf"
> Processing section "[global]"
> Processing section "[netlogon]"
> Processing section "[sysvol]"
> pm_process() returned Yes
> lpcfg_load: refreshing parameters from /usr/local/samba/etc/smb.conf
> params.c:pm_process() - Processing configuration file "/usr/local/samba/etc/smb.conf"
> Processing section "[global]"
> Processing section "[netlogon]"
> Processing section "[sysvol]"
> pm_process() returned Yes
> Reading domain information
> lpcfg_load: refreshing parameters from /usr/local/samba/etc/smb.conf
> params.c:pm_process() - Processing configuration file "/usr/local/samba/etc/smb.conf"
> Processing section "[global]"
> Processing section "[netlogon]"
> Processing section "[sysvol]"
> pm_process() returned Yes
> schema_fsmo_init: we are master[yes] updates allowed[no]
> Looking up IPv4 addresses
> added interface eth0 ip=fe80::a0c5:d5ff:fe2a:eb57%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
> added interface eth0 ip=192.168.16.27 bcast=192.168.16.255 netmask=255.255.255.0
> Looking up IPv6 addresses
> added interface eth0 ip=fe80::a0c5:d5ff:fe2a:eb57%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
> added interface eth0 ip=192.168.16.27 bcast=192.168.16.255 netmask=255.255.255.0
> DNS accounts already exist
> No zone file /usr/local/samba/private/dns/whbs.com.zone
> DNS records will be automatically created
> DNS partitions already exist
> Traceback (most recent call last):
> File "/usr/local/samba/sbin/samba_upgradedns", line 406, in <module>
> "msDS-hasMasterNCs")
> _ldb.LdbError: (1, 'Operations error')
Hi Suresh,
I cannot find the git version you have reported. Can you paste the
output of git describe?
>From the samba_upgradedns log it appears that the second DC already
has DNS partitions. Why are you running samba_upgradedns? Are you
planning to run a backup dns server?
Amitay.
More information about the samba-technical
mailing list