Samba issue - was working

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

Samba issue - was working

Postby jcconnell » Sun Dec 08, 2013 5:53 pm

Could anyone shed some light on my Samba issue? It was working fine. Not sure what's changed.

$this->bbcode_second_pass_code('', 'samba.service - Samba AD Daemon
Loaded: loaded (/usr/lib/systemd/system/samba.service; enabled)
Active: failed (Result: exit-code) since Sun 2013-12-08 10:49:44 MST; 2min 38s ago
Main PID: 16539 (code=exited, status=1/FAILURE)

Dec 08 10:49:44 alarm samba[16538]: samba version 4.1.2 started.
Dec 08 10:49:44 alarm samba[16538]: Copyright Andrew Tridgell and the Samba Team 1992-2013
Dec 08 10:49:44 alarm systemd[1]: PID file /var/run/samba.pid not readable (yet?) after start.
Dec 08 10:49:44 alarm systemd[1]: Started Samba AD Daemon.
Dec 08 10:49:44 alarm samba[16539]: [2013/12/08 10:49:44.773207, 0] ../source4/smbd/server.c:478(binary_smbd_main)
Dec 08 10:49:44 alarm samba[16539]: At this time the 'samba' binary should only be used for either:
Dec 08 10:49:44 alarm samba[16539]: 'server role = active directory domain controller' or to access the ntvfs file server with 'server services = +smb' or...s = remote'
Dec 08 10:49:44 alarm samba[16539]: You should start smbd/nmbd/winbindd instead for domain member and standalone file server tasks
Dec 08 10:49:44 alarm systemd[1]: samba.service: main process exited, code=exited, status=1/FAILURE
Dec 08 10:49:44 alarm systemd[1]: Unit samba.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.')
jcconnell
 
Posts: 45
Joined: Thu May 02, 2013 1:10 am

Re: Samba issue - was working

Postby WarheadsSE » Sun Dec 08, 2013 10:09 pm

systemctl smbd .. like mentioned.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Samba issue - was working

Postby jcconnell » Wed Dec 11, 2013 12:39 am

Well, I ended up realizing my mistake. Due to later complications in the last day or two, I decided to wipe and fresh install Arch.

I'm now working with a fresh system and I have installed samba using:
$this->bbcode_second_pass_code('', 'pacman -Sy samba')

I now start it using:
$this->bbcode_second_pass_code('', 'systemctl enable nmbd smbd
systemctl start mnbd smbd')

It's still not working. I've made no adjustments to the configuration file as I usually configure it using Webmin. It simply won't start. Here is the status output:
$this->bbcode_second_pass_code('', '[root@alarm jcconnell]# systemctl status nmbd smbd
nmbd.service - Samba NetBIOS name server
Loaded: loaded (/usr/lib/systemd/system/nmbd.service; enabled)
Active: failed (Result: exit-code) since Tue 2013-12-10 19:30:55 EST; 5min ago
Process: 1605 ExecStart=/usr/bin/nmbd -D (code=exited, status=1/FAILURE)

Dec 10 19:30:55 alarm systemd[1]: nmbd.service: control process exited, code=exited status=1
Dec 10 19:30:55 alarm systemd[1]: Failed to start Samba NetBIOS name server.
Dec 10 19:30:55 alarm systemd[1]: Unit nmbd.service entered failed state.

smbd.service - Samba SMB/CIFS server
Loaded: loaded (/usr/lib/systemd/system/smbd.service; enabled)
Active: failed (Result: exit-code) since Tue 2013-12-10 19:30:55 EST; 5min ago
Process: 1607 ExecStart=/usr/bin/smbd -D (code=exited, status=1/FAILURE)

Dec 10 19:30:55 alarm systemd[1]: Starting Samba SMB/CIFS server...
Dec 10 19:30:55 alarm systemd[1]: smbd.service: control process exited, code=exited status=1
Dec 10 19:30:55 alarm systemd[1]: Failed to start Samba SMB/CIFS server.
Dec 10 19:30:55 alarm systemd[1]: Unit smbd.service entered failed state.
')

and

$this->bbcode_second_pass_code('', '-- Logs begin at Fri 1999-12-31 19:17:22 EST, end at Tue 2013-12-10 19:38:01 EST. --
Dec 10 19:37:47 alarm su[1635]: (to root) jcconnell on pts/1
Dec 10 19:37:47 alarm su[1635]: pam_unix(su:session): session opened for user root by jcconnell(uid=1000)
Dec 10 19:38:01 alarm systemd[1]: Starting Samba SMB/CIFS server...
-- Subject: Unit smbd.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit smbd.service has begun starting up.
Dec 10 19:38:01 alarm systemd[1]: Starting Samba NetBIOS name server...
-- Subject: Unit nmbd.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nmbd.service has begun starting up.
Dec 10 19:38:01 alarm systemd[1]: nmbd.service: control process exited, code=exited status=1
Dec 10 19:38:01 alarm 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/be02cf6855d2428ba40df7e9d022f03d
--
-- Unit nmbd.service has failed.
lines 1-23...skipping...
-- Logs begin at Fri 1999-12-31 19:17:22 EST, end at Tue 2013-12-10 19:38:01 EST. --
Dec 10 19:37:47 alarm su[1635]: (to root) jcconnell on pts/1
Dec 10 19:37:47 alarm su[1635]: pam_unix(su:session): session opened for user root by jcconnell(uid=1000)
Dec 10 19:38:01 alarm systemd[1]: Starting Samba SMB/CIFS server...
-- Subject: Unit smbd.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit smbd.service has begun starting up.
Dec 10 19:38:01 alarm systemd[1]: Starting Samba NetBIOS name server...
-- Subject: Unit nmbd.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nmbd.service has begun starting up.
Dec 10 19:38:01 alarm systemd[1]: nmbd.service: control process exited, code=exited status=1
Dec 10 19:38:01 alarm 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/be02cf6855d2428ba40df7e9d022f03d
--
-- Unit nmbd.service has failed.
--
-- The result is failed.
Dec 10 19:38:01 alarm systemd[1]: Unit nmbd.service entered failed state.
Dec 10 19:38:01 alarm systemd[1]: smbd.service: control process exited, code=exited status=1
Dec 10 19:38:01 alarm 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/be02cf6855d2428ba40df7e9d022f03d
--
-- Unit smbd.service has failed.
--
-- The result is failed.
Dec 10 19:38:01 alarm systemd[1]: Unit smbd.service entered failed state.
')


Would really appreciate some help. I'm learning more about Linux all the time but I use this device as a learning tool. So far, it's difficult for me to troubleshoot some issues.
jcconnell
 
Posts: 45
Joined: Thu May 02, 2013 1:10 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 4 guests

cron