I have a problem with samba on a file server that's been happening for a while, but just now having a closer look. When I boot the server, about the only feedback I find is in /var/log/samba/log.smbd:
[2015/03/1613:31:49,0] smbd/server.c:1072(main)
smbd version 3.6.25 started.CopyrightAndrewTridgelland the SambaTeam1992-2011
So, everything seems fine, but the shares are unresponsive. So I check status:
# ps u -C smbd
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 32160.00.1493767172?Ss13:310:00/usr/sbin/smbd -D
root 32350.00.1493764452? S 13:310:00/usr/sbin/smbd -D
So I restart:
# /etc/init.d/samba restart* samba -> stop: smbd ...[ ok ]* samba -> stop: nmbd ...* start-stop-daemon:no matching processes found [ ok ]* samba -> start: smbd ...[ ok ]* samba -> start: nmbd ...# /etc/init.d/samba status* status: started
# ps u -C smbd
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 37610.00.1493767308?Ss13:410:00/usr/sbin/smbd -D
root 37640.00.1493764348? S 13:410:00/usr/sbin/smbd -D
At this point, everything works. Any thoughts on how to get this working on boot?
The box is funtoo-stable running in a VirtualBox VM using a virtio-net bridged adapter and dhcpcd (static reservation), samba 3.6.25, gentoo-sources-3.18.7.
Question
dkg
I have a problem with samba on a file server that's been happening for a while, but just now having a closer look. When I boot the server, about the only feedback I find is in /var/log/samba/log.smbd:
So, everything seems fine, but the shares are unresponsive. So I check status:
And then this shows up in /var/log/messages:
But there are actually smbd processes running:
So I restart:
At this point, everything works. Any thoughts on how to get this working on boot?
The box is funtoo-stable running in a VirtualBox VM using a virtio-net bridged adapter and dhcpcd (static reservation), samba 3.6.25, gentoo-sources-3.18.7.
Thanks.
Link to comment
Share on other sites
7 answers to this question
Recommended Posts