From owner-freebsd-gnome@FreeBSD.ORG Tue Dec 15 07:58:19 2009 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4783110656A5; Tue, 15 Dec 2009 07:58:19 +0000 (UTC) (envelope-from vova@parallels.com) Received: from relay.sw.ru (mailhub.sw.ru [195.214.232.25]) by mx1.freebsd.org (Postfix) with ESMTP id C278C8FC12; Tue, 15 Dec 2009 07:58:14 +0000 (UTC) Received: from vbook.fbsd.ru ([10.30.1.111]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id nBF7wAoK014349 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Dec 2009 10:58:11 +0300 (MSK) Received: from vova by vbook.fbsd.ru with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NKSIM-000BXO-2g; Tue, 15 Dec 2009 10:58:10 +0300 From: Vladimir Grebenschikov To: Jerry In-Reply-To: <20091214134820.1993924e@scorpio.seibercom.net> References: <20091214060341.0954426c@scorpio.seibercom.net> <1260791543.2072.25.camel@localhost> <20091214072129.16b5a5e4@scorpio.seibercom.net> <1260800675.38802.3.camel@localhost> <20091214134820.1993924e@scorpio.seibercom.net> Content-Type: multipart/mixed; boundary="=-jOdw2/9MHtYQhoYUsJIM" Date: Tue, 15 Dec 2009 10:58:09 +0300 Message-ID: <1260863889.2091.84.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: timur@freebsd.org, freebsd-gnome@freebsd.org Subject: Re: thanks for nothing on the Samba 4 upgrade X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2009 07:58:19 -0000 --=-jOdw2/9MHtYQhoYUsJIM Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: quoted-printable Hi=20 Yes, I've build and install it through ports system. See log attached. There are some compile warnings, but they do not suspicious for me. I am starting samba with usual start up script: # service samba4 forcestart = Starting samba4. samba version 4.0.0alpha8 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 # ps ax | fgrep samba 23743 ?? Ss 0:00.01 /usr/local/sbin/samba4 --daemon --configfile=3D/u= sr/local/etc/smb.conf 23744 ?? S 0:00.00 samba4: task[smbsrv] (samba4) 23745 ?? S 0:00.00 samba4: task[dcesrv] (samba4) 23746 ?? S 0:00.01 samba4: task[nbtd] (samba4) 23747 ?? S 0:00.00 samba4: task wrepl server_id[23747] (samba4) 23753 ?? S 0:00.00 samba4: task[ntp_signd] (samba4) # /usr/local/share/samba4/setup/provision --realm myrealm --domain=3Dvbook = --adminpass=3Dpassword --server-role=3D'standalone' --setupdir=3D/usr/local= /share/samba4/setup Setting up secrets.ldb Setting up the registry Setting up templates db Setting up idmap db schema_fsmo_init: no schema head present: (skip schema loading) naming_fsmo_init: no partitions dn present: (skip loading of naming context= s details) pdc_fsmo_init: no domain object present: (skip loading of domain details) schema_fsmo_init: no schema dn present: (skip schema loading) naming_fsmo_init: no partitions dn present: (skip loading of naming context= s details) pdc_fsmo_init: no domain dn present: (skip loading of domain details) Setting up sam.ldb attributes Setting up sam.ldb rootDSE Erasing data from partitions schema_fsmo_init: no schema head present: (skip schema loading) naming_fsmo_init: no partitions dn present: (skip loading of naming context= s details) pdc_fsmo_init: no domain object present: (skip loading of domain details) Pre-loading the Samba 4 and AD schema Segmentation fault (core dumped) # ls -l *core -rw------- 1 root vova 15568896 Dec 15 10:15 python2.6.core -rw------- 1 root vova 2371584 Dec 15 10:15 samba4.core # gdb `which python2.6` python2.6.core GNU gdb 6.1.1 [FreeBSD] ... #0 0x48286353 in strcasecmp () from /lib/libc.so.7 [New Thread 48301140 (LWP 100326)] (gdb) bt #0 0x48286353 in strcasecmp () from /lib/libc.so.7 #1 0x492f787e in dsdb_compare_class_by_cn () from /usr/local/lib/python2.6= /site-packages/samba/glue.so #2 0x4828f5be in qsort () from /lib/libc.so.7 #3 0x492f71b2 in dsdb_set_schema () from /usr/local/lib/python2.6/site-pac= kages/samba/glue.so #4 0x492f77b8 in dsdb_attach_schema_from_ldif () from /usr/local/lib/pytho= n2.6/site-packages/samba/glue.so #5 0x4922e9bc in py_dsdb_attach_schema_from_ldif () from /usr/local/lib/py= thon2.6/site-packages/samba/glue.so #6 0x080bc10a in PyEval_EvalFrameEx () #7 0x080bd681 in PyEval_EvalFrameEx () #8 0x080bd681 in PyEval_EvalFrameEx () #9 0x080bde38 in PyEval_EvalCodeEx () #10 0x080bc3b0 in PyEval_EvalFrameEx () #11 0x080bde38 in PyEval_EvalCodeEx () #12 0x080bc3b0 in PyEval_EvalFrameEx () #13 0x080bde38 in PyEval_EvalCodeEx () #14 0x080bdf57 in PyEval_EvalCode () #15 0x080d5826 in Py_CompileString () #16 0x080d58d0 in PyRun_FileExFlags () #17 0x080d6ca9 in PyRun_SimpleFileExFlags () #18 0x080586ba in Py_Main () #19 0x080578db in main () (gdb)=20 # gdb `which samba4` samba4.core=20 GNU gdb 6.1.1 [FreeBSD] ... #0 0x48d0ec67 in kill () from /lib/libc.so.7 [New Thread 48e01140 (LWP 100312)] (gdb) bt #0 0x48d0ec67 in kill () from /lib/libc.so.7 #1 0x48b05477 in raise () from /lib/libthr.so.3 #2 0x48d0d79a in abort () from /lib/libc.so.7 #3 0x0869c1ab in smb_panic () #4 0x0869c4be in sig_fault () #5 #6 0x086a6d30 in get_conv_handle () #7 0x086a7534 in convert_string_talloc_convenience () #8 0x0868afe7 in ndr_pull_string () #9 0x086057fb in ndr_pull_dgram_smb_packet () #10 0x086059ac in ndr_pull_dgram_message () #11 0x08605b50 in ndr_pull_nbt_dgram_packet () #12 0x0868f8a9 in ndr_pull_struct_blob () #13 0x083bfb10 in dgm_socket_handler () #14 0x48c21183 in std_event_loop_once () from /usr/local/lib/libtevent.so.0 #15 0x48c1e815 in _tevent_loop_once () from /usr/local/lib/libtevent.so.0 #16 0x48c1e89f in tevent_common_loop_wait () from /usr/local/lib/libtevent.= so.0 #17 0x48c1e5b8 in _tevent_loop_wait () from /usr/local/lib/libtevent.so.0 #18 0x08694107 in standard_new_task () #19 0x080da56d in task_server_startup () #20 0x080d8a66 in server_service_startup () #21 0x080d7e66 in main () (gdb)=20 nothing in logs -----Original Message----- From: Jerry To: freebsd-gnome@freebsd.org Cc: timur@freebsd.org Subject: Re: thanks for nothing on the Samba 4 upgrade Date: Mon, 14 Dec 2009 13:48:20 -0500 On Mon, 14 Dec 2009 17:24:35 +0300 Vladimir Grebenschikov articulated: > Nice try, but clean install still drops core on initial provisioning >=20 > # /usr/local/share/samba4/setup/provision --realm myrealm > --domain=3Dvbook --adminpass=3Dpassword --server-role=3D'standalone' > --setupdir=3D/usr/local/share/samba4/setup Setting up secrets.ldb > Setting up the registry Setting up templates db > Setting up idmap db > schema_fsmo_init: no schema head present: (skip schema loading) > naming_fsmo_init: no partitions dn present: (skip loading of naming > contexts details) pdc_fsmo_init: no domain object present: (skip > loading of domain details) schema_fsmo_init: no schema dn present: > (skip schema loading) naming_fsmo_init: no partitions dn present: > (skip loading of naming contexts details) pdc_fsmo_init: no domain dn > present: (skip loading of domain details) Setting up sam.ldb > attributes Setting up sam.ldb rootDSE > Erasing data from partitions > schema_fsmo_init: no schema head present: (skip schema loading) > naming_fsmo_init: no partitions dn present: (skip loading of naming > contexts details) pdc_fsmo_init: no domain object present: (skip > loading of domain details) Pre-loading the Samba 4 and AD schema > Segmentation fault (core dumped) > # >=20 > Probably can provide any working installation instruction for > standalone samba4 server ? I am assuming that you are building Samba via the ports system. Are there any warnings when you compile Samba? Are you starting Samba via the start up script? --=20 Vladimir B. Grebenschikov vova@fbsd.ru --=-jOdw2/9MHtYQhoYUsJIM--