After compiling and installing Samba 2.0.7 on my OpenBSD i386 box, I'm getting a strange error when I run smbclient -U% -L schnarff: added interface ip=192.168.2.70 bcast=192.168.2.255 nmask=255.255.255.0 read_socket_with_timeout: timeout read. read error Connection reset by peer. session request to SCHNARFF failed (code 0) read_socket_with_timeout: timeout read. read error Connection reset by peer. session request to *SMBSERVER failed (code 0) Any idea why this would be? Testparm comes up with no errors. Also, when I try running /usr/local/samba/bin/smbd -D, nothing shows up in my process list (ps ax). Might this be related? Thank you, Alex Le Fevre __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/
Hi Alex, based on smbd not showing up in your process list, and the 'connection reset by peer' message, it sounds like your smdb daemon is coring for some reason. Your best bet might be to change your smb.conf file variable for higher debug; 'level = 10', and try your test again. then look in the smbd log file to see if it is explicitly calling 'panic', or if you perhaps have a core file in the subdirectory from whence you ran smbclient, or in the directory where the smbd executable resides... With this information, the folks on this list will be able to be of more help. Hope this helps, Don -----Original Message----- From: Alex Le Fevre [mailto:alexlefevre@yahoo.com] Sent: Saturday, December 09, 2000 10:18 PM To: samba@lists.samba.org Subject: Read Error After compiling and installing Samba 2.0.7 on my OpenBSD i386 box, I'm getting a strange error when I run smbclient -U% -L schnarff: added interface ip=192.168.2.70 bcast=192.168.2.255 nmask=255.255.255.0 read_socket_with_timeout: timeout read. read error Connection reset by peer. session request to SCHNARFF failed (code 0) read_socket_with_timeout: timeout read. read error Connection reset by peer. session request to *SMBSERVER failed (code 0) Any idea why this would be? Testparm comes up with no errors. Also, when I try running /usr/local/samba/bin/smbd -D, nothing shows up in my process list (ps ax). Might this be related? Thank you, Alex Le Fevre __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/
Thanks, Robert - I hadn't checked-that makes a lot of sense. What I was thinking of was a core that was not called by samba, but an actual core by the smbd, where we could look at the debug statements up to the time the error occurred, and check for a core file. 'Course, there's probably lots of other things that could cause this behavior as well... Thanks again, Don -----Original Message----- From: Robert Dahlem [mailto:Robert.Dahlem@gmx.net] Sent: Monday, December 11, 2000 18:49 To: Alex Le Fevre; MCCALL,DON (HP-USA,ex1); samba@lists.samba.org Subject: RE: Read Error Alex, On Mon, 11 Dec 2000 12:25:55 -0800, MCCALL,DON (HP-USA,ex1) wrote:>based on smbd not showing up in your process list, and the >'connection reset by peer' message, it sounds like your smdb daemon >is coring for some reason.>Your best bet might be to change your smb.conf file variable for >higher debug; 'level = 10', and try your test again.There is nothing like a panic message where you need to set any debug level: they are all at level 0. Regards, Robert -- --------------------------------------------------------------- Robert.Dahlem@gmx.net Fax +49-69-432647 --------------------------------------------------------------- Sent using PMMail (http://www.pmmail2000.com) - fast, decent, email software; far better than Outlook. Try it sometime.