My Oracle Support Banner

smbd Process Core Dumps And Samba Service Enters Maintenance Mode When Starting - Samba log reports Abnormal server exit: open_sockets_smbd() failed (Doc ID 1583801.1)

Last updated on JANUARY 11, 2021

Applies to:

Solaris Operating System - Version 11 11/11 to 11.3 [Release 11.0]
Information in this document applies to any platform.


When enabling Samba service in a Solaris 11.1 non-global zone the samba SMF service would enter maintenance mode and the smbd process being initiated would core dump.

The Samba log file log.smbd contained entries such as:

[2013/08/16 14:47:59,  0] smbd/server.c:1026(main)
 smbd version 3.6.12 started.
[2013/08/16 14:47:59.192659,  0] smbd/server.c:595(smbd_open_one_socket)
 open_sockets_smbd: listen: Operation not supported on transport endpoint
[2013/08/16 14:47:59.193121,  0] smbd/server_exit.c:168(exit_server_common)
[2013/08/16 14:47:59.193183,  0] smbd/server_exit.c:169(exit_server_common)
 Abnormal server exit: open_sockets_smbd() failed
[2013/08/16 14:47:59.193249,  0] smbd/server_exit.c:171(exit_server_common)
[2013/08/16 14:47:59.196071,  0] lib/util.c:1220(log_stack_trace)
 BACKTRACE: 4 stack frames:
  #0 /usr/sbin/smbd'log_stack_trace+0x20 [0x4fe6e8]
  #1 /usr/sbin/smbd'exit_server_common+0x3c4 [0x855604]
  #2 /usr/sbin/smbd'main+0x1154 [0x855028]
  #3 /usr/sbin/smbd'_start+0x108 [0xf65e0]
[2013/08/16 14:47:59.196254,  0] lib/fault.c:372(dump_core)
 dumping core in /var/samba/log/cores/smbd

Executing the pstack command on the smbd core file displayed the following stack:


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.