Web lists-archives.com

Re: [Samba] samba 4.7->4.8 in place upgrade




On 3/23/2018 8:50 AM, Sven Vogel via samba wrote:
Hi,

i have the same problem. Inplace upgrade and i get the following
error.

Mar 23 13:46:50 orion2 systemd[1]: Started Session 30346 of user root.
Mar 23 13:46:50 orion2 systemd-logind[1316]: Removed session 30346.
Mar 23 13:46:50 orion2 sernet-samba-ad[7358]: Shutting down SAMBA AD
services : ..done
Mar 23 13:46:50 orion2 systemd[1]: Stopped LSB: initscript for the
SAMBA AD services.
Mar 23 13:46:50 orion2 systemd[1]: Starting LSB: initscript for the
SAMBA AD services...
Mar 23 13:46:50 orion2 samba[7463]: [2018/03/23 13:46:50.475167,  0]
../source4/smbd/server.c:466(binary_smbd_main)
Mar 23 13:46:50 orion2 samba[7463]:   samba version
4.8.0-SerNet-SuSE-4.suse132 started.
Mar 23 13:46:50 orion2 samba[7463]:   Copyright Andrew Tridgell and
the Samba Team 1992-2018
Mar 23 13:46:50 orion2 sernet-samba-ad[7446]: Starting SAMBA AD
services : ..done
Mar 23 13:46:50 orion2 systemd[1]: Started LSB: initscript for the
SAMBA AD services.
Mar 23 13:46:50 orion2 samba[7464]: [2018/03/23 13:46:50.638072,  0]
../source4/smbd/server.c:638(binary_smbd_main)
Mar 23 13:46:50 orion2 samba[7464]:   binary_smbd_main: samba: using
'standard' process model
Mar 23 13:46:50 orion2 samba[7469]: [2018/03/23 13:46:50.646061,  0]
../source4/dsdb/common/util.c:1755(samdb_reference_dn_is_our_ntdsa)
Mar 23 13:46:50 orion2 samba[7469]:   Failed to find object
DC=example,DC=local for attribute fsmoRoleOwner - Cannot find DN
DC=example,DC=local to get attribute fsmoRoleOwner for reference dn:
No such Base DN: DC=example,DC=local
Mar 23 13:46:50 orion2 samba[7474]: [2018/03/23 13:46:50.653925,  0]
../source4/smbd/service_task.c:36(task_server_terminate)
Mar 23 13:46:50 orion2 samba[7474]:   task_server_terminate:
task_server_terminate: [kdc: krb5_init_context samdb RODC connect
failed]
Mar 23 13:46:50 orion2 samba[7464]: [2018/03/23 13:46:50.656430,  0]
../lib/util/become_daemon.c:138(daemon_ready)
Mar 23 13:46:50 orion2 samba[7464]:   daemon_ready: STATUS=daemon
'samba' finished starting up and ready to serve connections
Mar 23 13:46:50 orion2 samba[7475]: [2018/03/23 13:46:50.660859,  0]
../source4/smbd/service_task.c:36(task_server_terminate)
Mar 23 13:46:50 orion2 samba[7475]:   task_server_terminate:
task_server_terminate: [dreplsrv: Failed to connect to local samdb:
WERR_DS_UNAVAILABLE
Mar 23 13:46:50 orion2 samba[7475]:   ]
Mar 23 13:46:50 orion2 samba[7478]: [2018/03/23 13:46:50.666482,  0]
../source4/smbd/service_task.c:36(task_server_terminate)
Mar 23 13:46:50 orion2 samba[7478]:   task_server_terminate:
task_server_terminate: [kccsrv: Failed to connect to local samdb:
WERR_DS_UNAVAILABLE
Mar 23 13:46:50 orion2 samba[7478]:   ]
Mar 23 13:46:50 orion2 winbindd[7485]: [2018/03/23 13:46:50.798879,
0]
../source3/winbindd/winbindd_cache.c:3160(initialize_winbindd_cache)
Mar 23 13:46:50 orion2 winbindd[7485]:   initialize_winbindd_cache:
clearing cache and re-creating with version number 2
Mar 23 13:46:50 orion2 samba[7479]: [2018/03/23 13:46:50.798737,  0]
../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Mar 23 13:46:50 orion2 samba[7479]:   /usr/sbin/samba_spnupdate:
Unable to determine the DomainSID, can not enforce uniqueness
constraint on local domainSIDs
Mar 23 13:46:50 orion2 samba[7479]: [2018/03/23 13:46:50.799042,  0]
../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Mar 23 13:46:50 orion2 samba[7479]:   /usr/sbin/samba_spnupdate:
Mar 23 13:46:50 orion2 samba[7479]: [2018/03/23 13:46:50.832599,  0]
../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Mar 23 13:46:50 orion2 samba[7479]:   /usr/sbin/samba_dnsupdate:
Unable to determine the DomainSID, can not enforce uniqueness
constraint on local domainSIDs
Mar 23 13:46:50 orion2 samba[7479]: [2018/03/23 13:46:50.832791,  0]
../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Mar 23 13:46:50 orion2 samba[7479]:   /usr/sbin/samba_dnsupdate:
Mar 23 13:46:50 orion2 smbd[7470]: [2018/03/23 13:46:50.889188,  0]
../source3/passdb/pdb_interface.c:180(make_pdb_method_name)
Mar 23 13:46:50 orion2 smbd[7470]:   pdb backend samba_dsdb did not
correctly init (error was NT_STATUS_UNSUCCESSFUL)
Mar 23 13:46:50 orion2 samba[7466]: [2018/03/23 13:46:50.897189,  0]
../file_server/file_server.c:46(file_server_smbd_done)
Mar 23 13:46:50 orion2 samba[7466]:   file_server smbd daemon died
with exit status 1
Mar 23 13:46:50 orion2 samba[7466]: [2018/03/23 13:46:50.897437,  0]
../source4/smbd/service_task.c:36(task_server_terminate)
Mar 23 13:46:50 orion2 samba[7466]:   task_server_terminate:
task_server_terminate: [smbd child process exited]
Mar 23 13:46:50 orion2 samba[7479]: [2018/03/23 13:46:50.960305,  0]
../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Mar 23 13:46:50 orion2 samba[7479]:   /usr/sbin/samba_spnupdate:
Traceback (most recent call last):
Mar 23 13:46:50 orion2 samba[7479]: [2018/03/23 13:46:50.961364,  0]
../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Mar 23 13:46:50 orion2 samba[7479]:   /usr/sbin/samba_spnupdate:
  File "/usr/sbin/samba_spnupdate", line 115, in
Mar 23 13:46:50 orion2 samba[7479]: [2018/03/23 13:46:50.962161,  0]
../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Mar 23 13:46:50 orion2 samba[7479]:   /usr/sbin/samba_spnupdate:
    sub_vars = get_subst_vars(samdb)
Mar 23 13:46:50 orion2 samba[7479]: [2018/03/23 13:46:50.962840,  0]
../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Mar 23 13:46:50 orion2 samba[7479]:   /usr/sbin/samba_spnupdate:
  File "/usr/sbin/samba_spnupdate", line 76, in get_subst_vars
Mar 23 13:46:50 orion2 samba[7479]: [2018/03/23 13:46:50.963546,  0]
../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Mar 23 13:46:50 orion2 samba[7479]:   /usr/sbin/samba_spnupdate:
    vars['HOSTNAME']  = samdb.host_dns_name()
Mar 23 13:46:50 orion2 samba[7479]: [2018/03/23 13:46:50.964231,  0]
../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Mar 23 13:46:50 orion2 samba[7479]:   /usr/sbin/samba_spnupdate:
  File "/usr/lib64/python2.7/site-packages/samba/samdb.py", line 653,
in host_dns_name
Mar 23 13:46:50 orion2 samba[7479]: [2018/03/23 13:46:50.965006,  0]
../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Mar 23 13:46:50 orion2 samba[7479]:   /usr/sbin/samba_spnupdate:
    return res[0]['dNSHostName'][0]
Mar 23 13:46:50 orion2 samba[7479]: [2018/03/23 13:46:50.965793,  0]
../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Mar 23 13:46:50 orion2 samba[7479]:   /usr/sbin/samba_spnupdate:
KeyError: 'No such element'
Mar 23 13:46:50 orion2 winbindd[7485]: [2018/03/23 13:46:50.972425,
0] ../source3/passdb/pdb_interface.c:180(make_pdb_method_name)
Mar 23 13:46:50 orion2 winbindd[7485]:   pdb backend samba_dsdb did
not correctly init (error was NT_STATUS_UNSUCCESSFUL)
Mar 23 13:46:50 orion2 winbindd[7485]: [2018/03/23 13:46:50.972573,
0] ../source3/lib/util.c:815(smb_panic_s3)
Mar 23 13:46:50 orion2 winbindd[7485]:   PANIC (pid 7485):
pdb_get_methods: failed to get pdb methods for backend samba_dsdb
Mar 23 13:46:50 orion2 winbindd[7485]:
Mar 23 13:46:50 orion2 winbindd[7485]: [2018/03/23 13:46:50.973201,
0] ../source3/lib/util.c:926(log_stack_trace)
Mar 23 13:46:50 orion2 winbindd[7485]:   BACKTRACE: 9 stack frames:
Mar 23 13:46:50 orion2 winbindd[7485]:    #0
/usr/lib64/samba/libsmbconf.so.0(log_stack_trace+0x1a)
[0x7fb3b13ec7b7]
Mar 23 13:46:50 orion2 winbindd[7485]:    #1
/usr/lib64/samba/libsmbconf.so.0(smb_panic_s3+0x55) [0x7fb3b13ec8b5]
Mar 23 13:46:50 orion2 winbindd[7485]:    #2
/usr/lib64/samba/libsamba-util.so.0(smb_panic+0x2d) [0x7fb3b4f865d6]
Mar 23 13:46:50 orion2 winbindd[7485]:    #3
/usr/lib64/samba/libsamba-passdb.so.0(+0x3f7fc) [0x7fb3b5a4c7fc]
Mar 23 13:46:50 orion2 winbindd[7485]:    #4
/usr/lib64/samba/libsamba-passdb.so.0(pdb_get_domain_info+0x9)
[0x7fb3b5a4c816]
Mar 23 13:46:50 orion2 winbindd[7485]:    #5
/usr/sbin/winbindd(init_domain_list+0x1f2) [0x55da4369dc33]
Mar 23 13:46:50 orion2 winbindd[7485]:    #6
/usr/sbin/winbindd(main+0xd05) [0x55da4369bcbc]
Mar 23 13:46:50 orion2 winbindd[7485]:    #7
/lib64/libc.so.6(__libc_start_main+0xf5) [0x7fb3ae4976d5]
Mar 23 13:46:50 orion2 winbindd[7485]:    #8
/usr/sbin/winbindd(+0x28929) [0x55da43696929]
Mar 23 13:46:50 orion2 winbindd[7485]: [2018/03/23 13:46:50.973369,
0] ../source3/lib/dumpcore.c:318(dump_core)
Mar 23 13:46:50 orion2 winbindd[7485]:   coredump is handled by
helper binary specified at /proc/sys/kernel/core_pattern
Mar 23 13:46:50 orion2 samba[7479]: [2018/03/23 13:46:50.985585,  0]
../source4/dsdb/dns/dns_update.c:353(dnsupdate_spnupdate_done)
Mar 23 13:46:50 orion2 samba[7479]:
  ../source4/dsdb/dns/dns_update.c:353: Failed SPN update - with error
code 1
Mar 23 13:46:51 orion2 samba[7479]: [2018/03/23 13:46:51.001995,  0]
../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Mar 23 13:46:51 orion2 samba[7479]:   /usr/sbin/samba_dnsupdate:
Traceback (most recent call last):
Mar 23 13:46:51 orion2 samba[7479]: [2018/03/23 13:46:51.002098,  0]
../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Mar 23 13:46:51 orion2 samba[7479]:   /usr/sbin/samba_dnsupdate:
  File "/usr/sbin/samba_dnsupdate", line 747, in
Mar 23 13:46:51 orion2 samba[7479]: [2018/03/23 13:46:51.002142,  0]
../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Mar 23 13:46:51 orion2 samba[7479]:   /usr/sbin/samba_dnsupdate:
    sub_vars = get_subst_vars(samdb)
Mar 23 13:46:51 orion2 samba[7479]: [2018/03/23 13:46:51.002174,  0]
../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Mar 23 13:46:51 orion2 samba[7479]:   /usr/sbin/samba_dnsupdate:
  File "/usr/sbin/samba_dnsupdate", line 369, in get_subst_vars
Mar 23 13:46:51 orion2 samba[7479]: [2018/03/23 13:46:51.002209,  0]
../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Mar 23 13:46:51 orion2 samba[7479]:   /usr/sbin/samba_dnsupdate:
    vars['HOSTNAME']  = samdb.host_dns_name()
Mar 23 13:46:51 orion2 samba[7479]: [2018/03/23 13:46:51.002241,  0]
../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Mar 23 13:46:51 orion2 samba[7479]:   /usr/sbin/samba_dnsupdate:
  File "/usr/lib64/python2.7/site-packages/samba/samdb.py", line 653,
in host_dns_name
Mar 23 13:46:51 orion2 samba[7479]: [2018/03/23 13:46:51.005505,  0]
../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Mar 23 13:46:51 orion2 samba[7479]:   /usr/sbin/samba_dnsupdate:
    return res[0]['dNSHostName'][0]
Mar 23 13:46:51 orion2 samba[7479]: [2018/03/23 13:46:51.005594,  0]
../lib/util/util_runcmd.c:327(samba_runcmd_io_handler)
Mar 23 13:46:51 orion2 samba[7479]:   /usr/sbin/samba_dnsupdate:
KeyError: 'No such element'
Mar 23 13:46:51 orion2 samba[7479]: [2018/03/23 13:46:51.016406,  0]
../source4/dsdb/dns/dns_update.c:330(dnsupdate_nameupdate_done)
Mar 23 13:46:51 orion2 samba[7479]:
  ../source4/dsdb/dns/dns_update.c:330: Failed DNS update - with error
code 1
Mar 23 13:46:51 orion2 samba[7476]: [2018/03/23 13:46:51.055225,  0]
../source4/winbind/winbindd.c:47(winbindd_done)
Mar 23 13:46:51 orion2 samba[7476]:   winbindd daemon died with exit
status 6
Mar 23 13:46:51 orion2 samba[7476]: [2018/03/23 13:46:51.055464,  0]
../source4/smbd/service_task.c:36(task_server_terminate)
Mar 23 13:46:51 orion2 samba[7476]:   task_server_terminate:
task_server_terminate: [winbindd child process exited]
Mar 23 13:47:05 orion2 systemd-coredump[7487]: Process 7485 (winbindd)
of user 0 dumped core.


there are any help for that what could be the problem? from Version
4.7.6-SerNet-SuSE-11.suse132 -> 4.8

thanks

Sven



Andrew in another topic discussed the issue. See below.

"This is the failed re-index thing we had brought up by a number of
other posters late last week.  I'll be working on that today.

Run the sambaundoguidindex script and stay with 4.7 for now until I can
fix it.  A patch for (what I think is) the core issue is in master, I
just need to make the re-index also bulletproof.

Sadly we allow a transaction with a partial re-index to succeed where
we need to actually ensure if that if index operations fail (ever) that
we prevent transactions from being committed.

Andrew Bartlett"


--
--
James


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