You are not logged in.
Pages: 1
Arch 3.6.6-1
Samba 3.6.9-1
using systemd
The following fails with no output.
sudo systemctl start smbd.service nmbd.servicesystemctl status smbd.service:
smbd.service - Samba SMB/CIFS server
Loaded: loaded (/usr/lib/systemd/system/smbd.service; disabled)
Active: failed (Result: exit-code) since Mon, 2012-12-10 15:32:39 CST; 2min 19s ago
Process: 19013 ExecStart=/usr/sbin/smbd -F (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/smbd.serviceI made sure the .pid files exist. Also confirmed my hostname is set up using
hostnamectl set-hostname archdesktop
Still no luck. Any advice on getting Samba working? The smb.conf file I am using is the default file. I did set up SWAT but haven't used it other than look at the home page in my browser. Thanks.
Mike
Last edited by barronmo (2012-12-11 03:54:08)
Offline
I think it is great you are trying to indicate what you did. But I think the details of what you actually configured might help. Like what is actually in your smb.conf. I have never used this swat that you speak of. Is there a reason why you just didn't edit the config file itself? It is very well commented and the defaults are pretty sane.
Offline
Here are the contents of my smb.conf:
[global]
workgroup = MYGROUP
server string = Samba Server
security = user
load printers = yes
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = no
[homes]
comment = Home Directories
browseable = no
writable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yesOffline
I was looking at several log files in /var/log/samba and found the following in log.smbd
[2012/12/11 03:38:43, 0] smbd/server.c:1026(main)
smbd version 3.6.9 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011Systemctl status is still showing the failure msg listed in my first post.
Offline
Not sure why the systemctl status smbd/nmbd.service output says "failed" but samba seems to be functioning correctly for me at this point.
Offline
Backup your smb.conf file, and then use the example file that ships with the package and see if that works.
Also, it is great that you have found that it tells you at it failed. But how about any information from the journal. If you don't provide any information about what is going on, you are never going to get real help. That is why there have been bearly no responses to this thread. I have simply tried stabbing in the dark here.
Offline
smbd.service is supposed to start after network.target
maybe it isn't loaded?
it caused me some problems in the past
Offline
Pages: 1