[Samba] CTDB upgrade to SAMBA 4.8.3
Micha Ballmann
ballmann at uni-landau.de
Thu Jun 28 08:42:47 UTC 2018
I'm sorry you're right:
my "local" smb.conf on each client:
[global]
clustering = yes
include =registry
net conf list (output registry):
[global]
security = ads
netbios name = sambacluster
realm = DOMAINNAME.de
workgroup = DOMAINNAME
idmap config *:backend = tdb
idmap config *:range = 3000-7999
idmap config domainname:backend = ad
idmap config domainname:range = 10000-999999
idmap config domainname:schema_mode = rfc2307
idmap config domainname: unix_nss_info = no
domain master = no
local master = no
preferred master = no
os level = 0
restrict anonymous = 2
winbind cache time = 10
winbind enum groups = yes
winbind enum users = yes
winbind use default domain = yes
map acl inherit = yes
store dos attributes = yes
vfs objects = acl_xattr
username map = /usr/local/samba/private/user.map
[home]
path = /cephfuse/samba/homedir/
read only = no
[profiles]
path = /cephfuse/samba/profiles
read only = no
browseable = no
[chickenwings]
path = /cephfuse/samba/chickenwings
read only = no
browseable = no
Am 28.06.2018 um 10:37 schrieb Rowland Penny via samba:
> On Thu, 28 Jun 2018 10:30:07 +0200
> Micha Ballmann via samba <samba at lists.samba.org> wrote:
>
>> Hello,
>>
>> i upgraded my ctdb cluster (3 nodes) from samba 4.7.7 to 4.8.3.
>> Followed the steps under "policy" in this wikipage
>> https://wiki.samba.org/index.php/Upgrading_a_CTDB_cluster. I shutdown
>> all CTDB nodes and upgraded them. After the upgrade i started all
>> nodes and ctdb status shows:
>>
>> Number of nodes:3
>> pnn:0 192.168.199.52 OK (THIS NODE)
>> pnn:1 192.168.199.53 OK
>> pnn:2 192.168.199.49 OK
>> Generation:1484961991
>> Size:3
>> hash:0 lmaster:0
>> hash:1 lmaster:1
>> hash:2 lmaster:2
>> Recovery mode:NORMAL (0)
>> Recovery master:0
>>
>> Now i have the problem that "testparm" outputs, for me not readable
>> informations:
>>
>> root at ctdb1:~/ctdb# testparm
>> Load smb config files from /usr/local/samba/etc/smb.conf
>> rlimit_max: increasing rlimit_max (1024) to minimum Windows limit
>> (16384) smb_panic_default: PANIC (pid 2490): messaging not initialized
>>
>> BACKTRACE: 28 stack frames:
>> #0 /usr/local/samba/lib/libsamba-util.so.0(log_stack_trace+0x1f)
>> [0x7fe42f8445db]
>> #1 /usr/local/samba/lib/libsamba-util.so.0(+0x2236a)
>> [0x7fe42f84436a]
>> #2 /usr/local/samba/lib/libsamba-util.so.0(log_stack_trace+0)
>> [0x7fe42f8445bc] #3
>> /usr/local/samba/lib/private/libsamba-cluster-support-samba4.so(messaging_ctdb_connection+0x1f)
>> [0x7fe42c5a211c]
>> #4 /usr/local/samba/lib/libsmbconf.so.0(db_open+0x2a6)
>> [0x7fe42fcf7752]
>> #5 /usr/local/samba/lib/libsmbconf.so.0(regdb_init+0xdd)
>> [0x7fe42fcd2fb2]
>> #6 /usr/local/samba/lib/libsmbconf.so.0(registry_init_common+0xd)
>> [0x7fe42fcd7937]
>> #7 /usr/local/samba/lib/libsmbconf.so.0(registry_init_smbconf+0xd0)
>> [0x7fe42fd18294] #8 /usr/local/samba/lib/libsmbconf.so.0(+0x6ac0d)
>> [0x7fe42fd16c0d]
>> #9 /usr/local/samba/lib/libsmbconf.so.0(smbconf_init_internal+0x81)
>> [0x7fe42fd1a7e6]
>> #10 /usr/local/samba/lib/libsmbconf.so.0(smbconf_init_reg+0x2f)
>> [0x7fe42fd179c9]
>> #11 /usr/local/samba/lib/libsmbconf.so.0(smbconf_init+0x116)
>> [0x7fe42fd159e4] #12 /usr/local/samba/lib/libsmbconf.so.0(+0x36b11)
>> [0x7fe42fce2b11]
>> #13 /usr/local/samba/lib/libsmbconf.so.0(process_registry_service+0x29)
>> [0x7fe42fce2d1c] #14 /usr/local/samba/lib/libsmbconf.so.0(+0x36f0d)
>> [0x7fe42fce2f0d]
>> #15 /usr/local/samba/lib/libsmbconf.so.0(lp_include+0xdc)
>> [0x7fe42fce35de]
>> #16 /usr/local/samba/lib/libsamba-hostconfig.so.0(handle_include+0x43)
>> [0x7fe42e7e1fda]
>> #17 /usr/local/samba/lib/libsamba-hostconfig.so.0(+0x19816)
>> [0x7fe42e7e3816]
>> #18 /usr/local/samba/lib/libsamba-hostconfig.so.0(lpcfg_do_global_parameter+0x1d7)
>> [0x7fe42e7e3bcd] #19 /usr/local/samba/lib/libsmbconf.so.0(+0x383e3)
>> [0x7fe42fce43e3]
>> #20 /usr/local/samba/lib/libsamba-util.so.0(+0x3013e)
>> [0x7fe42f85213e]
>> #21 /usr/local/samba/lib/libsamba-util.so.0(tini_parse+0xcf)
>> [0x7fe42f85220f]
>> #22 /usr/local/samba/lib/libsamba-util.so.0(pm_process+0x5d)
>> [0x7fe42f84a386] #23 /usr/local/samba/lib/libsmbconf.so.0(+0x3b980)
>> [0x7fe42fce7980]
>> #24 /usr/local/samba/lib/libsmbconf.so.0(lp_load_with_registry_shares+0x39)
>> [0x7fe42fce7f27] #25 testparm(main+0x3b3) [0x55efefd3c201]
>> #26 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7)
>> [0x7fe42ec22b97]
>> #27 testparm(_start+0x2a) [0x55efefd3a7aa]
>> Abgebrochen (Speicherabzug geschrieben)
>>
>> But im able to add new parameters like "net conf import smb.reg" and
>> "net conf list" shows me the right output.
>>
>> BY THE WAY, THE CLUSTER IS WORKING! How can i fix the testparm issue
>> or what did i wrong?
>>
>> Thanks again!
>>
>> Micha
>>
>>
> I haven't a clue about CTDB, but the problem possibly seems to be with
> 'testparm' which reads smb.conf and this is panicking. So don't you
> think it might have been a good idea to post the smb.conf, just in
> case you have made an obvious error ?
>
> Rowland
>
More information about the samba
mailing list