Web lists-archives.com

[Samba] Samba Crash on File Access




I recently patched my Solaris server and suddenly my Samba service is not
working correctly.

When Anyone accesses a samba share the samba daemon panics and shuts down.
Solaris than restarts the system, unless there are multiple panics
simultaneously than the service is placed in maintenance mode.

The SAMBA server is a stand alone supporting a dozen end users for a large
file store behind the covers.

I am at a loss at what is causing the problem.

Searches indicated a potential issue with printing so I added the section
to comment turn that off.   Befroe that the log was filled with comments
about cups printing not being available.

Thank you in advance.

Jeff Johnson

# uname -a
SunOS lib-home 5.11 11.4.2.3.0 sun4v sparc sun4v
# pkg info samba
             Name: service/network/samba
          Summary: samba - A Windows SMB/CIFS fileserver for UNIX
         Category: System/File System
            State: Installed
        Publisher: solaris
          Version: 4.8.4
           Branch: 11.4.1.0.1.2.0
   Packaging Date: Tue Sep 04 17:01:39 2018
Last Install Time: Thu Nov 08 14:55:34 2018
             Size: 49.39 MB
             FMRI: pkg://solaris/service/network/samba@4.8.4-11.4.1.0.1.2.0
:20180904T170139Z
      Project URL: http://www.samba.org/
       Source URL:
https://download.samba.org/pub/samba/stable/samba-4.8.4.tar.gz

Relevant sections - smb.conf
[global]
   allow insecure wide links = yes
   unix extensions = no
;   printcap name = /etc/printers.conf
;   printing = sysv
   log level = 3
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
   workgroup = MYGROUP
   server string = Samba Server

[home]
    path = /home/%U
    follow symlinks = yes
    wide links = yes
    writeable = yes
    ;inherit permissions = yes






































*[2018/11/08 10:11:11.292200,  0]
../lib/util/become_daemon.c:138(daemon_ready)  daemon_ready: STATUS=daemon
'smbd' finished starting up and ready to serve connections[2018/11/08
10:11:11.297828,  2] ../source3/smbd/server.c:1381(smbd_parent_loop)
waiting for connections[2018/11/08 10:12:07.776135,  3]
../lib/util/access.c:365(allow_access)  Allowed connection from
128.101.98.79 (128.101.98.79)[2018/11/08 10:12:08.819272,  0]
../lib/util/fault.c:79(fault_report)
===============================================================[2018/11/08
10:12:08.819523,  0] ../lib/util/fault.c:80(fault_report)  INTERNAL ERROR:
Signal 10 in pid 14181 (4.8.4)  Please read the Trouble-Shooting section of
the Samba HOWTO[2018/11/08 10:12:08.819620,  0]
../lib/util/fault.c:82(fault_report)
===============================================================[2018/11/08
10:12:08.819687,  0] ../source3/lib/util.c:815(smb_panic_s3)  PANIC (pid
14181): internal error[2018/11/08 10:12:08.820658,  0]
../lib/util/fault.c:261(log_stack_trace)  BACKTRACE: 16 stack frames:   #0
/usr/lib/samba/sparcv9/libsamba-util.so.0.0.1'log_stack_trace+0x18
[0x7ffcb27b6c558]   #1
/usr/lib/samba/sparcv9/libsmbconf.so.0'smb_panic_s3+0x30
[0x7ffcb23d62fa0]   #2
/usr/lib/samba/sparcv9/libsamba-util.so.0.0.1'smb_panic+0x40
[0x7ffcb27b6c674]   #3
/usr/lib/samba/sparcv9/libsamba-util.so.0.0.1'sig_fault+0x58
[0x7ffcb27b6c934]   #4 /lib/sparcv9/libc.so.1'__sighndlr+0xc
[0x7ffcb282e1608]   #5 /lib/sparcv9/libc.so.1'call_user_handler+0x354
[0x7ffcb282d3f1c]   #6 /lib/sparcv9/libc.so.1'sigacthandler+0x54
[0x7ffcb282d425c]   #7
/usr/lib/samba/private/sparcv9/libsmbd-base-samba4.so'notifyd_rec_change+0x4c8
[0x7ffcb2760eea4]   #8
/usr/lib/samba/sparcv9/libsmbconf.so.0'messaging_recv_cb+0x610
[0x7ffcb23d70e60]   #9
/usr/lib/samba/private/sparcv9/libmessages-dgm-samba4.so'msg_dgm_ref_recv+0x54
[0x7ffcb1fd09b18]   #10
/usr/lib/samba/private/sparcv9/libmessages-dgm-samba4.so'messaging_dgm_read_handler+0x234
[0x7ffcb1fd079b8]   #11
/usr/lib/samba/private/sparcv9/libtevent.so.0.9.36'port_event_loop_once+0x374
[0x7ffcb2000d430]   #12
/usr/lib/samba/private/sparcv9/libtevent.so.0.9.36'_tevent_loop_once+0xa0
[0x7ffcb200071f8]   #13
/usr/lib/samba/private/sparcv9/libtevent.so.0.9.36'tevent_req_poll+0x20
[0x7ffcb20008c80]   #14 /usr/lib/samba/sbin/smbd'main+0x1404
[0x7ffcb28813378]   #15 /usr/lib/samba/sbin/smbd'_start+0x64
[0x7ffcb2880b5c4][2018/11/08 10:12:08.821377,  0]
../source3/lib/dumpcore.c:315(dump_core)  dumping core in
/var/samba/log/cores/smbd[2018/11/08 10:12:12.401557,  1]
../source3/smbd/server.c:836(remove_child_pid)  remove_child_pid:
Restarting notifyd*
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba