You are not logged in.

#1 2019-03-27 18:53:29

mausy5043
Member
Registered: 2019-03-27
Posts: 21

[SOLVED] SAMBA /usr/bin/smbd relocation error

Trying to install SAMBA I unexpectedly ran into the below problem. Google turns up nothing.

Using just a basic set-up for starters:

$ testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

# Global parameters
[global]
	dns proxy = No
	logging = systemd
	server role = standalone server
	server string = %h SMB (%v)
	idmap config * : backend = tdb
	hosts allow = 192.168.1. 172.17. 127.


[homes]
	browseable = No
	comment = Home Directories
	read only = No

Then enable/start the service with sudo systemctl enable smb.service; sudo systemctl start smb.service

And that produces this output in the logging:

2019-03-27T19:46:53+01:00 auth[notice] sudo::   beheer : TTY=pts/0 ; PWD=/home/xxx ; USER=root ; COMMAND=/usr/bin/systemctl start smb.service
2019-03-27T19:46:53+01:00 authpriv[info] sudo:: pam_unix(sudo:session): session opened for user root by xxx(uid=0)
2019-03-27T19:46:53+01:00 daemon[info] systemd:: Starting Samba SMB Daemon...
2019-03-27T19:46:53+01:00 daemon[info] smbd:: /usr/bin/smbd: relocation error: /usr/bin/smbd: symbol fam_watch version SAMBA_4.10.0 not defined in file libsmbd-base-samba4.so with link time reference
2019-03-27T19:46:53+01:00 daemon[notice] systemd:: smb.service: Main process exited, code=exited, status=127/n/a
2019-03-27T19:46:53+01:00 daemon[warning] systemd:: smb.service: Failed with result 'exit-code'.
2019-03-27T19:46:53+01:00 daemon[err] systemd:: Failed to start Samba SMB Daemon.
2019-03-27T19:46:53+01:00 auth[notice] audit:: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=smb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
2019-03-27T19:46:53+01:00 authpriv[info] sudo:: pam_unix(sudo:session): session closed for user root
2019-03-27T19:46:53+01:00 kern[notice] kernel:: audit: type=1130 audit(1553712413.690:100): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=smb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'

Would appreciate any help/hints since I'm at a total loss here.

Last edited by mausy5043 (2019-03-29 16:01:57)

Offline

#2 2019-03-28 01:12:11

Maniaxx
Member
Registered: 2014-05-14
Posts: 757

Re: [SOLVED] SAMBA /usr/bin/smbd relocation error

Looks like system libs are mixed up. Try to update the system with 'pacman -Syyu'.

Last edited by Maniaxx (2019-03-28 01:12:27)


sys2064

Offline

#3 2019-03-28 19:05:18

mausy5043
Member
Registered: 2019-03-27
Posts: 21

Re: [SOLVED] SAMBA /usr/bin/smbd relocation error

Maniaxx wrote:

Looks like system libs are mixed up. Try to update the system with 'pacman -Syyu'.

Amazing!
I did that before I installed samba. Hadn't thought it would work again.
That seems to have solved it. Thanks!

Offline

#4 2019-03-28 22:46:56

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] SAMBA /usr/bin/smbd relocation error

Please remember to mark your thread [SOLVED] (edit the title of your first post).

Offline

Board footer

Powered by FluxBB