Srs, o meu samba no ubuntu 14 não está parando, acredito que algum processo
o starta automaticamente mas não encontro processos de  start no syslog.
Evidencias :
root@pc-desktop:~# service samba status
 * nmbd is running
 * smbd is running
root@pc-desktop:~# /etc/init.d/samba stop
root@pc-desktop:~# /etc/init.d/samba status
 * nmbd is running
 * smbd is running
root@pc-desktop:~# /etc/init.d/nmbd stop
root@pc-desktop:~# /etc/init.d/nmbd status
 * nmbd is running
root@pc-desktop:~# /etc/init.d/smbd stop
root@pc-desktop:~# /etc/init.d/smbd status
 * smbd is running
root@pc-desktop:~#
root@pc-desktop:/var/run/samba# ps -ef |grep -i nmbd
root      4618     1  0 16:54 ?        00:00:00 nmbd -D
root      4856 22042  0 17:05 pts/10   00:00:00 grep --color=auto -i nmbd
root@pc-desktop:/var/run/samba# ps -ef |grep -i smbd
root      4636     1  0 16:54 ?        00:00:00 smbd -F
root      4638  4636  0 16:54 ?        00:00:00 smbd -F
root      4859 22042  0 17:05 pts/10   00:00:00 grep --color=auto -i smbd
root@pc-desktop:/var/run/samba#

root@pc-desktop:/var/run/samba# ps -ef |grep -i smbd
root      4866     1  0 17:06 ?        00:00:00 smbd -F
root      4868  4866  0 17:06 ?        00:00:00 smbd -F
root      4871 22042  0 17:06 pts/10   00:00:00 grep --color=auto -i smbd
root@pc-desktop:/var/run/samba# killall smbdcasa      4860  3578  0 17:06
pts/24   00:00:00 tail -f log.smbd
root      4875     1  0 17:06 ?        00:00:00 smbd -F
root      4877  4875  0 17:06 ?        00:00:00 smbd -F
root      4880 22042  0 17:06 pts/10   00:00:00 grep --color=auto -i smbd
root@pc-desktop:/var/run/samba# killall smbd
Notem que existe a alteração do numero dos processos após o kill, o que
para mim diz que os processos morreram e iniciaram.


Logs :
[2014/11/23 17:09:06.082014,  0] ../lib/util/pidfile.c:153(pidfile_unlink)
  Failed to delete pidfile /var/run/samba/smbd.pid. Error was No such file
or directory
[2014/11/23 17:09:06,  0] ../source3/smbd/server.c:1198(main)
  smbd version 4.1.6-Ubuntu started.
  Copyright Andrew Tridgell and the Samba Team 1992-2013
[2014/11/23 17:09:06.102514,  0] ../source3/smbd/server.c:1278(main)
  standard input is not a socket, assuming -D option


root@pc-desktop:/var/run/samba# ls -l /var/run/samba/smbd.pid
-rw-r--r-- 1 root root 5 Nov 23 17:12 /var/run/samba/smbd.pid
root@pc-desktop:/var/run/samba#

Alguém ja reparou neste problema?


-- 
Atenciosamente,
Rodrigo da Silva Cunha

Responder a