[Samba] Smbd dumps core while starting

Rowland Penny rowlandpenny at googlemail.com
Thu Jan 8 02:01:15 MST 2015


On 08/01/15 04:39, Dish wrote:
> Samba version : samba-4.1.12, AIX 6.1,
>
> compilation(configure, make clean install) was ok. but smbd not starting.
>   
> gdb --dbx /opt/samba/sbin/smbd /root/core
> Core was generated by `smbd'.
> Program terminated with signal 4, Illegal instruction.
> #0  0x0000000000000000 in ?? ()
> (gdb) where
> #0  0x0000000000000000 in ?? ()
> #1  0x0900000008406760 in regdb_init () at ../source3/registry/reg_backend_db.c:733
> #2  0x0900000008414a98 in registry_init_common () at ../source3/registry/reg_init_basic.c:33
> #3  0x090000000826d590 in registry_init_full () at ../source3/registry/reg_init_full.c:80
> #4  0x0000000100002414 in main (argc=2, argv=0xffffffffffffab8) at ../source3/smbd/server.c:1414
> (gdb)
>   
> Last few lines of log file with debug 10
> ==================================
> [2015/01/07 23:08:32,  4, pid=36241414, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:4878(lp_load_ex)
>    pm_process() returned Yes
> [2015/01/07 23:08:32,  7, pid=36241414, effective(0, 0), real(0, 0)] ../source3/param/loadparm.c:5168(lp_servicenumber)
>    lp_servicenumber: couldn't find homes
> [2015/01/07 23:08:32,  4, pid=36241414, effective(0, 0), real(0, 0)] ../source3/smbd/sec_ctx.c:176(get_current_groups)
>    get_current_groups: user is in 7 groups: 0, 2, 3, 7, 8, 10, 11
> [2015/01/07 23:08:32,  5, pid=36241414, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:293(messaging_register)
>    Registering messaging pointer for type 2 - private_data=0
> [2015/01/07 23:08:32,  5, pid=36241414, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:293(messaging_register)
>    Registering messaging pointer for type 9 - private_data=0
> [2015/01/07 23:08:32,  2, pid=36241414, effective(0, 0), real(0, 0)] ../source3/lib/tallocmsg.c:124(register_msg_pool_usage)
>    Registered MSG_REQ_POOL_USAGE
> [2015/01/07 23:08:32,  5, pid=36241414, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:293(messaging_register)
>    Registering messaging pointer for type 11 - private_data=0
> [2015/01/07 23:08:32,  5, pid=36241414, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:293(messaging_register)
>    Registering messaging pointer for type 12 - private_data=0
> [2015/01/07 23:08:32,  2, pid=36241414, effective(0, 0), real(0, 0)] ../source3/lib/dmallocmsg.c:78(register_dmalloc_msgs)
>    Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
> [2015/01/07 23:08:32,  5, pid=36241414, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:293(messaging_register)
>    Registering messaging pointer for type 1 - private_data=0
> [2015/01/07 23:08:32,  5, pid=36241414, effective(0, 0), real(0, 0)] ../source3/lib/messages.c:293(messaging_register)
>    Registering messaging pointer for type 5 - private_data=0
>
> Regards
> Dish

Hi, how are you running samba, like samba3 - starting the smbd, nmbd & 
winbind daemons, or are you running as an AD DC and starting the samba & 
smbd daemons ?

Can you also post your (sanitized) smb.conf

Rowland



More information about the samba mailing list