[Samba] nmbd fails to start - permission denied
novosirj at umdnj.edu
Wed Oct 1 19:12:28 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hopefully this is not taken as rude: Disabling/setting permissive
SELinux (particularly for an app that ships with the distribution) is
the WRONG way to go, and is not required. It's a good way to figure if
it is SELinux that is the problem, but the real solution is to fix the
problems with the setup. Frequently it's nothing more than using
restorecon or chcon. None of this stuff is rocket science, and is there
to help keep admins from getting called in to clean up after intruders.
Onotsky, Steve x55328 wrote:
> Danke, Volker. SELinux bit me in the ass again; I set it to permissive,
> rebooted, and voila - nmbd starting.
> I wonder why it fails during boot/via the script, but runs manually...
> -----Original Message-----
> From: samba-bounces+steve.onotsky=broadridge.com at lists.samba.org
> [mailto:samba-bounces+steve.onotsky=broadridge.com at lists.samba.org] On
> Behalf Of Volker Lendecke
> Sent: October 1, 2008 11:10
> To: Onotsky, Steve x55328
> Cc: samba at lists.samba.org
> Subject: Re: [Samba] nmbd fails to start - permission denied
> On Tue, Sep 30, 2008 at 10:36:49PM -0400, Onotsky, Steve x55328 wrote:
>> Once all of that was in place, I started up Samba via the Red Hat
>> startup script, but nmbd failed to load. The nmbd.log file indicates
>> that it can't open the smb.conf file, with the error "Permission
>> denied". I've verified that unprivileged users can change into the
>> directory where the config file resides, and I've given full (777)
>> permissions to the file. It also fails at boot time.
> Is it possible that you have something like SELinux
> installed? If yes, please deactivate that and try again.
> This message and any attachments are intended only for the use of the addressee and
> may contain information that is privileged and confidential. If the reader of the
> message is not the intended recipient or an authorized representative of the
> intended recipient, you are hereby notified that any dissemination of this
> communication is strictly prohibited. If you have received this communication in
> error, please notify us immediately by e-mail and delete the message and any
> attachments from your system.
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II
|$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba