[Samba] Samba on RHEL issue

Shuaib Ilyas (shilyas) shilyas at cisco.com
Mon Jul 13 15:40:44 MDT 2009

Thanks for the reply.

I followed the steps but it still did not work. 

In step 2, there were no smbd.pid or nmbd.pid files found.

In step 3, even after starting the service, when checking status, smbd
id dead.

Even after the reboot, same status.


-----Original Message-----
From: MargoAndTodd [mailto:margoandtodd at gmail.com] 
Sent: Monday, July 13, 2009 1:19 PM
To: Shuaib Ilyas (shilyas)
Cc: samba at lists.samba.org
Subject: Re: [Samba] Samba on RHEL issue

Shuaib Ilyas (shilyas) wrote:
> Hi,
> I am trying to install samba on the RHEL. The installation completes
> after that I get the smbd dead message upon checking the status:
> [root at usps-dc1-pc12 share]# 
> [root at usps-dc1-pc12 share]# service smb status
> smbd dead but pid file exists
> nmbd (pid 8078) is running...
> [root at usps-dc1-pc12 share]# 

Hi Shuaib,

Seems to me I had the same problem on CentOS 5.2 a
few months back.

Try this:

1) stop the service:
         /etc/rc.d/init.d/smb stop

2) erase any stray PID's:
         rm /var/run/smbd.pid
         rm /var/run/nmbd.pid

3) restart the service:
         /etc/rc.d/init.d/smb start

If that does not work, try rebooting.


More information about the samba mailing list