LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Smb service fails after an update with yum (https://www.linuxquestions.org/questions/linux-newbie-8/smb-service-fails-after-an-update-with-yum-465109/)

neddis 07-18-2006 03:02 AM

Smb service fails after an update with yum
 
I am trying to use samba to set up a file server that will house the 'My Documents' folders for the windows machines on my home network. I am running Fedora Core 5 and I was trying to get SWAT to work so I used yum to update to the newest version of samba and installed swat as well. Now the smb service says "FAILED" when I try to restart it. I uset testparm onthe smb.conf file and it says the file is OK. The firewall is turned off. Any suggestions? I am a total linux newbie, so please be nice. :) Thanks

ethics 07-18-2006 03:27 AM

FAILED when you restart it or start/stop? maybe it isn't running to begin with? try starting it first

billymayday 07-18-2006 03:58 AM

Good point ethics. I just updated Samba on FC5, and for some reason, the requisite service were turned off in chkconfig.

neddis - if ethics is correct and it's the stopping part of restart that doesn't work, try

chkconfig --list | grep smb

to see if the service is set to start automatically

Also, the firewall can stop you accessing anything, but it won't cause Samba to fail per se.

neddis 07-18-2006 12:32 PM

Thanks for the responses. I get this when I do the chkconfig --list | grep smb
smb 0:off 1:off 2:off 3:on 4:off 5:off 6:off
I don't know what that means though...


When I restart it, both the shutdown and start fail for SMB but NMB is OK.

neddis 07-18-2006 03:59 PM

I fixed it. evidently there was a dependency that yum hadn't taken care of. I used 'yum -y upgrade' and updated everything and now it works. It doesn't work quite like I want it to, but that's for another thread. Thanks!

Here is the other thread:
http://www.linuxquestions.org/questi...05#post2340405


All times are GMT -5. The time now is 04:49 AM.