Vinicius Bones Silva
2017-Feb-08 16:16 UTC
[Samba] Module error after Samba update - Resolved?
Probably a ld issue. It might have not run in the rpm's post script. Do a ldd /usr/lib64/samba/libsmbregistry-samba4.so /usr/lib64/samba/vfs/acl_xattr.so and check if either are reporting missing dependencies. Em 07/02/2017 21:25, John Gardeniers via samba escreveu:> This is really weird. The error below occurred for about 10 minutes after the > post-update reboot and then went away. As far as I've been able to test, the DC in > question is functioning normally now. > > regards, > John > > > On 07/02/17 16:07, John Gardeniers via samba wrote: >> I've just done a yum update and a reboot on one of our CentOS 7 DCs, which has taken >> Samba from sernet-samba-4.5.1-6 to sernet-samba-4.5.5-13. I now notice that the Samba >> log files contain errors since the update. >> >> The error message is: >> >> "../lib/util/modules.c:48(load_module) Error loading module >> '/usr/lib64/samba/vfs/acl_xattr.so': /usr/lib64/samba/libsmbregistry-samba4.so: version >> `SAMBA_4.5.5_SERNET_REDHAT_13.EL7' not found (required by >> /usr/lib64/samba/vfs/acl_xattr.so)" >> >> Obviously the pre-update dependency checks didn't work correctly. What is the >> easiest/best way to resolve it. Can I just roll back the Samba version on that box or >> is something else required? In the meantime, should I shut down that DC to prevent user >> problems? >> >> regards, >> John >> >> > >-- Vinicius Silva SOC BRA: + 55 51 2117.1000 | 55 11 5521.2021 USA: + 1 888 259.5801 vbs at e-trust.com.br skype: vinicius.bones.silva Smiley face www.e-trust.com.br <http://www.e-trust.com.br/> Esta mensagem pode conter informações confidenciais ou privilegiadas. Se você recebeu esta mensagem por engano, você não deve usar, copiar, divulgar ou tomar qualquer atitude com base nestas informações. Solicitamos que você apague a mensagem imediatamente e avise a E-TRUST, enviando um e-mail para suporte at e-trust.com.br. Opiniões, conclusões ou informações contidas nesta mensagem não necessariamente refletem a posição oficial da E-TRUST. Caso assinada digitalmente, a autenticidade desta mensagem pode ser confirmada pela Autoridade Certificadora Privada E-TRUST, disponível em www.e-trust.com.br. This message may contain privileged and confidential information for the use of the intended recipients only. If you are not an intended recipient then you should not disseminate, copy, or take any action based on its contents. If you have received this message in error then please notify E-TRUST by sending an e-mail message to suporte at e-trust.com.br immediately. Views and opinions expressed in this message do not necessarily reflect the position of E-TRUST. If this message is digitally signed, its authenticity can be confirmed by E-TRUST Private Certificate Authority, available at www.e-trust.com.br.
Hi Vinicius, I've run the command and it did not report any missing dependencies. I've been checking the logs, both on that DC and on clients that authenticated against it and can see no problems. I'm happy to leave it that. Thanks. regards, John On 09/02/17 03:16, Vinicius Bones Silva via samba wrote:> Probably a ld issue. It might have not run in the rpm's post script. > Do a ldd /usr/lib64/samba/libsmbregistry-samba4.so > /usr/lib64/samba/vfs/acl_xattr.so and check if either are reporting > missing dependencies. > > Em 07/02/2017 21:25, John Gardeniers via samba escreveu: >> This is really weird. The error below occurred for about 10 minutes >> after the post-update reboot and then went away. As far as I've been >> able to test, the DC in question is functioning normally now. >> >> regards, >> John >> >> >> On 07/02/17 16:07, John Gardeniers via samba wrote: >>> I've just done a yum update and a reboot on one of our CentOS 7 DCs, >>> which has taken Samba from sernet-samba-4.5.1-6 to >>> sernet-samba-4.5.5-13. I now notice that the Samba log files contain >>> errors since the update. >>> >>> The error message is: >>> >>> "../lib/util/modules.c:48(load_module) Error loading module >>> '/usr/lib64/samba/vfs/acl_xattr.so': >>> /usr/lib64/samba/libsmbregistry-samba4.so: version >>> `SAMBA_4.5.5_SERNET_REDHAT_13.EL7' not found (required by >>> /usr/lib64/samba/vfs/acl_xattr.so)" >>> >>> Obviously the pre-update dependency checks didn't work correctly. >>> What is the easiest/best way to resolve it. Can I just roll back the >>> Samba version on that box or is something else required? In the >>> meantime, should I shut down that DC to prevent user problems? >>> >>> regards, >>> John >>> >>> >> >> >
Hi Vinicius, A little more info: I repeated the yum update and reboot on the other DC and it did the same thing. It threw the same error in the logs for about 10 minutes and then settled down to behave normally. regards, John On 09/02/17 07:21, John Gardeniers via samba wrote:> Hi Vinicius, > > I've run the command and it did not report any missing dependencies. > I've been checking the logs, both on that DC and on clients that > authenticated against it and can see no problems. I'm happy to leave > it that. Thanks. > > regards, > John > > > On 09/02/17 03:16, Vinicius Bones Silva via samba wrote: >> Probably a ld issue. It might have not run in the rpm's post script. >> Do a ldd /usr/lib64/samba/libsmbregistry-samba4.so >> /usr/lib64/samba/vfs/acl_xattr.so and check if either are reporting >> missing dependencies. >> >> Em 07/02/2017 21:25, John Gardeniers via samba escreveu: >>> This is really weird. The error below occurred for about 10 minutes >>> after the post-update reboot and then went away. As far as I've been >>> able to test, the DC in question is functioning normally now. >>> >>> regards, >>> John >>> >>> >>> On 07/02/17 16:07, John Gardeniers via samba wrote: >>>> I've just done a yum update and a reboot on one of our CentOS 7 >>>> DCs, which has taken Samba from sernet-samba-4.5.1-6 to >>>> sernet-samba-4.5.5-13. I now notice that the Samba log files >>>> contain errors since the update. >>>> >>>> The error message is: >>>> >>>> "../lib/util/modules.c:48(load_module) Error loading module >>>> '/usr/lib64/samba/vfs/acl_xattr.so': >>>> /usr/lib64/samba/libsmbregistry-samba4.so: version >>>> `SAMBA_4.5.5_SERNET_REDHAT_13.EL7' not found (required by >>>> /usr/lib64/samba/vfs/acl_xattr.so)" >>>> >>>> Obviously the pre-update dependency checks didn't work correctly. >>>> What is the easiest/best way to resolve it. Can I just roll back >>>> the Samba version on that box or is something else required? In the >>>> meantime, should I shut down that DC to prevent user problems? >>>> >>>> regards, >>>> John >>>> >>>> >>> >>> >> > >