problem with starting Samba service
System: Fedora core 4
Tried to start the Samba server serveral times (tried from GUI: server settings -> services, and checked smb, then clicked start, also tried from terminal by typing service smb start). Error message says: "smb failed. The error was: Starting SMB services: [FAILED] Starting NMB services: " Status is: "smbd is stopped nmbd (pid 2528) is running..." . Everytime when system boots up, Samba service also failed to start. uninstalled and reinstalled Samba server, the problem still exists. Please help me, thanks in advance! |
# /etc/init.d/samba
That do anything? |
Quote:
Starting SMB services: /etc/init.d/functions: line 83: 23749 Aborted $nice $* [FAILED] Starting NMB services: |
|
(disclaimer) Below is a shotgun approach. See later posts for better solutions.
From `man samba_selinux` : "You can disable SELinux protection for the samba daemon by executing:" Code:
setsebool -P smbd_disable_trans 1 |
problem with starting Samba service
Check the context of secrets.tdb and smbpasswd they both need to be set to samba_secrets_t also check booleans.local file there should be a line that reads "samba_enable_home_dirs=1" without the quotes. This will allow SELinux to work proporly with Samba and visa-versa...
|
disabling SE_Linux at FC 4
I got the same error. here is what I did
at Desktop->System_Setting->Security Level disbaled the SELinux. And restarted the smb - it is working for me now. |
All times are GMT -5. The time now is 10:20 AM. |