Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

smb-server error 2140 kernel bind error

Scott S.Jun 14 2016 — edited Sep 21 2016

# pkg list | grep smb

service/file-system/smb                           0.5.11-0.175.3.0.0.30.0    i--

system/file-system/smb                            0.5.11-0.175.3.1.0.3.0     i--

# svcadm enable -r smb/server

# svcs -a | grep smb

online         18:51:57 svc:/network/smb:default

online         22:26:45 svc:/network/smb/client:default

maintenance    22:26:47 svc:/network/smb/server:default


# svcs -xv

svc:/network/smb/server:default (smbd daemon)

State: maintenance since 14 June 2016 22:26:47 UTC

Reason: Start method exited with $SMF_EXIT_ERR_FATAL.

   See: http://support.oracle.com/msg/SMF-8000-KS

   See: man -M /usr/share/man -s 1M smbd

   See: /var/svc/log/network-smb-server:default.log

Impact: This service is not running.

cat /var/svc/log/network-smb-server:default.log

[ Jun 14 10:29:02 Disabled. ]

[ Jun 14 10:29:02 Rereading configuration. ]

[ Jun 14 22:26:41 Enabled. ]

[ Jun 14 22:26:45 Executing start method ("/lib/svc/method/svc-smbd start"). ]

smbd: smbd_share_add_transient: c$: error 2140

smbd: kernel bind error: No such file or directory

smbd: daemon initialization failed

[ Jun 14 22:26:47 Method "start" exited with status 95. ]

Had a look but what does this error mean? I'm using a minimal install so am I missing something required for smb to work? Also have no other conflicting services like samba either.

zfs get share shows a share, but cat /etc/dfs/sharetab shows nothing.

Following steps like Configuring ZFS SMB Sharing in Oracle Solaris 11 for basic setup.


and from https://docs.oracle.com/cd/E26502_01/pdf/E29004.pdf

# sharectl get smb

system_comment=

max_workers=1024

max_connections=32768

netbios_scope=

client_lmauth_level=4

server_lmauth_level=4

keep_alive=900

wins_server_1=

wins_server_2=

wins_exclude=

client_signing_required=false

server_signing_enabled=false

server_signing_required=false

client_maxprotocol=1

server_maxprotocol=2

restrict_anonymous=false

enforce_vczero=true

pdc=

ads_site=

ddns_enable=false

dns_suffix=

autohome_map=/etc

ipv6_enable=true

print_enable=false

map=

unmap=

disposition=


Looks like some protocol is missing. What do I need to install then?

(from dmesg)

smbd[21846]: [ID 801593 daemon.error] SMB: c$:/var/smb/cvol: error publishing share: protocol not installed

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 19 2016
Added on Jun 14 2016
6 comments
1,898 views