View Single Post
#203
Old 01-12-2013, 11:01 AM
teetee1 teetee1 is offline
L6: Expert
  • Sep 2006
  • 1,833
  • 897 teetee1 is a splendid one to behold
Quote from cowguy View Post :
ran that followed by /etc/rc.d/samba restart and still got the same errors
systemd/systemctl recently replaced rc.d(sysv) script for people to control (start/stop/restart/check status) the services on the system.

In other words, the two commands below do the same thing:

# systemctl start smbd nmbd
and
# rc.d start samba
// or /etc/rc.d/samba start

the difference is systemctl works on a fully updated arch linux (with kernel >3.xx) and you can't use rc.d anymore.

Once you run systemctl start smbd nmbd, check to see if samba is working:
# ps -A | grep smbd
// to make sure the program is running
# netstat -tupa | grep smbd
// to make sure the program is listening on the network instead of just unix sockets.
and if yes then it's ready to accept connection requests.