Em 12-05-2014 18:33, Joseph Hesse escreveu: > Hello, > > My only hard drive failed on a private server so I had to replace it and > reinstall Centos 6.5 and Samba. > My smb.conf file is OK according to "testparm". > I configured smb and nmb, with chkconfig, to start when the system boots. > > After the system boots if I do "service nmb status" I get the response > "nmbd dead but pid file exists". > I can delete the pid file manually and start nmb with "service nmb start". > The problem is that when the system shuts down and restarts I still find > that "nmbd dead but pid file exists". > > Any suggestions on how to fix the problem would be much appreciated. Tried looking at samba logs at /var/log/samba/ or even /var/log/messages for related logs? Out in the blue is hard to guess how to fix because we don't know what's broken.. You may want to: 1. tail -f /var/log/samba/* /var/log/messages | less 2. service nmb restart 3. service nmb status if it's dead again, check the tail output Cheers, Marcelo