From owner-freebsd-questions Thu Jun 7 10:54:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.simrad.no (mail.simrad.no [193.69.73.2]) by hub.freebsd.org (Postfix) with SMTP id DB33437B401 for ; Thu, 7 Jun 2001 10:54:01 -0700 (PDT) (envelope-from chip.wiegand@simrad.com) Received: by mail.simrad.no(Lotus SMTP MTA v4.6.3 (778.2 1-4-1999)) id 41256A64.0067D887 ; Thu, 7 Jun 2001 19:54:16 +0100 X-Lotus-FromDomain: KONGSBERG-MARITIME@S_EXT From: chip.wiegand@simrad.com Reply-To: chip.wiegand@simrad.com To: questions@freebsd.org Message-ID: <41256A64.0067D447.00@mail.simrad.no> Date: Thu, 7 Jun 2001 10:47:30 -0700 Subject: Re: smbd problem, here's the log errors Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >On Wed, 6 Jun 2001 chip.wiegand@simrad.com wrote: >> Can anyone tell me what this stuff means? >> >> simrad_4# tail log.smb >> file_init: Information only: requested 10000 open files, 1054 are available. >> [2001/06/06 09:07:48, 1] smbd/server.c:main(641) >> smbd version 2.0.7 started. >> Copyright Andrew Tridgell 1992-1998 >> [2001/06/06 09:07:48, 1] smbd/files.c:file_init(216) >> file_init: Information only: requested 10000 open files, 1054 are available. >> [2001/06/06 09:07:48, 0] smbd/server.c:main(707) >> standard input is not a socket, assuming -D option >> [2001/06/06 09:07:48, 0] lib/util_sock.c:open_socket_in(866) >> bind failed on port 139 socket_addr=0.0.0.0 (Address already in use) > >Looks like smbd or something is already listening on that port. Have you >tried sockstat(1)? Ah, jeez, I just rebooted the bsd box and did not manually start smbd and nmbd, and I see they start on bootup. This machine hasn't been rebooted in close to 3 months, and I forgot about that. I have to manually start apache, but ftp and samba start on bootup. Anyway, I still cannot access the shared directories, here is the error message: [2001/06/06 14:59:48, 1] smbd/server.c:main(641) smbd version 2.0.7 started. Copyright Andrew Tridgell 1992-1998 [2001/06/06 14:59:48, 1] smbd/files.c:file_init(216) file_init: Information only: requested 10000 open files, 1054 are available. This has only been a problem since shutting down the system on Friday and repowering on Sunday. I don't know what the last line means in the error above. This is getting more interesting all the time, this is from the log.cwiegand: [2001/06/04 08:01:42, 0] lib/util_sock.c:write_socket_data(543) write_socket_data: write failure. Error = Broken pipe [2001/06/04 08:01:42, 0] lib/util_sock.c:write_socket(569) write_socket: Error writing 88 bytes to socket 4: ERRNO = Broken pipe [2001/06/04 08:01:42, 0] lib/util_sock.c:send_smb(757) Error writing 88 bytes to client. -1. Exiting (this whole section is repeated quite a few times) Now, just minutes before this I was connected to the shared directories, the line directly above this section was at 07:30:54 and showed my connection was closed: [2001/06/04 07:30:54, 1] smbd/password.c:pass_check_smb(506) Account for user 'nobody' was disabled. [2001/06/04 07:30:54, 1] smbd/service.c:make_connection(550) cwiegand (157.237.65.238) connect to service Chip as user chip (uid=1001, gid= 1001) (pid 583) [2001/06/04 07:30:54, 0] smbd/nttrans.c:call_nt_transact_ioctl(2516) call_nt_transact_ioctl: Currently not implemented. [2001/06/04 07:53:42, 1] smbd/service.c:close_cnum(583) cwiegand (157.237.65.238) closed connection to service Chip [2001/06/04 07:53:42, 1] smbd/service.c:close_cnum(583) cwiegand (157.237.65.238) closed connection to service website Now when I try to connect via my NT workstation thru explorer it times out with a message about the connection being canceled, (which I didn't cancel). Does any of this help? Chip Wiegand Simrad, Inc www.simradusa.com chip.wiegand@simrad.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message