smbd dead but pid file exists "frustration"
Ken Rossman
rossman at columbia.edu
Thu Sep 18 18:36:04 UTC 2008
You are looking for the file smbd.pid in this case. Shut down smbd
and nmbd
(i.e. shut down samba), then look for smbd.pid and nmbd.pid, and
delete them
when you find them. If samba is shut down, these files should not
exist.
Likely, they are in:
SAMBATEMPLOC/lib/<servername>/*.pid
Where SAMBATEMPLOC is the location where Samba keeps temp files it needs
while running (e.g. /usr/lib/samba, /usr/local/samba, /var/lib/
samba), and
<servername> is the name of your Samba server host.
Ken
> Samba will not start on a server of mine:
>
> sudo /sbin/service smb start
> Starting SMB services: [ OK ]
> Starting NMB services: [ OK ]
>
> sudo /sbin/service smb status
> smbd dead but pid file exists
> nmbd (pid 13503) is running...
>
> cat smb.conf
> [global]
> workgroup = global
> server string = Samba Server Version %v
> netbios name = devserver
> server string = Samba Server
> username map = /etc/samba/smbusers
> read only = No
> local master = No
> dos filetime resolution = yes
>
> [tmp]
> path = /tmp
>
> testparm
> Load smb config files from /etc/samba/smb.conf
> Processing section "[tmp]"
> Loaded services file OK.
> Server role: ROLE_STANDALONE
>
> sudo /sbin/service smb stop
> Shutting down SMB services: [FAILED]
> Shutting down NMB services: [ OK ]
>
> pwd
> /var/run
>
> ll | grep smb
> (nothong)
>
> Yet.. it still will not start.. sometimes it has.. but then
> restarting it
> (with no changes to smb.conf) then it will not start.
>
> What gives?
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
More information about the redhat-list
mailing list