by 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.