[Samba] Samba Crashing
I have Samba 4.0.9 installed on three Centos servers. On my primary DC I am getting faults and core dumps. Oct 2 06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.083800, 0] ../lib/util/fault.c:72(fault_report) Oct 2 06:10:37 dc1 smbd[1195]: === Oct 2 06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.084493, 0] ../lib/util/fault.c:73(fault_report) Oct 2 06:10:37 dc1 smbd[1195]: INTERNAL ERROR: Signal 11 in pid 1195 (4.0.9) Oct 2 06:10:37 dc1 smbd[1195]: Please read the Trouble-Shooting section of the Samba HOWTO Oct 2 06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.084928, 0] ../lib/util/fault.c:75(fault_report) Oct 2 06:10:37 dc1 smbd[1195]: === Oct 2 06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.085268, 0] ../source3/lib/util.c:810(smb_panic_s3) Oct 2 06:10:37 dc1 smbd[1195]: PANIC (pid 1195): internal error Oct 2 06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.087348, 0] ../source3/lib/util.c:921(log_stack_trace) Oct 2 06:10:37 dc1 smbd[1195]: BACKTRACE: 32 stack frames: Oct 2 06:10:37 dc1 smbd[1195]:#0 /usr/local/samba/lib/libsmbconf.so.0(log_stack_trace+0x2b) [0xdd2bc5] Oct 2 06:10:37 dc1 smbd[1195]:#1 /usr/local/samba/lib/libsmbconf.so.0(smb_panic_s3+0x7f) [0xdd2a23] Oct 2 06:10:37 dc1 smbd[1195]:#2 /usr/local/samba/lib/libsamba-util.so.0(smb_panic+0x2a) [0xb2c76c] Oct 2 06:10:37 dc1 smbd[1195]:#3 /usr/local/samba/lib/libsamba-util.so.0(+0x1745f) [0xb2c45f] Oct 2 06:10:37 dc1 smbd[1195]:#4 /usr/local/samba/lib/libsamba-util.so.0(+0x17470) [0xb2c470] Oct 2 06:10:37 dc1 smbd[1195]:#5 [0x521400] Oct 2 06:10:37 dc1 smbd[1195]:#6 /usr/local/samba/lib/private/libdfs_server_ad.so(+0x1d10) [0x3efd10] Oct 2 06:10:37 dc1 smbd[1195]:#7 /usr/local/samba/lib/private/libdfs_server_ad.so(+0x2780) [0x3f0780] Oct 2 06:10:37 dc1 smbd[1195]:#8 /usr/local/samba/lib/private/libdfs_server_ad.so(dfs_server_ad_get_referrals+0x38d) [0x3f1409] Oct 2 06:10:37 dc1 smbd[1195]:#9 /usr/local/samba/lib/private/libsmbd_base.so(+0x1a1e75) [0x8cfe75] Oct 2 06:10:37 dc1 smbd[1195]:#10 /usr/local/samba/lib/private/libsmbd_base.so(smb_vfs_call_get_dfs_referrals+0x3d) [0x83a1f9] Oct 2 06:10:37 dc1 smbd[1195]:#11 /usr/local/samba/lib/private/libsmbd_base.so(setup_dfs_referral+0xea) [0x8625ca] Oct 2 06:10:37 dc1 smbd[1195]:#12 /usr/local/samba/lib/private/libsmbd_base.so(+0xed942) [0x81b942] Oct 2 06:10:37 dc1 smbd[1195]:#13 /usr/local/samba/lib/private/libsmbd_base.so(+0xee3d1) [0x81c3d1] Oct 2 06:10:37 dc1 smbd[1195]:#14 /usr/local/samba/lib/private/libsmbd_base.so(reply_trans2+0x8eb) [0x81cda0] Oct 2 06:10:37 dc1 smbd[1195]:#15 /usr/local/samba/lib/private/libsmbd_base.so(+0x120055) [0x84e055] Oct 2 06:10:37 dc1 smbd[1195]:#16 /usr/local/samba/lib/private/libsmbd_base.so(+0x1201e5) [0x84e1e5] Oct 2 06:10:37 dc1 smbd[1195]:#17 /usr/local/samba/lib/private/libsmbd_base.so(+0x120c89) [0x84ec89] Oct 2 06:10:37 dc1 smbd[1195]:#18 /usr/local/samba/lib/private/libsmbd_base.so(+0x121b99) [0x84fb99] Oct 2 06:10:37 dc1 smbd[1195]:#19 /usr/local/samba/lib/private/libsmbd_base.so(+0x121c0f) [0x84fc0f] Oct 2 06:10:37 dc1 smbd[1195]:#20 /usr/local/samba/lib/libsmbconf.so.0(run_events_poll+0x481) [0xdedef0] Oct 2 06:10:37 dc1 smbd[1195]:#21 /usr/local/samba/lib/libsmbconf.so.0(+0x371bb) [0xdee1bb] Oct 2 06:10:37 dc1 smbd[1195]:#22 /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xf3) [0x3530c3] Oct 2 06:10:37 dc1 smbd[1195]:#23 /usr/local/samba/lib/private/libsmbd_base.so(smbd_process+0x120c) [0x852f84] Oct 2 06:10:37 dc1 smbd[1195]:#24 /usr/local/samba/sbin/smbd(+0x8515) [0x496515] Oct 2 06:10:37 dc1 smbd[1195]:#25 /usr/local/samba/lib/libsmbconf.so.0(run_events_poll+0x481) [0xdedef0] Oct 2 06:10:37 dc1 smbd[1195]:#26 /usr/local/samba/lib/libsmbconf.so.0(+0x371bb) [0xdee1bb] Oct 2 06:10:37 dc1 smbd[1195]:#27 /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xf3) [0x3530c3] Oct 2 06:10:37 dc1 smbd[1195]:#28 /usr/local/samba/sbin/smbd(+0x90dc) [0x4970dc] Oct 2 06:10:37 dc1 smbd[1195]:#29 /usr/local/samba/sbin/smbd(main+0x1723) [0x498964] Oct 2 06:10:37 dc1 smbd[1195]:#30 /lib/libc.so.6(__libc_start_main+0xe6) [0xb7130ce6] Oct 2 06:10:37 dc1 smbd[1195]:#31 /usr/local/samba/sbin/smbd(+0x3eb1) [0x491eb1] Oct 2 06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.092166, 0] ../source3/lib/dumpcore.c:317(dump_core) Oct 2 06:10:37 dc1 smbd[1195]: dumping core in /usr/local/samba/var/cores/smbd These just started today. For the most part things seem to be working except for the fact that I tried adding a new user yesterday which is unable to log in. -- Wayne Andersen System Administrator Clima-Tech Corporation direct 208-947-1849 cell 208-440-2912 -- To unsubscribe from this list go to the f
Re: [Samba] Samba Crashing
On Wed, Oct 02, 2013 at 06:20:34AM -0600, Wayne Andersen wrote: > I have Samba 4.0.9 installed on three Centos servers. > > On my primary DC I am getting faults and core dumps. > > Oct 2 06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.083800, 0] > ../lib/util/fault.c:72(fault_report) > Oct 2 06:10:37 dc1 smbd[1195]: > === > Oct 2 06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.084493, 0] > ../lib/util/fault.c:73(fault_report) > Oct 2 06:10:37 dc1 smbd[1195]: INTERNAL ERROR: Signal 11 in pid > 1195 (4.0.9) > Oct 2 06:10:37 dc1 smbd[1195]: Please read the Trouble-Shooting > section of the Samba HOWTO > Oct 2 06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.084928, 0] > ../lib/util/fault.c:75(fault_report) > Oct 2 06:10:37 dc1 smbd[1195]: > === > Oct 2 06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.085268, 0] > ../source3/lib/util.c:810(smb_panic_s3) > Oct 2 06:10:37 dc1 smbd[1195]: PANIC (pid 1195): internal error > Oct 2 06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.087348, 0] > ../source3/lib/util.c:921(log_stack_trace) > Oct 2 06:10:37 dc1 smbd[1195]: BACKTRACE: 32 stack frames: > Oct 2 06:10:37 dc1 smbd[1195]:#0 > /usr/local/samba/lib/libsmbconf.so.0(log_stack_trace+0x2b) > [0xdd2bc5] > Oct 2 06:10:37 dc1 smbd[1195]:#1 > /usr/local/samba/lib/libsmbconf.so.0(smb_panic_s3+0x7f) [0xdd2a23] > Oct 2 06:10:37 dc1 smbd[1195]:#2 > /usr/local/samba/lib/libsamba-util.so.0(smb_panic+0x2a) [0xb2c76c] > Oct 2 06:10:37 dc1 smbd[1195]:#3 > /usr/local/samba/lib/libsamba-util.so.0(+0x1745f) [0xb2c45f] > Oct 2 06:10:37 dc1 smbd[1195]:#4 > /usr/local/samba/lib/libsamba-util.so.0(+0x17470) [0xb2c470] > Oct 2 06:10:37 dc1 smbd[1195]:#5 [0x521400] > Oct 2 06:10:37 dc1 smbd[1195]:#6 > /usr/local/samba/lib/private/libdfs_server_ad.so(+0x1d10) [0x3efd10] > Oct 2 06:10:37 dc1 smbd[1195]:#7 > /usr/local/samba/lib/private/libdfs_server_ad.so(+0x2780) [0x3f0780] > Oct 2 06:10:37 dc1 smbd[1195]:#8 > /usr/local/samba/lib/private/libdfs_server_ad.so(dfs_server_ad_get_referrals+0x38d) > [0x3f1409] > Oct 2 06:10:37 dc1 smbd[1195]:#9 > /usr/local/samba/lib/private/libsmbd_base.so(+0x1a1e75) [0x8cfe75] > Oct 2 06:10:37 dc1 smbd[1195]:#10 > /usr/local/samba/lib/private/libsmbd_base.so(smb_vfs_call_get_dfs_referrals+0x3d) > [0x83a1f9] > Oct 2 06:10:37 dc1 smbd[1195]:#11 > /usr/local/samba/lib/private/libsmbd_base.so(setup_dfs_referral+0xea) > [0x8625ca] > Oct 2 06:10:37 dc1 smbd[1195]:#12 > /usr/local/samba/lib/private/libsmbd_base.so(+0xed942) [0x81b942] > Oct 2 06:10:37 dc1 smbd[1195]:#13 > /usr/local/samba/lib/private/libsmbd_base.so(+0xee3d1) [0x81c3d1] > Oct 2 06:10:37 dc1 smbd[1195]:#14 > /usr/local/samba/lib/private/libsmbd_base.so(reply_trans2+0x8eb) > [0x81cda0] > Oct 2 06:10:37 dc1 smbd[1195]:#15 > /usr/local/samba/lib/private/libsmbd_base.so(+0x120055) [0x84e055] > Oct 2 06:10:37 dc1 smbd[1195]:#16 > /usr/local/samba/lib/private/libsmbd_base.so(+0x1201e5) [0x84e1e5] > Oct 2 06:10:37 dc1 smbd[1195]:#17 > /usr/local/samba/lib/private/libsmbd_base.so(+0x120c89) [0x84ec89] > Oct 2 06:10:37 dc1 smbd[1195]:#18 > /usr/local/samba/lib/private/libsmbd_base.so(+0x121b99) [0x84fb99] > Oct 2 06:10:37 dc1 smbd[1195]:#19 > /usr/local/samba/lib/private/libsmbd_base.so(+0x121c0f) [0x84fc0f] > Oct 2 06:10:37 dc1 smbd[1195]:#20 > /usr/local/samba/lib/libsmbconf.so.0(run_events_poll+0x481) > [0xdedef0] > Oct 2 06:10:37 dc1 smbd[1195]:#21 > /usr/local/samba/lib/libsmbconf.so.0(+0x371bb) [0xdee1bb] > Oct 2 06:10:37 dc1 smbd[1195]:#22 > /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xf3) > [0x3530c3] > Oct 2 06:10:37 dc1 smbd[1195]:#23 > /usr/local/samba/lib/private/libsmbd_base.so(smbd_process+0x120c) > [0x852f84] > Oct 2 06:10:37 dc1 smbd[1195]:#24 > /usr/local/samba/sbin/smbd(+0x8515) [0x496515] > Oct 2 06:10:37 dc1 smbd[1195]:#25 > /usr/local/samba/lib/libsmbconf.so.0(run_events_poll+0x481) > [0xdedef0] > Oct 2 06:10:37 dc1 smbd[1195]:#26 > /usr/local/samba/lib/libsmbconf.so.0(+0x371bb) [0xdee1bb] > Oct 2 06:10:37 dc1 smbd[1195]:#27 > /usr/local/samba/lib/private/libtevent.so.0(_tevent_loop_once+0xf3) > [0x3530c3] > Oct 2 06:10:37 dc1 smbd[1195]:#28 > /usr/local/samba/sbin/smbd(+0x90dc) [0x4970dc] > Oct 2 06:10:37 dc1 smbd[1195]:#29 > /usr/local/samba/sbin/smbd(main+0x1723) [0x498964] > Oct 2 06:10:37 dc1 smbd[1195]:#30 > /lib/libc.so.6(__libc_start_main+0xe6) [0xb7130ce6] > Oct 2 06:10:37 dc1 smbd[1195]:#31 > /usr/local/samba/sbin/smbd(+0x3eb1) [0x491eb1] > Oct 2 06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.092166, 0] > ../source3/lib/dumpcore.c:317(dump_core) > Oct 2 06:10:37 dc1 smbd[1195]: dumping core in > /usr/local/samba/var/cores/smbd > > These just started today. > For the most part things seem to be working except for the
Re: [Samba] Samba Crashing
Ok this is the backtrace I am getting. #0 0x00205424 in __kernel_vsyscall () #1 0x008d8363 in __waitpid_nocancel () from /lib/libc.so.6 #2 0x00871eb3 in do_system () from /lib/libc.so.6 #3 0x00bda7ed in system () from /lib/libpthread.so.0 #4 0x00a69ab5 in smb_panic_s3 (why=0xcbdb5d "internal error") at ../source3/lib/util.c:823 #5 0x00cac76c in smb_panic (why=0xcbdb5d "internal error") at ../lib/util/fault.c:159 #6 0x00cac45f in fault_report (sig=11) at ../lib/util/fault.c:77 #7 0x00cac470 in sig_fault (sig=11) at ../lib/util/fault.c:88 #8 #9 0x00bfe56d in get_dcs_insite (ctx=0xaec93610, ldb=0x1c38830, sitedn=0xaef02218, list=0xaecd7740, dofqdn=true) at ../dfs_server/dfs_server_ad.c:224 #10 0x00bfed10 in get_dcs (ctx=0xaec91850, ldb=0x1c38830, searched_site=0xae98f908 "Default-First-Site-Name", need_fqdn=true, pset_list=0xbf844824, flags=0) at ../dfs_server/dfs_server_ad.c:345 #11 0x00bff780 in dodc_referral (lp_ctx=0xaefaa1c0, sam_ctx=0x1c38830, client=0xaee60cf0, r=0xaec91850, domain_name=0xaec918e1 "corp.clima-tech.com") at ../dfs_server/dfs_server_ad.c:559 #12 0x00c00409 in dfs_server_ad_get_referrals (lp_ctx=0xaefaa1c0, sam_ctx=0x1c38830, client=0xaee60cf0, r=0xaec91850) at ../dfs_server/dfs_server_ad.c:880 #13 0x004a7e75 in dfs_samba4_get_referrals (handle=0xaeef8df0, r=0xaec91850) at ../source3/modules/vfs_dfs_samba4.c:118 #14 0x004121f9 in smb_vfs_call_get_dfs_referrals (handle=0xaeef8df0, r=0xaec91850) at ../source3/smbd/vfs.c:1449 #15 0x0043a5ca in setup_dfs_referral (orig_conn=0xae77a8d0, dfs_path=0xaec917a0 "\\corp.clima-tech.com", max_referral_level=3, ppdata=0xae9ca24c, pstatus=0xbf8449c8) at ../source3/smbd/msdfs.c:1071 #16 0x003f3942 in call_trans2getdfsreferral (conn=0xae77a8d0, req=0xaec91700, pparams=0xae9ca244, total_params=44, ppdata=0xae9ca24c, total_data=0, max_data_bytes=4096) at ../source3/smbd/trans2.c:8551 #17 0x003f43d1 in handle_trans2 (conn=0xae77a8d0, req=0xaec91700, state=0xae9ca200) at ../source3/smbd/trans2.c:8818 #18 0x003f4da0 in reply_trans2 (req=0xaec91700) at ../source3/smbd/trans2.c:9003 #19 0x00426055 in switch_message (type=50 '2', req=0xaec91700) at ../source3/smbd/process.c:1556 #20 0x004261e5 in construct_reply (sconn=0xaf34e018, inbuf=0x0, size=116, unread_bytes=0, seqnum=0, encrypted=false, deferred_pcd=0x0) at ../source3/smbd/process.c:1592 #21 0x00426c89 in process_smb (sconn=0xaf34e018, inbuf=0xaec91650 "", nread=116, unread_bytes=0, seqnum=0, encrypted=false, deferred_pcd=0x0) at ../source3/smbd/process.c:1843 #22 0x00427b99 in smbd_server_connection_read_handler (sconn=0xaf34e018, fd=45) at ../source3/smbd/process.c:2432 #23 0x00427c0f in smbd_server_connection_handler (ev=0x1c3a8d0, fde=0xaf3b23b0, flags=1, private_data=0xaf34e018) at ../source3/smbd/process.c:2449 #24 0x00a84ef0 in run_events_poll (ev=0x1c3a8d0, pollrtn=1, pfds=0xaeba7da0, num_pfds=3) at ../source3/lib/events.c:257 #25 0x00a851bb in s3_event_loop_once (ev=0x1c3a8d0, location=0x5980a0 "../source3/smbd/process.c:3625") at ../source3/lib/events.c:326 #26 0x0021a0c3 in _tevent_loop_once (ev=0x1c3a8d0, location=0x5980a0 "../source3/smbd/process.c:3625") at ../lib/tevent/tevent.c:530 #27 0x0042af84 in smbd_process (ev_ctx=0x1c3a8d0, msg_ctx=0x1c3a950, sock_fd=45, interactive=false) at ../source3/smbd/process.c:3625 #28 0x009f4515 in smbd_accept_connection (ev=0x1c3a8d0, fde=0xb70564c8, flags=1, private_data=0xaf1be5c0) at ../source3/smbd/server.c:621 #29 0x00a84ef0 in run_events_poll (ev=0x1c3a8d0, pollrtn=1, pfds=0xaeba7da0, num_pfds=6) at ../source3/lib/events.c:257 #30 0x00a851bb in s3_event_loop_once (ev=0x1c3a8d0, location=0x9f8c06 "../source3/smbd/server.c:946") at ../source3/lib/events.c:326 #31 0x0021a0c3 in _tevent_loop_once (ev=0x1c3a8d0, location=0x9f8c06 "../source3/smbd/server.c:946") at ../lib/tevent/tevent.c:530 #32 0x009f50dc in smbd_parent_loop (ev_ctx=0x1c3a8d0, parent=0x1c3d7f8) at ../source3/smbd/server.c:946 #33 0x009f6964 in main (argc=3, argv=0xbf8453d4) at ../source3/smbd/server.c:1568 Wayne Andersen System Administrator Clima-Tech Corporation On 10/02/2013 05:58 PM, Jeremy Allison wrote: On Wed, Oct 02, 2013 at 06:20:34AM -0600, Wayne Andersen wrote: I have Samba 4.0.9 installed on three Centos servers. On my primary DC I am getting faults and core dumps. Oct 2 06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.083800, 0] ../lib/util/fault.c:72(fault_report) Oct 2 06:10:37 dc1 smbd[1195]: === Oct 2 06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.084493, 0] ../lib/util/fault.c:73(fault_report) Oct 2 06:10:37 dc1 smbd[1195]: INTERNAL ERROR: Signal 11 in pid 1195 (4.0.9) Oct 2 06:10:37 dc1 smbd[1195]: Please read the Trouble-Shooting section of the Samba HOWTO Oct 2 06:10:37 dc1 smbd[1195]: [2013/10/02 06:10:37.084928, 0] ../lib/util/fault.c:75(fault_report) Oct 2 06:10:37 dc1 smbd[1195]: ==
[Samba] samba crashing on startup
hi, i've been trying for like two weeks to figure out why samba doesn't run properly. from the logs it looks like smbd will start followed by nmbd. then nmbd will exit for no apparent reason. i'm able to start samba manually with the command '/etc/init.d/samba start'. right now i'm assuming nmbd is the reason why samba doesn't load. i'm running samba version 3.0.14a-3sarge2. i've included my smb.conf file. thank you, eric [2006/11/24 00:29:26, 2] param/loadparm.c:do_section(3434) Processing section "[Home]" [2006/11/24 00:29:26, 3] param/loadparm.c:lp_add_ipc(2409) adding IPC service [2006/11/24 00:29:26, 3] param/loadparm.c:lp_add_ipc(2409) adding IPC service [2006/11/24 00:29:27, 3] printing/pcap.c:pcap_cache_reload(114) reloading printcap cache [2006/11/24 00:29:27, 3] printing/pcap.c:pcap_cache_reload(213) reload status: ok [2006/11/24 00:29:27, 2] lib/interface.c:add_interface(81) added interface ip=192.168.0.4 bcast=192.168.0.255 nmask=255.255.255.0 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2006/11/24 00:29:28, 3] smbd/uid.c:push_conn_ctx(365) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2006/11/24 00:29:28, 3] smbd/uid.c:push_conn_ctx(365) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2 [2006/11/24 00:29:28, 3] smbd/uid.c:push_conn_ctx(365) push_conn_ctx(0) : conn_ctx_stack_ndx = 1 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2 [2006/11/24 00:29:28, 3] smbd/uid.c:push_conn_ctx(365) push_conn_ctx(0) : conn_ctx_stack_ndx = 1 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/11/24 00:29:28, 3] smbd/server.c:main(831) loaded services [2006/11/24 00:29:28, 3] smbd/server.c:main(846) Becoming a daemon. [2006/11/24 00:29:28, 2] lib/tallocmsg.c:register_msg_pool_usage(57) Registered MSG_REQ_POOL_USAGE [2006/11/24 00:29:28, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED [2006/11/24 00:29:28, 3] printing/printing.c:start_background_queue(1322) start_background_queue: Starting background LPQ thread [2006/11/24 00:29:28, 2] smbd/server.c:open_sockets_smbd(329) waiting for a connection [2006/11/24 00:29:23, 0] nmbd/nmbd.c:main(668) Netbios nameserver version 3.0.14a-Debian started. Copyright Andrew Tridgell and the Samba Team 1994-2004 [2006/11/24 00:29:25, 3] nmbd/nmbd.c:reload_nmbd_services(297) services not loaded [2006/11/24 00:29:25, 2] nmbd/nmbd.c:main(692) Becoming a daemon. [2006/11/24 00:29:25, 2] lib/tallocmsg.c:register_msg_pool_usage(57) Registered MSG_REQ_POOL_USAGE [2006/11/24 00:29:25, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED [2006/11/24 00:29:25, 3] nmbd/nmbd.c:main(724) Opening sockets 137 [2006/11/24 00:29:25, 3] nmbd/nmbd.c:open_sockets(591) open_sockets: Broadcast sockets opened. [2006/11/24 00:29:25, 2] lib/interface.c:add_interface(81) added interface ip=192.168.0.4 bcast=192.168.0.255 nmask=255.255.255.0 [2006/11/24 00:29:25, 2] nmbd/nmbd_subnetdb.c:make_subnet(172) making subnet name:192.168.0.4 Broadcast address:192.168.0.255 Subnet mask:255.255.255.0 [2006/11/24 00:29:25, 2] nmbd/nmbd_subnetdb.c:make_subnet(172) making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0 [2006/11/24 00:29:25, 2] nmbd/nmbd_subnetdb.c:make_subnet(172) making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0 [2006/11/24 00:29:25, 2] nmbd/nmbd_lmhosts.c:load_lmhosts_file(41) load_lmhosts_file: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory [2006/11/24 00:29:25, 3] nmbd/nmbd.c:main(743) Loaded hosts file /etc/samba/lmhosts [2006/11/24 00:29:25, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(236) add_name_to_subnet: Added netbios name *<00> with first IP 192.168.0.4 ttl=0 nb_flags= 0 to subnet 192.168.0.4 [2006/11/24 00:29:25, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(236) add_name_to_subnet: Added ne
[Samba] samba crashing on startup
hi, i've been trying for like two weeks to figure out why samba doesn't run properly. from the logs it looks like smbd will start followed by nmbd. then nmbd will exit for no apparent reason. i'm able to start samba manually with the command '/etc/init.d/samba start'. right now i'm assuming nmbd is the reason why samba doesn't load. i'm running samba version 3.0.14a-3sarge2. i've included my smb.conf file. thank you, eric [2006/11/24 00:29:26, 2] param/loadparm.c:do_section(3434) Processing section "[Home]" [2006/11/24 00:29:26, 3] param/loadparm.c:lp_add_ipc(2409) adding IPC service [2006/11/24 00:29:26, 3] param/loadparm.c:lp_add_ipc(2409) adding IPC service [2006/11/24 00:29:27, 3] printing/pcap.c:pcap_cache_reload(114) reloading printcap cache [2006/11/24 00:29:27, 3] printing/pcap.c:pcap_cache_reload(213) reload status: ok [2006/11/24 00:29:27, 2] lib/interface.c:add_interface(81) added interface ip=192.168.0.4 bcast=192.168.0.255 nmask=255.255.255.0 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2006/11/24 00:29:28, 3] smbd/uid.c:push_conn_ctx(365) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2006/11/24 00:29:28, 3] smbd/uid.c:push_conn_ctx(365) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2 [2006/11/24 00:29:28, 3] smbd/uid.c:push_conn_ctx(365) push_conn_ctx(0) : conn_ctx_stack_ndx = 1 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2 [2006/11/24 00:29:28, 3] smbd/uid.c:push_conn_ctx(365) push_conn_ctx(0) : conn_ctx_stack_ndx = 1 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/11/24 00:29:28, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/11/24 00:29:28, 3] smbd/server.c:main(831) loaded services [2006/11/24 00:29:28, 3] smbd/server.c:main(846) Becoming a daemon. [2006/11/24 00:29:28, 2] lib/tallocmsg.c:register_msg_pool_usage(57) Registered MSG_REQ_POOL_USAGE [2006/11/24 00:29:28, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED [2006/11/24 00:29:28, 3] printing/printing.c:start_background_queue(1322) start_background_queue: Starting background LPQ thread [2006/11/24 00:29:28, 2] smbd/server.c:open_sockets_smbd(329) waiting for a connection [2006/11/24 00:29:23, 0] nmbd/nmbd.c:main(668) Netbios nameserver version 3.0.14a-Debian started. Copyright Andrew Tridgell and the Samba Team 1994-2004 [2006/11/24 00:29:25, 3] nmbd/nmbd.c:reload_nmbd_services(297) services not loaded [2006/11/24 00:29:25, 2] nmbd/nmbd.c:main(692) Becoming a daemon. [2006/11/24 00:29:25, 2] lib/tallocmsg.c:register_msg_pool_usage(57) Registered MSG_REQ_POOL_USAGE [2006/11/24 00:29:25, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED [2006/11/24 00:29:25, 3] nmbd/nmbd.c:main(724) Opening sockets 137 [2006/11/24 00:29:25, 3] nmbd/nmbd.c:open_sockets(591) open_sockets: Broadcast sockets opened. [2006/11/24 00:29:25, 2] lib/interface.c:add_interface(81) added interface ip=192.168.0.4 bcast=192.168.0.255 nmask=255.255.255.0 [2006/11/24 00:29:25, 2] nmbd/nmbd_subnetdb.c:make_subnet(172) making subnet name:192.168.0.4 Broadcast address:192.168.0.255 Subnet mask:255.255.255.0 [2006/11/24 00:29:25, 2] nmbd/nmbd_subnetdb.c:make_subnet(172) making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0 [2006/11/24 00:29:25, 2] nmbd/nmbd_subnetdb.c:make_subnet(172) making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0 [2006/11/24 00:29:25, 2] nmbd/nmbd_lmhosts.c:load_lmhosts_file(41) load_lmhosts_file: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory [2006/11/24 00:29:25, 3] nmbd/nmbd.c:main(743) Loaded hosts file /etc/samba/lmhosts [2006/11/24 00:29:25, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(236) add_name_to_subnet: Added netbios name *<00> with first IP 192.168.0.4 ttl=0 nb_flags= 0 to subnet 192.168.0.4 [2006/11/24 00:29:25, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(236) add_name_to_subnet: Added netbios name *<20> with first IP 192.168.0.4
[Samba] Samba crashing word and excell?
I am having some trouble with Samba. It was working fine on an old server with 3.0.21. Now I have updated to 3.0.28 (via 3.0.25) and a bigger fatter faster server. There are two problems. Firstly the new server seems slower than the old one, and some users are experiencing intermittent data loss via MS apps such as Word or Excell crashing. The system runs on Arch Linux, with a slightly modified package to include winbind. The smb.conf file reads as follows: # Samba config file created using SWAT # from 0.0.0.0 (0.0.0.0) # Date: 2006/12/18 17:27:22 [global] workgroup = somegroup interfaces = eth0, lo bind interfaces only = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*Password* %n\n *Re-enter*new*password*%n\n *Password*changed* username map = /etc/samba/smbusers unix password sync = Yes log level = 2 syslog = 0 log file = /var/log/samba/%M max log size = 50 smb ports = 139 name resolve order = wins bcast hosts lmhosts time server = Yes printcap name = CUPS show add printer wizard = No add user script = /usr/sbin/useradd -m '%u' delete user script = /usr/sbin/userdel -r '%u' add group script = /usr/sbin/groupadd '%g' delete group script = /usr/sbin/groupdel '%g' add user to group script = /usr/sbin/usermod -G '%g' '%u' add machine script = /usr/sbin/useradd -s /bin/false -d /tmp '%u' shutdown script = /var/lib/samba/scripts/shutdown.sh abort shutdown script = /sbin/shutdown -c logon script = scripts\logon.bat logon path = \\%L\profiles\%U logon drive = P: logon home = \\%L\%U domain logons = Yes os level = 65 preferred master = Yes domain master = Yes wins support = Yes ldap ssl = no utmp = Yes idmap uid = 2-3 idmap gid = 2-3 template homedir = /home/winnt/%D/%U template shell = /bin/bash winbind enum users = No winbind enum groups = No winbind use default domain = Yes map acl inherit = Yes cups options = Raw socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8576 SO_SNDBUF=8576 veto files = /*.eml/*.nws/*.{*}/ veto oplock files = /*.doc/*.xls/*.mdb/ [homes] comment = Home Directories valid users = %S read only = No browseable = No [printers] comment = SMB Print Spool path = /var/spool/samba guest ok = Yes printable = Yes use client driver = Yes default devmode = Yes browseable = No [netlogon] comment = Network Logon Service path = /home/samba/netlogon guest ok = Yes locking = No [profiles] comment = Profile Share path = /home/samba/profiles read only = No profile acls = Yes [Accounts] comment = Accounting Files path = /home/data/accounts force group = accounts read only = No create mask = 0770 directory mask = 0770 force directory mode = 0770 [general] comment = General file area path = /home/data/general read only = No create mask = 0774 force create mode = 0770 directory mask = 0775 force directory mode = 0770 [hr] comment = Human Resource path = /home/data/hr valid users = @hr force group = hr read only = No create mask = 0774 force directory mode = 0770 ##Ends Now I managed to get a report of an error which left a trace in a log file showing some errors which are here: Sorry about the length of the extracts, but there seem to be two types of different errors including: sys_acl_set_file type file failed smb_set_file_dosmode: file_set_dosmode ... (Operation not permitted) [2008/01/30 13:00:44, 2] smbd/open.c:open_file(391) user1 opened file somedata/ADMIN/some directory/2008/~WRD3964.tmp read=Yes write=Yes (numopen=5) [2008/01/30 13:00:44, 2] smbd/open.c:open_file(391) user1 opened file somedata/ADMIN/some directory/2008/A file name 33 chars long 080130.doc read=No write=No (numopen=6) [2008/01/30 13:00:44, 2] smbd/close.c:close_normal_file(406) user1 closed file somedata/ADMIN/some directory/2008/A file name 33 chars long 080130.doc (numopen=5) NT_STATUS_OK [2008/01/30 13:00:44, 2] smbd/open.c:open_file(391) user1 opened file somedata/ADMIN/some directory/2008/~WRD3964.tmp read=No write=No (numopen=6) [2008/01/30 13:00:44, 2] smbd/posix_acls.c:set_canon_ace_list(2496) set_canon_ace_list: sys_acl_set_file type file failed for file somedata/ADMIN/some directory/2008/~WRD3964.tmp (Operation not supported). [2008/01/30 13:00:44, 2] smbd/close.c:close_normal_file(406) user1 closed file somedata/ADMIN/some directory/2
Re: [Samba] Samba crashing word and excell?
On Tue, Feb 05, 2008 at 05:31:42PM +, Benedict White wrote: > I am having some trouble with Samba. It was working fine on an old server > with 3.0.21. > > Now I have updated to 3.0.28 (via 3.0.25) and a bigger fatter faster server. > > There are two problems. Firstly the new server seems slower than the old one, > and some users > are experiencing intermittent data loss via MS apps such as Word or Excell > crashing. > > The system runs on Arch Linux, with a slightly modified package to include > winbind. > socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8576 > SO_SNDBUF=8576 Remove the socket options line. It always amazes me that people think they can outguess the kernel for resource allocation. "socket options" hails from a time long long ago, when TCP was not so well tuned. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba crashing word and excell?
>On Tue, Feb 05, 2008 at 05:31:42PM +, Benedict White wrote: >> I am having some trouble with Samba. It was working fine on an old server >> with 3.0.21. >> >> Now I have updated to 3.0.28 (via 3.0.25) and a bigger fatter faster server. >> >> There are two problems. Firstly the new server seems slower than the old >> one, and some users >> are experiencing intermittent data loss via MS apps such as Word or Excell >> crashing. >> >> The system runs on Arch Linux, with a slightly modified package to include >> winbind. >> socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8576 >> SO_SNDBUF=8576 On Tue, Feb 05, 2008 at 09:53PM, Jeremy Allison wrote: > Remove the socket options line. It always amazes me that people > think they can outguess the kernel for resource allocation. > "socket options" hails from a time long long ago, when TCP > was not so well tuned. > Jeremy. Mr. White mentioned 2 problems: sys_acl_set_file type file failed smb_set_file_dosmode: file_set_dosmode ... (Operation not permitted) Is this 'socket options' is related to both problems? I`m having the `smb_set_file_dosmode` error too. >From log.smbd: [2008/02/19 10:33:09, 2] smbd/trans2.c:smb_set_file_dosmode(4151) smb_set_file_dosmode: file_set_dosmode of space/server/space/wcs/RCS/w_reset_date.c,v failed (Operation not permitted) [2008/02/19 10:33:09, 3] smbd/error.c:error_packet_set(106) error packet at smbd/trans2.c(6048) cmd=50 (SMBtrans2) NT_STATUS_ACCESS_DENIED This problem occurred after updating to 3.0.26a. Regards, Tamas -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba