You are not logged in.
Samba is installed but won't start. systemctl status smbd.service returns:
smbd.service - Samba SMB/CIFS server
Loaded: loaded (/usr/lib/systemd/system/smbd.service; enabled)
Active: failed (Result: exit-code) since Wed 2013-05-22 10:17:03 EDT; 41min ago
May 22 10:17:03 andydesktop systemd[1]: Starting Samba SMB/CIFS server...
May 22 10:17:03 andydesktop smbd[1421]: /usr/bin/smbd: error while loading shared libraries: libsasl2.so.2: cannot open shared object file: No such file or directory
May 22 10:17:03 andydesktop systemd[1]: smbd.service: control process exited, code=exited status=127
May 22 10:17:03 andydesktop systemd[1]: Failed to start Samba SMB/CIFS server.
May 22 10:17:03 andydesktop systemd[1]: Unit smbd.service entered failed state
I have updated with pacman -Syu and installed libsasl. I tried enabling the testing repositories, but I don't think it found a newer version (not 100% sure about this but it is still broken). pacman -Qi libsasl returns:
Name : libsasl
Version : 2.1.26-2
Description : Cyrus Simple Authentication Service Layer (SASL) Library
Architecture : x86_64
URL : http://cyrusimap.web.cmu.edu/
Licenses : custom
Groups : None
Provides : None
Depends On : openssl krb5
Optional Deps : None
Required By : cyrus-sasl libldap
Optional For : None
Conflicts With : cyrus-sasl-plugins
Replaces : None
Installed Size : 582.00 KiB
Packager : Bartłomiej Piotrowski <barthalion@gmail.com>
Build Date : Sat 11 May 2013 02:33:27 AM EDT
Install Date : Wed 22 May 2013 10:41:32 AM EDT
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature
locate libsasl2 returns:
/usr/lib/libsasl2.so
/usr/lib/libsasl2.so.3
/usr/lib/libsasl2.so.3.0.0
Seems to me samba's looking for an older version of libsasl, but I'm not sure which one to downgrade to - or if that's even the right solution.
I found some info in this topic but I still can't figure out how to get so.2: https://bbs.archlinux.org/viewtopic.php?pid=1272906 I did notice that my libsasl was built a day after the one in that thread; maybe they changed something?
Any help is greatly appreciated! Thanks!
Last edited by andybp85 (2013-05-22 17:00:11)
Offline
You should update with 'pacman -Syu', not with 'pacman -Sy'.
Offline
touche - that was actually a typo, I did do -Syu
Edit: fixed
Last edited by andybp85 (2013-05-22 15:20:09)
Offline
What's the output of 'pacman -Q samba'?
Offline
samba 4.0.5-4
Offline
How about pacman -Q smbclient?
Last edited by Scimmia (2013-05-22 15:59:02)
Online
/usr/bin/smbd is provided by samba, not smbclient.
Offline
/usr/bin/smbd is provided by samba, not smbclient.
But smbd is linked to a lot of libs from smbclient. If one of those libs is linked to libsasl2.so.2, you would get this same error.
Check it out, smbd isn't linked directly to libsasl at all. objdump -x /usr/bin/smbd | grep NEEDED
Online
I installed smbclient and it worked!
smbd.service - Samba SMB/CIFS server
Loaded: loaded (/usr/lib/systemd/system/smbd.service; enabled)
Active: active (running) since Wed 2013-05-22 12:08:18 EDT; 2s ago
Thanks so much, I wouldn't have thought of that!
Offline
Thanks so much, I wouldn't have thought of that!
+1 ;P
andybp85, please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
Offline