smbd Process Core Dumps And Samba Service Enters Maintenance Mode When Starting - Samba log reports Abnormal server exit: open_sockets_smbd() failed
Last updated on JULY 29, 2016
Applies to:
Solaris Operating System - Version 11 11/11 to 11.2 [Release 11.0]Information in this document applies to any platform.
Symptoms
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.
Copyright Andrew Tridgell and the Samba Team 1992-2011
[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:
# pstack core_server_smbd_0_0_1376914165_25620
core 'core_server_smbd_0_0_1376914165_25620' of 25620: /usr/sbin/smbd -D
ff2ba400 _lwp_kill (6, ffffffef, ffffffec, ffbff908, 5, 6) + 8
ff23ac6c abort (26898, ff35e1f0, 6, 1, ff35fa80, 0) + 108
0085560c exit_server_common (fffefde8, ffddfe24, 10000, 1, 220000, 10000) + 3cc
00855028 main (ac0850, 1, a78f8c, a8a000, 1, 1) + 1154
000f65e0 _start (0, 0, 0, 0, 0, 0) + 108
Cause
Sign In with your My Oracle Support account |
|
Don't have a My Oracle Support account? Click to get started |
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms