Solaris 10 Samba service may enter maintenance mode due to Solaris print services failures

(Doc ID 1360695.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.
***Checked for relevance on 10-Sep-2013***

Symptoms

The Solaris Samba SMF service can randomly enter maintenance mode.

For example on Solaris 10 systems with Samba versions 3.5.5 and later installed, the SMF samba service may enter maintenance mode if there is a incorrect Solaris print services configuration or failure.

Reviewing a log.smbd file at Samba log level 3 will reveal errors such as the following:


[2011/08/15 12:54:04.888099, 3] printing/pcap.c:136()
reloading printcap cache
Failed to contact service for Printer_name: service-unavailable
Failed to contact service for Printer_name: service-unavailable

[2011/08/15 13:10:00.406618, 3] printing/print_svid.c:71()
No Printers found!!!
[2011/08/15 13:10:00.407815, 3] printing/pcap.c:243()
reload status: error
[2011/08/15 13:10:00.408762, 3] printing/pcap.c:136()
reloading printcap cache
Failed to contact service for Printer_name: service-unavailable
Failed to contact service for Printer_name: service-unavailable

[2011/08/15 13:25:55.696701, 3] printing/print_svid.c:71()
No Printers found!!!


Earlier versions of Samba, 3.0.3x, on systems with with Samba Patch 119757-19 (SPARC) 119758-19 (X86) or earlier may record slight different messages than the above in addition to the log level set in the smb.conf will influence the messages record in the log.smbd.



Changes

Samba will attempt to automatically load and connect to LP print services on Solaris systems. If there are issues with the LP, printing environment it can result in the Samba service to go into maintenance mode.


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