Asmox
Posts: 8
Joined: Thu Sep 22, 2016 8:10 am

Samba sometimes stops

Mon Feb 20, 2017 9:51 pm

Hello!

I use Raspberry Pi B+. I installed Samba into Raspbian and there is some issues from time to time with drive mounting. Sometimes when I try to mount my drive connected to RPi:

Code: Select all

sudo mount -t cifs -o username=pi //192.168.1.50/Grubas /mnt/Grubas
After entering the password I have nothing mounted at /mnt/Grubas and get no information in my console. Usually when I check whats up on Raspberry I see something like this:
$ sudo service smbd status
● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
Loaded: loaded (/etc/init.d/smbd)
Active: active (running) since Fri 2017-02-17 21:28:28 UTC; 2 days ago
Process: 3909 ExecReload=/etc/init.d/smbd reload (code=exited, status=0/SUCCESS)
Process: 951 ExecStart=/etc/init.d/smbd start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/smbd.service
├─961 /usr/sbin/smbd -D
└─965 /usr/sbin/smbd -D
pi@raspberrypi:~ $ sudo service nmbd status
● nmbd.service - LSB: start Samba NetBIOS nameserver (nmbd)
Loaded: loaded (/etc/init.d/nmbd)
Active: active (exited) since Fri 2017-02-17 21:28:26 UTC; 2 days ago
Process: 590 ExecStart=/etc/init.d/nmbd start (code=killed, signal=PIPE)
Then I try to restart nmbd. It sometimes gives an effects, but sometimes doesn't. How can I check what kills the Samba? When I reset my device (RPi) everything is going well. The problem is that when I unmount the drive then usually I cannot mount it the next day.

Return to “Troubleshooting”