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
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 > DishHi, 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
Only looking for file server solution. export LIBPATH=/opt/samba/lib /opt/samba/sbin/smbd ?D cat smb.conf [global] security = ads password server = * workgroup = ABC.NET username map = /etc/opt/samba/users.map encrypt passwords = yes client ntlmv2 auth = yes client lanman auth = no client plaintext auth = no lanman auth = no ntlm auth = no server signing = auto max protocol = SMB2 ;Enter hostname for samba server on next line server string = aix123 wins proxy = no wins support = no preferred master = no domain master = no local master = no browse list = no case sensitive = yes hide dot files = No log file = /var/opt/samba/log.%m lock directory = /var/opt/samba/locks pid directory = /var/opt/samba/locks