Re: smbd dead but pid file exists "frustration"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux