I have the default installation of samba (2.0.5) that came with Caldera OL 2.3, but it doesn't seem to be starting up properly, nor is SWAT working. When I run the script 'samba start', I get the message "Starting samba: smbd nmbd", but when I check the running processes, only nmbd shows up. Running smbstatus gives me the message "Couldn't open status file /var/lock/samba.d/STATUS..LCK" (no, I didn't make a typo there...there are, in fact, two dots in between STATUS and LCK). In fact, the only files in that directory are smbd.pid and nmbd.pid. nmbd.pid correctly reports the pid of nmbd, but since smbd doesn't show up in the process list, i don't know if it's correctly reporting the smbd pid. Also, when I point my browser to http://localhost:901 I get a Network error: Connection reset by peer. netstat -vat shows swat listening on port 901, and netbios-ssn on port 139. I have the line swat 901/tcp in my /etc/services file, and I have the lines swat stream tcp nowait.400 root /usr/sbin/tcpd /usr/sbin/swat netbios-ssn stream tcp nowait root /usr/sbin/smbd smbd netbios-ns dgram udp nowait root /usr/sbin/nmbd nmbd in my /etc/inetd.conf file. Am I doing something wrong? Is there something curious about samba on Caldera 2.3? I've read that Caldera uses PAM, but I would assume that the samba rpm that came with COL2.3 would have Samba compiled to use PAM. If I am leaving out info you need, let me know. Regards, Chris Todd todd@neurosci.bns.pitt.edu
On Sat, 13 Nov 1999 05:10:27 +1100, hai scritto:>and netbios-ssn on port 139. I have the line>If I am leaving out info you need, let me know.what's the output of: 1) smbclient -L <your.host.name> -U% 2) testparm (look at just the 1st part for errors) -- giulioo@tiscalinet.it
smbclient -L HOSTNAME -U% gives me: added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0 session request to HOSTNAME failed session request to *SMBSERVER failed testparm shows no errors in my smb.conf file...the only thing I changed from the smb.conf.sample file that was included with the distribution was to change the workgroup name, and to add one share on the samba server box as follows: [download] comment = Network download directory path = /export/download writable = yes printable = no create mask = 0765 Hope this helps, Chris Todd todd@neurosci.bns.pitt.edu -----Original Message----- From: Giulio Orsero [mailto:giulioo@tiscalinet.it] Sent: Friday, November 12, 1999 1:39 PM To: Multiple recipients of list SAMBA Subject: Re: problems running samba on Caldera 2.3? On Sat, 13 Nov 1999 05:10:27 +1100, hai scritto: what's the output of: 1) smbclient -L <your.host.name> -U% 2) testparm (look at just the 1st part for errors) -- giulioo@tiscalinet.it
On Sat, 13 Nov 1999 05:10:27 +1100, hai scritto:>When I run the script 'samba start', I get the message "Starting samba: >smbd nmbd", but when I check the running processes, only nmbd shows up.>in my /etc/services file, and I have the lines >swat stream tcp nowait.400 root /usr/sbin/tcpd /usr/sbin/swat >netbios-ssn stream tcp nowait root /usr/sbin/smbd smbd >netbios-ns dgram udp nowait root /usr/sbin/nmbd nmbd >in my /etc/inetd.conf file.You can start samba either as a daemon (samba start) or from inetd. Comment out the 2 lines referring to smbd and nmbd in inetd.conf, then "killall -1 inetd", "killall nmbd smbd". Check there are no smbd and nmbd processes. Then "samba start" You should now see smbd and nmbd processses. Then do smbclient -L hostname, and look at the samba logs. If you still have problems set "log level = 5" or more in smb.conf, restart samba, and see the logs. -- giulioo@tiscalinet.it