Hi, sorry for my english
I have a Pogoplug E02 (pink one), last nigth, Samba stop working suddenly, my "glorious" idea was fix it doing a Pacman -Syu and now, the status of samba report this:
● smbd.service - Samba SMB/CIFS server
Loaded: loaded (/usr/lib/systemd/system/smbd.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2015-08-02 02:04:35 ART; 10min ago
Process: 695 ExecStart=/usr/bin/smbd -D (code=exited, status=0/SUCCESS)
Main PID: 696 (smbd)
CGroup: /system.slice/smbd.service
└─696 /usr/bin/smbd -D
Aug 02 02:04:35 alarm systemd[1]: Starting Samba SMB/CIFS server...
Aug 02 02:04:35 alarm systemd[1]: smbd.service: PID file /var/run/smbd.pid not readable (yet?) after start: No such file or directory
Aug 02 02:04:35 alarm systemd[1]: Started Samba SMB/CIFS server.
Aug 02 02:04:36 alarm smbd[696]: [2015/08/02 02:04:36.106113, 0] ../lib/util/become_daemon.c:124(daemon_ready)
Aug 02 02:04:36 alarm smbd[696]: STATUS=daemon 'smbd' finished starting up and ready to serve connections
● nmbd.service - Samba NetBIOS name server
Loaded: loaded (/usr/lib/systemd/system/nmbd.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2015-08-02 02:04:35 ART; 10min ago
Process: 693 ExecStart=/usr/bin/nmbd -D (code=exited, status=0/SUCCESS)
Main PID: 694 (nmbd)
CGroup: /system.slice/nmbd.service
└─694 /usr/bin/nmbd -D
Aug 02 02:04:35 alarm systemd[1]: nmbd.service: PID file /var/run/nmbd.pid not readable (yet?) after start: No such file or directory
Aug 02 02:04:35 alarm systemd[1]: Started Samba NetBIOS name server.
Aug 02 02:04:35 alarm nmbd[694]: [2015/08/02 02:04:35.705226, 0] ../lib/util/become_daemon.c:124(daemon_ready)
Aug 02 02:04:35 alarm nmbd[694]: STATUS=daemon 'nmbd' finished starting up and ready to serve connections
Aug 02 02:04:58 alarm nmbd[694]: [2015/08/02 02:04:58.742824, 0] ../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
Aug 02 02:04:58 alarm nmbd[694]: *****
Aug 02 02:04:58 alarm nmbd[694]:
Aug 02 02:04:58 alarm nmbd[694]: Samba name server POGOPLUG is now a local master browser for workgroup WORKGROUP on subnet 192.168.1.50
Aug 02 02:04:58 alarm nmbd[694]:
Aug 02 02:04:58 alarm nmbd[694]: *****
thanks for your help !
EDIT:
command testparm return this parameters:
[global]
netbios name = POGOPLUG
server string = POGOPLUG
security = USER
map to guest = Bad User
guest account = root
log file = /var/log/samba/%m.log
max log size = 50
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE
load printers = No
printcap name = /dev/null
disable spoolss = Yes
idmap config * : backend = tdb
use sendfile = Yes
write cache size = 2097152
printing = bsd
and this is the smb.conf edited with nano:
[global]
workgroup = WORKGROUP
server string = POGOPLUG
netbios name = POGOPLUG
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
log file = /var/log/samba/%m.log
max log size = 50
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE
write cache size = 2097152
use sendfile = yes
DA FUQ is idmap config * : backend = tdb ? why is not this line in smb.conf ?
thanks in advance