Web lists-archives.com

Re: [Samba] CTDB upgrade to SAMBA 4.8.3

I'm sorry you're right:

my "local" smb.conf on each client:

 clustering = yes
 include =registry

net conf list (output registry):

        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

        path = /cephfuse/samba/homedir/
        read only = no

        path = /cephfuse/samba/profiles
        read only = no
        browseable = no

        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@xxxxxxxxxxxxxxx> wrote:


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   OK (THIS NODE)
pnn:1   OK
pnn:2   OK
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

root@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)
   #1 /usr/local/samba/lib/libsamba-util.so.0(+0x2236a)
#2 /usr/local/samba/lib/libsamba-util.so.0(log_stack_trace+0)
[0x7fe42f8445bc] #3
   #4 /usr/local/samba/lib/libsmbconf.so.0(db_open+0x2a6)
#5 /usr/local/samba/lib/libsmbconf.so.0(regdb_init+0xdd)
#6 /usr/local/samba/lib/libsmbconf.so.0(registry_init_common+0xd)
#7 /usr/local/samba/lib/libsmbconf.so.0(registry_init_smbconf+0xd0)
[0x7fe42fd18294] #8 /usr/local/samba/lib/libsmbconf.so.0(+0x6ac0d)
#9 /usr/local/samba/lib/libsmbconf.so.0(smbconf_init_internal+0x81)
#10 /usr/local/samba/lib/libsmbconf.so.0(smbconf_init_reg+0x2f)
#11 /usr/local/samba/lib/libsmbconf.so.0(smbconf_init+0x116)
[0x7fe42fd159e4] #12 /usr/local/samba/lib/libsmbconf.so.0(+0x36b11)
#13 /usr/local/samba/lib/libsmbconf.so.0(process_registry_service+0x29)
[0x7fe42fce2d1c] #14 /usr/local/samba/lib/libsmbconf.so.0(+0x36f0d)
#15 /usr/local/samba/lib/libsmbconf.so.0(lp_include+0xdc)
#16 /usr/local/samba/lib/libsamba-hostconfig.so.0(handle_include+0x43)
#17 /usr/local/samba/lib/libsamba-hostconfig.so.0(+0x19816)
#18 /usr/local/samba/lib/libsamba-hostconfig.so.0(lpcfg_do_global_parameter+0x1d7)
[0x7fe42e7e3bcd] #19 /usr/local/samba/lib/libsmbconf.so.0(+0x383e3)
#20 /usr/local/samba/lib/libsamba-util.so.0(+0x3013e)
#21 /usr/local/samba/lib/libsamba-util.so.0(tini_parse+0xcf)
#22 /usr/local/samba/lib/libsamba-util.so.0(pm_process+0x5d)
[0x7fe42f84a386] #23 /usr/local/samba/lib/libsmbconf.so.0(+0x3b980)
#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)
   #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!


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 ?

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