Samba With Patch 119757-24 installed enters maintenance mode. smbd log shows error rpc_srv_register: Failed to call the svcctl init function!

(Doc ID 1486200.1)

Last updated on JULY 29, 2016

Applies to:

Solaris Operating System - Version 10 3/05 to 10 1/13 U11 [Release 10.0]
Information in this document applies to any platform.

Symptoms

A Solaris 10 system patched with Samba Patch 119757-24 that upgrades Samba to version 3.6.6 that has the svcctl list = option set in the smb.conf file will enter maintenance mode. The following error will be recorded in the log.smbd file:

[2012/08/21 15:31:20.202452, 0] rpc_server/srv_pipe_register.c:222(rpc_srv_register) rpc_srv_register: Failed to call the svcctl init function!

 

The /etc/samba/smb.conf will have the svcctl list = option set. For example:

   svcctl list = apache

The the Samba service is started the Samba service will enter maintenance mode.

# svcadm disable samba
# svcs samba
STATE          STIME    FMRI
disabled       13:45:54 svc:/network/samba:default
# svcadm enable samba
# svcs samba
STATE          STIME    FMRI
online         13:46:07 svc:/network/samba:default
# svcs samba
STATE          STIME    FMRI
maintenance    13:46:09 svc:/network/samba:default

 

The /var/samba/log/log.smbd file will record errors such as the following:

[2012/08/21 13:46:09,  0] smbd/server.c:1053(main)
  smbd version 3.6.6 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011

[2012/08/21 13:46:09.473656,  0] rpc_server/srv_pipe_register.c:222(rpc_srv_register)
  rpc_srv_register: Failed to call the svcctl init function!

 

Changes

The system this was reported on was upgraded from Solaris Samba Patch 119757-21, Samba version 3.5.10, to Patch 119757-24, Samba version 3.6.6, so it is possible this issue could be encountered with the early patch 119757-22, that updates to Samba 3.6.4. this is to be confirmed.

 

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