SAMBA fails to start after years of working normally and no changes
Hi guys,
I have been happily running a small Ubuntu Dapper home server for some time now. I use it mostly as a fileserver and for downloading torrents. The Windows machines connect to it through SAMBA, but a couple of days ago it just stopped working for no apparent reason. Here is my smb.conf: Code:
[global] Code:
May 4 10:40:22 server smbd[16435]: [2008/05/04 10:40:22, 0] param/loadparm.c:lp_do_parameter(3412) Code:
May 4 10:37:42 server nmbd[8954]: [2008/05/04 10:37:42, 0] nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(353) |
Stop samba and kill every process and try this:
nmbd -i -S -d 10 smbd -i -S -d 10 You need to run them as root, in two different consoles. You will see a lot of output, maybe there you'll find an answer. |
Thank you!
smbd -i -S -d 10 exits with: Code:
User nobody in passdb, but getpwnam() fails! Code:
find_workgroup_on_subnet: workgroup search for GITS on subnet UNICAST_SUBNET: found. |
No prob! :)
It seems that samba is missing nobody's password. Check if exist nobody in passwd: Code:
grep nobody /etc/passwd Code:
nobody:x:65534:65534:nobody:/:/bin/false Code:
grep 'guest account' /etc/samba/smb.conf |
No, there seems to be no 'nobody' account. However, I created it with smbpasswd and I still get the same error.
|
Quote:
Code:
useradd -u 65535 -s /bin/false nobody |
Excuse me for being so rude and not posting any answer for so long, but I have been away in the last couple of weeks. I will try your suggestion later today. What does the 65535 in useradd stand for?
|
Thank you. This totally worked, although I have no idea why... Thus far it was working without the nobody user!?
|
All times are GMT -5. The time now is 03:46 AM. |