well, simple as that.. I followed the Wiki and also tried a Kanotix samba-config script mentioned in the bbs, still:
$ /etc/rc.d/samba start :: Starting Samba Server [FAIL]
It's not like I set up exotic stuff in /etc/samba/smb.conf, I just want 2 public shared directories, one r and one rw.
Thanks for any help..
yes that's a problem. Use
instead. That should solve the problem. Probably a bug or something. Possibly you should run the above command twice if it fails the first time (that sometimes the case on my box)
no, it doesn't help. /etc/rc.d/samba restart fails no matter how often I run it
can you post your output you get in your log files
$ cat /var/log/samba/log.smbd cat: /var/log/samba/log.smbd: No such file or directory
$ cat /var/log/samba/log.nmbd [2005/09/21 21:05:18, 0] nmbd/nmbd.c:main(718) Netbios nameserver version 3.0.20 started. Copyright Andrew Tridgell and the Samba Team 1994-2004 [2005/09/21 21:05:18, 0] param/loadparm.c:map_parameter(2536) Unknown parameter encountered: "character set" [2005/09/21 21:05:18, 0] param/loadparm.c:lp_do_parameter(3277) Ignoring unknown parameter "character set" [2005/09/21 22:37:01, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) ***** Samba name server ASPIRIN is now a local master browser for workgroup LAN.KRONE on subnet 192.168.0.160 ***** [2005/09/22 01:26:09, 0] nmbd/nmbd.c:terminate(58) Got SIGTERM: going down... [2005/09/22 12:44:57, 0] nmbd/nmbd.c:main(718) Netbios nameserver version 3.0.20 started. Copyright Andrew Tridgell and the Samba Team 1994-2004 [2005/09/22 12:44:57, 0] param/loadparm.c:map_parameter(2536) Unknown parameter encountered: "character set" [2005/09/22 12:44:57, 0] param/loadparm.c:lp_do_parameter(3277) Ignoring unknown parameter "character set"
That doesn't help much further. One thing though is that you can remove the line with the character set from smb.conf as apparently this option is not recognized.
I assume you're trying to start the samba deamon as root as indiciated in the wiki? If so, maybe posting your smb.conf file will help finding the problem (if there is a mistype it could be impossible for the samba deamon to start)
Thanks for your ongoing support so far, pressh
At the moment my smb.conf looks like this.. simple, huh?
$ cat /etc/samba/smb.conf #Global Parameters workgroup = LAN.KRONE netbios name = aspirin encrypt passwords = yes [shared] path=/data/shared browseable = yes read only = yes public = yes writable = no
The official code for the global section should read
Don't think it makes any difference though.
Maybe the following command line commands give any usefull information (as root):
smbd -is nmbd -is
yes, smbd -is gave some useful info! Here it is:
User nobody in passdb, but getpwnam() fails!
Yeah, nobody.. I userdel'ed that sucker 2 days ago because I wanted my lighttpd to run as user 'httpd'. So now I did a quick
to get him back, and Samba is up and running!
Thanks a lot, pressh!