[CTDB and GFS] some troubles joining domain

Ignacio Coupeau icoupeau at unav.es
Wed Jun 27 08:32:47 GMT 2007


tridge at samba.org wrote:
> Ignacio,
> 
> I suspect you haven't set "use mmap = no" in smb.conf.
> 
> That is probably needed as I doubt that GFS is mmap coherent across
> the cluster. (I can point you at a test tool for that if you like).
> 
> Also, you should use the same netbios name on all nodes. See the 
> ctdb wiki pages for more config info.


I tested with all the netbios name to "piedra" and "use mmap = no" but 
the results are the same... the "Segmentation fault" ended the join.

Is possible that the error becomes from samba_3_0_ctdb because remains 
with the ctdb stopped.

In the PDC all goes well:

   init_sam_from_ldap: Entry found for user: piedra$
   init_sam_from_ldap: Entry found for user: piedra$
   init_ldap_from_sam: Setting entry for user: piedra$
   ldapsam_update_sam_account: successfully modified uid = piedra$ in 
the LDAP database


Also, with the ctdb stopped, the error remains:

--------------------------------------
[root at piedra bin]# gdb  ./net
--------------------------------------
GNU gdb Red Hat Linux (6.5-16.el5rh)
(credits ...)
This GDB was configured as "i386-redhat-linux-gnu"...Using host 
libthread_db library "/lib/libthread_db.so.1".

(gdb) run rpc join
Starting program: /usr/local/etc2/samba-ctdb/bin/net rpc join

Program received signal SIGSEGV, Segmentation fault.
0x08209da9 in tdb_transaction_start ()
(gdb) backtrace
#0  0x08209da9 in tdb_transaction_start ()
#1  0x080f11b0 in secrets_store_machine_password (pass=0x934f810 
"NFohwlYBWBzSfj", domain=0x932dcc0 "UNAV-PDC-01", sec_channel=2)
     at passdb/secrets.c:618
#2  0x084016f8 in trust_pw_change_and_store_it (cli=0x934f518, 
mem_ctx=0x934f430, domain=0x932dcc0 "UNAV-PDC-01",
     orig_trust_passwd_hash=0xbf98bc7c 
"\a|\177f\212%\023QÄC4\0165°\213¤piedra", sec_channel_type=2) at 
libsmb/trusts_util.c:107
#3  0x080a942d in rpc_oldjoin_internals (domain_sid=0x934f798, 
domain_name=0x934f730 "UNAV-PDC-01", cli=0x932e850,
     pipe_hnd=0x934f518, mem_ctx=0x934f430, argc=0, argv=0x92aa1bc) at 
utils/net_rpc.c:301
#4  0x080a90bc in run_rpc_command (cli_arg=0x0, pipe_idx=3, 
conn_flags=56, fn=0x80a92a0 <rpc_oldjoin_internals>, argc=0,
     argv=0x92aa1bc) at utils/net_rpc.c:168
#5  0x080a955a in net_rpc_perform_oldjoin (argc=0, argv=0x92aa1bc) at 
utils/net_rpc.c:329
#6  0x080a969d in net_rpc_join (argc=0, argv=0x92aa1bc) at 
utils/net_rpc.c:405
#7  0x0809c401 in net_run_function (argc=1, argv=0x92aa1b8, 
table=0xbf98bea4, usage_fn=0x80b7b8f <net_rpc_usage>)
     at utils/net.c:132
#8  0x080b7e6c in net_rpc (argc=1, argv=0x92aa1b8) at utils/net_rpc.c:6702
#9  0x0809c401 in net_run_function (argc=2, argv=0x92aa1b4, 
table=0x84cdf00, usage_fn=0x80a69d9 <net_help>) at utils/net.c:132
#10 0x0809e885 in main (argc=3, argv=0xbf98c404) at utils/net.c:1033
(gdb) quit


-- 
________________________________________________________
Dr. Ignacio Coupeau
Systems and Network Services Director
IT Services
University of Navarra           http://www.unav.edu/
Pamplona, SPAIN                 http://www.unav.es/SI/


More information about the samba-technical mailing list