[CentOS-pt-br] Samba!

Fabio Fraga [DS] fabio em dataspace.com.br
Segunda Maio 13 15:22:10 UTC 2019


Opa.

Veja se te ajuda.

https://www.linuxquestions.org/questions/linux-newbie-8/cannot-start-nmb-service-4175574981/

Caso não, manda pra nós o # journalctl -f -u nmbd



*Fabio Fraga Machado*
*Network & System Administrator / DevOPs*
LinkedIn: Meu LinkedIn <https://www.linkedin.com/in/fabio-fraga-machado/>


On Mon, May 13, 2019 at 11:33 AM Glenio Cortes Himmen <
glenio.himmen em gmail.com> wrote:

> Estou com problemas no start do samba.
>
> Abaixo o log.
>
> Job for nmb.service failed because the control process exited with error
> code. See "systemctl status nmb.service" and "journalctl -xe" for details.
> ● smb.service - Samba SMB Daemon
>     Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor
> preset: disabled)
>     Active: active (running) since Seg 2019-05-13 11:29:46 -03; 1s ago
>       Docs: man:smbd(8)
>             man:samba(7)
>             man:smb.conf(5)
>   Main PID: 16344 (smbd)
>     Status: "smbd: ready to serve connections..."
>      Tasks: 5
>     CGroup: /system.slice/smb.service
>             ├─16344 /usr/sbin/smbd --foreground --no-process-group
>             ├─16355 /usr/sbin/smbd --foreground --no-process-group
>             ├─16356 /usr/sbin/smbd --foreground --no-process-group
>             └─16385 /usr/sbin/smbd --foreground --no-process-group
>
> Mai 13 11:29:37 notgchredes systemd[1]: Starting Samba SMB Daemon...
> Mai 13 11:29:46 notgchredes smbd[16344]: [2019/05/13 11:29:46.624330,
> 0] ../lib/util/become_daemon.c:138(daemon_ready)
> Mai 13 11:29:46 notgchredes smbd[16344]:   daemon_ready: STATUS=daemon
> 'smbd' finished starting up and ready to serve connections
> Mai 13 11:29:46 notgchredes systemd[1]: Started Samba SMB Daemon.
> ● nmb.service - Samba NMB Daemon
>     Loaded: loaded (/usr/lib/systemd/system/nmb.service; enabled; vendor
> preset: disabled)
>     Active: failed (Result: exit-code) since Seg 2019-05-13 11:29:46
> -03; 751ms ago
>       Docs: man:nmbd(8)
>             man:samba(7)
>             man:smb.conf(5)
>    Process: 16374 ExecStart=/usr/sbin/nmbd --foreground
> --no-process-group $NMBDOPTIONS (code=exited, status=1/FAILURE)
>   Main PID: 16374 (code=exited, status=1/FAILURE)
>     Status: "daemon failed to start: NMBD failed when creating subnet
> lists"
>      Error: 13 (Permissão negada)
>
> Mai 13 11:29:46 notgchredes nmbd[16374]:   Error = Não foi possível
> acessar o endereço requisitado
> Mai 13 11:29:46 notgchredes nmbd[16374]: [2019/05/13 11:29:46.872555,
> 0] ../source3/nmbd/nmbd_subnetdb.c:113(make_subnet)
> Mai 13 11:29:46 notgchredes nmbd[16374]: nmbd_subnetdb:make_subnet()
> Mai 13 11:29:46 notgchredes nmbd[16374]:     Failed to open nmb socket
> on interface 192.168.0.8 for port 137.  Error was Não foi possível
> a…equisitado
> Mai 13 11:29:46 notgchredes nmbd[16374]: [2019/05/13 11:29:46.872642,
> 0] ../lib/util/become_daemon.c:124(exit_daemon)
> Mai 13 11:29:46 notgchredes nmbd[16374]:   exit_daemon: STATUS=daemon
> failed to start: NMBD failed when creating subnet lists, error code 13
> Mai 13 11:29:46 notgchredes systemd[1]: nmb.service: main process
> exited, code=exited, status=1/FAILURE
> Mai 13 11:29:46 notgchredes systemd[1]: Failed to start Samba NMB Daemon.
> Mai 13 11:29:46 notgchredes systemd[1]: Unit nmb.service entered failed
> state.
> Mai 13 11:29:46 notgchredes systemd[1]: nmb.service failed.
> Hint: Some lines were ellipsized, use -l to show in full.
>
> Alguém pode me dar uma dica?
>
> --
> Glênio Côrtes Himmen
> glenio.himmen em gmail.com
> https://www.curriculum.com.br/ucn/p205993-734
>
> _______________________________________________
> CentOS-pt-br mailing list
> CentOS-pt-br em centos.org
> https://lists.centos.org/mailman/listinfo/centos-pt-br
>
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://lists.centos.org/pipermail/centos-pt-br/attachments/20190513/be1b6dab/attachment.html>


Mais detalhes sobre a lista de discussão CentOS-pt-br