CIFS will not stay loaded

  • 7009729
  • 11-Nov-2011
  • 27-Apr-2012

Environment

Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 3

Situation

rcnovell-cifs start starts the CIFS daemon but it immediately exits and becomes "unused"

The cifs.log shows:
Nov  2 10:54:35 fs01 CIFS: EVENT: ENTRY:  ********** CIFS server started ************
Nov  2 10:54:54 fs01 CIFS[20027]: WARNING: ENTRY: Auditing interface not initialized.
Nov  2 10:54:54 fs01 CIFS[20027]: ERROR: ENTRY: CIFSNDSReadAttr: Error in ReadAttr -603
Nov  2 10:54:54 fs01 CIFS[20027]: ERROR: ENTRY: CIFSNDSGetCIFSServerName: Read attribute failed: -603
Nov  2 10:54:54 fs01 CIFS[20027]: WARNING: ENTRY: Auditing interface not initialized.
Nov  2 10:54:54 fs01 CIFS[20027]: WARNING: ENTRY:  Interface lo is skipped from populating for name resolution
Nov  2 10:54:54 fs01 CIFS[20027]: WARNING: ENTRY:  Interface sit0 is skipped from Populating for name resolution
Nov  2 10:54:54 fs01 CIFS[20027]: WARNING: ENTRY:  Interface lo is skipped from populating for name resolution
Nov  2 10:54:54 fs01 CIFS[20027]: WARNING: ENTRY:  Interface lo is skipped from populating for name resolution
Nov  2 10:54:54 fs01 CIFS[20027]: WARNING: RPC: requestNumber: fadebad1 events: 3ff domainpath /tmp/.ncp2cifs
Nov  2 10:54:54 fs01 CIFS[20027]: EVENT: ENTRY: CIFS context list initialized
Nov  2 10:54:54 fs01 CIFS[20658]: CRITICAL: NBNS: Socket creation and bind failed, systeam Error: 98
Nov  2 10:54:54 fs01 CIFS[20027]: CRITICAL: BROWSER: StartUdpPort138Server: Failed to create and bind socket. Error: 98
Nov  2 10:54:54 fs01 CIFS[20027]: ERROR: BROWSER: Browser_epollDel: Failed to remove descriptor: 0 from the epoll list. Error: 9
Nov  2 10:54:54 fs01 CIFS[20027]: ERROR: BROWSER: Browser_epollDel: Failed to remove descriptor: 0 from the epoll list. Error: 9
Nov  2 10:54:54 fs01 CIFS[20027]: CRITICAL: BROWSER: CIFS Browser intialization failed, shuttingdown the cifsd gracefully
Nov  2 10:54:54 fs01 CIFS[20027]: CRITICAL: ENTRY: Browser initialization failed.

Resolution

The nmbd daemon is running and using ports that CIFS requires.
Stop the nmbd daemon
Load CIFS

Additional Information

The customer had first installed Samba and then uninstalled it and installed CIFS.
Samba loaded the nmbd daemon and it was still running after the uninstall of Samba.
CIFS could not run with another process using it's required ports.