[How-To] Samba 4

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: [How-To] Samba 4

Postby hojnikb » Sat May 04, 2013 8:17 am

its the same with cache set to no. I even set the log level to 0 and still no effect.
Every login is slow as hell...

Also tried default smb.conf and its also the same....
I get this slow login times on win7 and android devices (haven't tested anything else)
+°´°+,¸¸,+°´°~ +°´°+,¸¸,+°´°~I ♥ my DockStar :oops:~°´°+,¸¸,+°´°++°´°+,¸¸,+°´°~
Linux = Be root
Windows = reboot

+°´°+,¸¸,+°´°~DockStar, Marvell CPU @ 1.2Ghz, 128MB RAM, 4GB rootfs + 160GB°´°+,¸¸,+°´°+
hojnikb
 
Posts: 104
Joined: Thu Jul 08, 2010 11:57 am

Re: [How-To] Samba 4

Postby hojnikb » Sat May 04, 2013 12:20 pm

as for building from scratch.. i have no idea how to do that...
Does anyone has an old version of 3.6 samba still in its pacman cache ?
+°´°+,¸¸,+°´°~ +°´°+,¸¸,+°´°~I ♥ my DockStar :oops:~°´°+,¸¸,+°´°++°´°+,¸¸,+°´°~
Linux = Be root
Windows = reboot

+°´°+,¸¸,+°´°~DockStar, Marvell CPU @ 1.2Ghz, 128MB RAM, 4GB rootfs + 160GB°´°+,¸¸,+°´°+
hojnikb
 
Posts: 104
Joined: Thu Jul 08, 2010 11:57 am

Re: [How-To] Samba 4

Postby hojnikb » Sat May 04, 2013 10:04 pm

just downgraded to samba 3.6.x and issues is still the same. Slow login times...
Apperently there must be something else going on, not the samba itself i think...
+°´°+,¸¸,+°´°~ +°´°+,¸¸,+°´°~I ♥ my DockStar :oops:~°´°+,¸¸,+°´°++°´°+,¸¸,+°´°~
Linux = Be root
Windows = reboot

+°´°+,¸¸,+°´°~DockStar, Marvell CPU @ 1.2Ghz, 128MB RAM, 4GB rootfs + 160GB°´°+,¸¸,+°´°+
hojnikb
 
Posts: 104
Joined: Thu Jul 08, 2010 11:57 am

Re: [How-To] Samba 4

Postby yazyazoo » Sun May 12, 2013 2:40 pm

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?
yazyazoo
 
Posts: 78
Joined: Fri Sep 07, 2012 5:19 pm

Re: [How-To] Samba 4

Postby moonman » Sun May 12, 2013 4:17 pm

Did you edit the config file and did yoy do what it told you to do - check status?
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: [How-To] Samba 4

Postby BDX » Tue May 21, 2013 7:39 pm

After today's updates Samba doesn't start anymore.

$this->bbcode_second_pass_code('', 'May 21 22:28:15 alarm systemd[1]: Starting Samba SMB Daemon...
-- Subject: Unit smb.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit smb.service has begun starting up.
May 21 22:28:15 alarm smbd[277]: /usr/sbin/smbd: error while loading shared libraries: libsasl2.so.2: cannot open shared object file: No such file or directory
May 21 22:28:15 alarm systemd[1]: smb.service: control process exited, code=exited status=127
May 21 22:28:15 alarm systemd[1]: Failed to start Samba SMB Daemon.
-- Subject: Unit smb.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d
--
-- Unit smb.service has failed.
--
-- The result is failed.
')

EDIT: Never mind, I just read the opening post :D
BDX
 
Posts: 10
Joined: Tue Sep 18, 2012 7:13 pm

Re: [How-To] Samba 4

Postby 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=163812

FIXED

I just updated the whole system with $this->bbcode_second_pass_code('', 'pacman -Syu'), and now it's working!
iuryp
 
Posts: 1
Joined: Thu May 23, 2013 7:32 pm

Re: [How-To] Samba 4

Postby Jhya » Thu May 30, 2013 10:59 pm

After updating, I lost the menu options in Webmin, under Servers. Before updating, I can access Samba Server options in Webmin.
Jhya
 
Posts: 1
Joined: Thu May 30, 2013 10:55 pm

Re: [How-To] Samba 4

Postby pepedog » Thu May 30, 2013 11:24 pm

Because samba binary moved out of sbin to /usr/bin/samba
Everything in /bin and /sbin will be moved into /usr/bin
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [How-To] Samba 4

Postby lordesp27 » Wed Jun 19, 2013 3:43 pm

i installed the new samba and im not able to start it. i tried to re install it but still wont start. i checked the status and it says its enabled but there was a problem starting. what should i do? :(
lordesp27
 
Posts: 28
Joined: Thu Feb 07, 2013 3:49 pm

Previous

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 3 guests