by iuryp » Thu May 23, 2013 7:38 pm
Hello,
I'm trying to install samba and I'm having the same problem described by yazyazoo
$this->bbcode_second_pass_quote('yazyazoo', 'I') am trying to do a fresh install. I did pacman -Sy samba
after installing I enable and start smbd and nmbd.
I get an error.
Job for nmbd.service failed. See 'systemctl status nmbd.service' and 'journalctl -xn' for details.
Job for smbd.service failed. See 'systemctl status smbd.service' and 'journalctl -xn' for details.
What is going on?
Thats the result when I type status
$this->bbcode_second_pass_code('', '
smbd.service - Samba SMB/CIFS server
Loaded: loaded (/usr/lib/systemd/system/smbd.service; disabled)
Active: failed (Result: exit-code) since Thu 2013-05-23 15:58:40 EDT; 1min 26s ago
Process: 260 ExecStart=/usr/bin/smbd -D (code=exited, status=127)
May 23 15:58:40 pogoplug smbd[260]: /usr/bin/smbd: error while loading shared libraries: libsasl2.so.3: cannot open shared object file: No such file or directory
May 23 15:58:40 pogoplug systemd[1]: smbd.service: control process exited, code=exited status=127
May 23 15:58:40 pogoplug systemd[1]: Failed to start Samba SMB/CIFS server.
May 23 15:58:40 pogoplug systemd[1]: Unit smbd.service entered failed state.
nmbd.service - Samba NetBIOS name server
Loaded: loaded (/usr/lib/systemd/system/nmbd.service; disabled)
Active: failed (Result: exit-code) since Thu 2013-05-23 15:58:40 EDT; 1min 26s ago
Process: 261 ExecStart=/usr/bin/nmbd -D (code=exited, status=127)
May 23 15:58:40 pogoplug systemd[1]: Starting Samba NetBIOS name server...
May 23 15:58:40 pogoplug nmbd[261]: /usr/bin/nmbd: error while loading shared libraries: libsasl2.so.3: cannot open shared object file: No such file or directory
May 23 15:58:40 pogoplug systemd[1]: nmbd.service: control process exited, code=exited status=127
May 23 15:58:40 pogoplug systemd[1]: Failed to start Samba NetBIOS name server.
May 23 15:58:40 pogoplug systemd[1]: Unit nmbd.service entered failed state.
')
And this is when I type journalctl -xn
$this->bbcode_second_pass_code('', '
Dec 31 19:02:53 pogoplug systemd[1]: nmbd.service: control process exited, code=
Dec 31 19:02:53 pogoplug systemd[1]: Failed to start Samba NetBIOS name server.
-- Subject: Unit nmbd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02c
--
-- Unit nmbd.service has failed.
--
-- The result is failed.
Dec 31 19:02:53 pogoplug systemd[1]: Unit nmbd.service entered failed state.
Dec 31 19:02:53 pogoplug smbd[232]: /usr/bin/smbd: error while loading shared li
Dec 31 19:02:53 pogoplug systemd[1]: smbd.service: control process exited, code=
Dec 31 19:02:53 pogoplug systemd[1]: Failed to start Samba SMB/CIFS server.
-- Subject: Unit smbd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02c
--
-- Unit smbd.service has failed.
--
-- The result is failed.
Dec 31 19:02:53 pogoplug systemd[1]: Unit smbd.service entered failed state.
May 23 15:23:16 pogoplug systemd[1]: Time has been changed
-- Subject: Time change
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The system clock has been changed to REALTIME microseconds after January 1st,
May 23 15:34:04 pogoplug systemd[1]: Starting Cleanup of Temporary Directories..
-- Subject: Unit systemd-tmpfiles-clean.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
')
I searched everywhere but I couldnt find information.
Thank you for the tutorial and for the help!!
EDIT:
It seems to be a problem in the libsasl2.so.3 library, but I still couldnt fix it. I found this thread with a similar problem:
https://bbs.archlinux.org/viewtopic.php?id=163812FIXEDI just updated the whole system with $this->bbcode_second_pass_code('', 'pacman -Syu'), and now it's working!