Web lists-archives.com

Re: [Samba] Samba Crash on File Access




On Thu, Nov 08, 2018 at 10:26:42AM -0600, Jeffrey Johnson via samba wrote:
> 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.

Build with -g (debug symbols) then add:

panic action = /bin/sleep 9999999999

to the [global] section of your smb.conf.

When it crashes, attach to the crashed process
with gdb then type "bt" to get a proper backtrace.

This will help debug the problem.

Jeremy.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba