smb.service falha ao iniciar

1. smb.service falha ao iniciar

Ramon Corrêa Fernandes
ramonfernandes

(usa Outra)

Enviado em 20/12/2016 - 08:52h

Olá,

Estou tentando criar um servidor para compartilhamento de arquivos utilizando samba no CentOS 7, algo que (na minha cabeça) deveria ser fácil
porém quando tento iniciar o serviço retorna a seguinte mensagem
Redirecting to /bin/systemctl start  smb.service
Job for smb.service failed because the control process exited with error code. See "systemctl status smb.service" and "journalctl -xe" for details.


Obviamente fui verificar o status do serviço e verifiquei os seguintes erros

smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Ter 2016-12-20 08:44:27 BRST; 15s ago
Process: 3036 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=1/FAILURE)
Main PID: 3036 (code=exited, status=1/FAILURE)

Dez 20 08:44:27 liga03 smbd[3036]: /usr/sbin/smbd: /usr/lib64/samba/libkrb5samba-samba4.so: version `SAMBA_4.5.2' not found (required by /lib/libsamdb.so.0)
Dez 20 08:44:27 liga03 smbd[3036]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-security-samba4.so: version `SAMBA_4.5.2' not found (required by /lib/libsamdb.so.0)
Dez 20 08:44:27 liga03 smbd[3036]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libcli-ldap-common-samba4.so)
Dez 20 08:44:27 liga03 smbd[3036]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-security-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libcli-ldap-common-samba4.so)
Dez 20 08:44:27 liga03 smbd[3036]: /usr/sbin/smbd: /usr/lib64/samba/libasn1util-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libcli-ldap-common-samba4.so)
Dez 20 08:44:27 liga03 smbd[3036]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-security-samba4.so: version `SAMBA_4.5.2' not found (required by /lib/libndr-krb5pac.so.0)
Dez 20 08:44:27 liga03 smbd[3036]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libinterfaces-samba4.so)
Dez 20 08:44:27 liga03 smbd[3036]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libserver-role-samba4.so)
Dez 20 08:44:27 liga03 smbd[3036]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libflag-mapping-samba4.so)
Dez 20 08:44:27 liga03 smbd[3036]: /usr/sbin/smbd: /usr/lib/samba/libcli-ldap-common-samba4.so: version `SAMBA_4.4.4' not found (required by /usr/lib64/samba/libcli-cldap-samba4.so)


Aparentemente é algum erro nos pacotes, porem os pacotes estão no local especificado e updates não resolvem o problema (removi os pacotes e baixei novamente algumas vezes e nada).

Poderiam me ajudar?
Claramente sou bem iniciante e peço desculpa caso tenha feito algo errado
Desde já agradeço.


  


2. Re: smb.service falha ao iniciar

Marcos Souza
IUseLinux

(usa Slackware)

Enviado em 20/12/2016 - 09:47h

Que isso jovem? Não se procupa de ter feito algo errado, estamos aqui para ajudar instale o samba pelo site. samba.org baixe e siga os passos de instalaçao
"Talk is cheap, show me the code"



3. Re: smb.service falha ao iniciar

Marcos Souza
IUseLinux

(usa Slackware)

Enviado em 20/12/2016 - 09:49h

https://www.samba.org/samba/download/ o site para download clique em samba-latest.tar.gz
"Talk is cheap, show me the code"



4. Re: smb.service falha ao iniciar

Marcos Souza
IUseLinux

(usa Slackware)

Enviado em 20/12/2016 - 09:52h

Mas me parece que esta acontecendo com os usuarios do CentOS, tipo todos.
"Talk is cheap, show me the code"



5. Re: smb.service falha ao iniciar

Ramon Corrêa Fernandes
ramonfernandes

(usa Outra)

Enviado em 20/12/2016 - 10:35h

Olá,

Mesmo baixando o arquivo direto do site e instalando (tar - make - make install) ainda assim segue o mesmo erro

service smb status
Redirecting to /bin/systemctl status smb.service
● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Ter 2016-12-20 10:35:33 BRST; 2s ago
Process: 26502 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=1/FAILURE)
Main PID: 26502 (code=exited, status=1/FAILURE)

Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libkrb5samba-samba4.so: version `SAMBA_4.5.2' not found (required by /lib/libsamdb.so.0)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-security-samba4.so: version `SAMBA_4.5.2' not found (required by /lib/libsamdb.so.0)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libcli-ldap-common-samba4.so)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-security-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libcli-ldap-common-samba4.so)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libasn1util-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libcli-ldap-common-samba4.so)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-security-samba4.so: version `SAMBA_4.5.2' not found (required by /lib/libndr-krb5pac.so.0)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libinterfaces-samba4.so)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libserver-role-samba4.so)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libflag-mapping-samba4.so)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib/samba/libcli-ldap-common-samba4.so: version `SAMBA_4.4.4' not found (required by /usr/lib64/samba/libcli-cldap-samba4.so)



6. Re: smb.service falha ao iniciar

Ramon Corrêa Fernandes
ramonfernandes

(usa Outra)

Enviado em 20/12/2016 - 10:37h

IUseLinux escreveu:

Mas me parece que esta acontecendo com os usuarios do CentOS, tipo todos.
"Talk is cheap, show me the code"


Ish, eu não encontrei ninguém com o mesmo problema



7. Re: smb.service falha ao iniciar

Marcos Souza
IUseLinux

(usa Slackware)

Enviado em 20/12/2016 - 10:43h

ramonfernandes escreveu:

IUseLinux escreveu:

Mas me parece que esta acontecendo com os usuarios do CentOS, tipo todos.
"Talk is cheap, show me the code"


Ish, eu não encontrei ninguém com o mesmo problema


https://bugs.centos.org/view.php?id=12392 sim tem gente com o mesmo problema.
pelo menos parece

"Talk is cheap, show me the code"



8. Re: smb.service falha ao iniciar

Marcos Souza
IUseLinux

(usa Slackware)

Enviado em 20/12/2016 - 10:45h

ramonfernandes escreveu:

Olá,

Mesmo baixando o arquivo direto do site e instalando (tar - make - make install) ainda assim segue o mesmo erro

service smb status
Redirecting to /bin/systemctl status smb.service
● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Ter 2016-12-20 10:35:33 BRST; 2s ago
Process: 26502 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=1/FAILURE)
Main PID: 26502 (code=exited, status=1/FAILURE)

Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libkrb5samba-samba4.so: version `SAMBA_4.5.2' not found (required by /lib/libsamdb.so.0)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-security-samba4.so: version `SAMBA_4.5.2' not found (required by /lib/libsamdb.so.0)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libcli-ldap-common-samba4.so)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-security-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libcli-ldap-common-samba4.so)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libasn1util-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libcli-ldap-common-samba4.so)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-security-samba4.so: version `SAMBA_4.5.2' not found (required by /lib/libndr-krb5pac.so.0)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libinterfaces-samba4.so)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libserver-role-samba4.so)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libflag-mapping-samba4.so)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib/samba/libcli-ldap-common-samba4.so: version `SAMBA_4.4.4' not found (required by /usr/lib64/samba/libcli-cldap-samba4.so)


Tente http://www.linuxfromscratch.org/blfs/view/cvs/basicnet/samba.html

"Talk is cheap, show me the code"



9. Re: smb.service falha ao iniciar

Ramon Corrêa Fernandes
ramonfernandes

(usa Outra)

Enviado em 20/12/2016 - 11:32h

IUseLinux escreveu:

ramonfernandes escreveu:

Olá,

Mesmo baixando o arquivo direto do site e instalando (tar - make - make install) ainda assim segue o mesmo erro

service smb status
Redirecting to /bin/systemctl status smb.service
● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Ter 2016-12-20 10:35:33 BRST; 2s ago
Process: 26502 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=1/FAILURE)
Main PID: 26502 (code=exited, status=1/FAILURE)

Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libkrb5samba-samba4.so: version `SAMBA_4.5.2' not found (required by /lib/libsamdb.so.0)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-security-samba4.so: version `SAMBA_4.5.2' not found (required by /lib/libsamdb.so.0)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libcli-ldap-common-samba4.so)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-security-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libcli-ldap-common-samba4.so)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libasn1util-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libcli-ldap-common-samba4.so)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-security-samba4.so: version `SAMBA_4.5.2' not found (required by /lib/libndr-krb5pac.so.0)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libinterfaces-samba4.so)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libserver-role-samba4.so)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib64/samba/libsamba-debug-samba4.so: version `SAMBA_4.5.2' not found (required by /usr/lib/samba/libflag-mapping-samba4.so)
Dez 20 10:35:33 liga03 smbd[26502]: /usr/sbin/smbd: /usr/lib/samba/libcli-ldap-common-samba4.so: version `SAMBA_4.4.4' not found (required by /usr/lib64/samba/libcli-cldap-samba4.so)


Tente http://www.linuxfromscratch.org/blfs/view/cvs/basicnet/samba.html

"Talk is cheap, show me the code"


Ainda não :/


10. parametro "security = share"

Kleverson Mendes
kleversonmendes

(usa CentOS)

Enviado em 08/02/2017 - 10:49h

Olá pessoal, eu estou com o mesmo problema. Só que identifiquei que meu serviço não sobe, toda vez que deixo o parametro "security = share". Se mudo para "security = user", funciona. Mas não quero prender a login de usuario, tanto de linux, quanto de AD. Olhando o arquivo example, vi que o parametro "share" está obsoleto, mas não fala que não poderia usar.
Espero que a informação possa nos ajudar a solucionar o problema.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts