Samba service fails to start

Solution Verified - Updated -

Issue

  • Unable to start samba service
  • Samba service fails to start
  • Samba service is failing to start due to incorrect SELinux context on file /etc/samba/smb.conf
Apr 10 11:25:11 host.example.com setroubleshoot[4193935]: SELinux is preventing /usr/sbin/smbd from open access on the file /etc/samba/smb.conf.
  • Samba service start fails with error smb: unrecognized service
  • smbd[4404]: open_sockets_smbd: No sockets available to bind to.

Environment

  • Red Hat Enterprise Linux
  • samba

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content