Fw: samba_upgradedns - error

Michael Wood esiotrot at gmail.com
Tue Apr 3 06:05:24 MDT 2012


Hi Suresh

On 3 April 2012 13:49, Suresh Kumar <sureshkumar at pineapple-india.com> wrote:
> Dear Amitay,
>
> Pls find the verison samba-4.0.0alpha18-670-g081875d, and i want to run as

It seems you might have some locally patched version of Samba?

Try this:

git log master ^origin/master

That should show any commits in your local tree that are not in the
official Samba tree.

If that shows nothing, then try:

git remote -v

That should show what remote repositories are defined which might give
us a clue :)

> backup dns server and the dns folder not created,
> I hope once if run this samba_upgradedns command then only the folders will
> be created?
>
> regards
> Suresh
>
>
>>> ----- Original Message ----- From: "Amitay Isaacs" <amitay at gmail.com>
>>> To: "Suresh Kumar" <sureshkumar at pineapple-india.com>
>>> Cc: <samba-technical at lists.samba.org>
>>> Sent: Tuesday, April 03, 2012 11:17 AM
>>> Subject: Re: samba_upgradedns - error
>>>
>>>
>>>
>>> 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.

-- 
Michael Wood <esiotrot at gmail.com>


More information about the samba-technical mailing list