Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jun 2001 10:47:30 -0700
From:      chip.wiegand@simrad.com
To:        questions@freebsd.org
Subject:   Re: smbd problem, here's the log errors
Message-ID:  <41256A64.0067D447.00@mail.simrad.no>

next in thread | raw e-mail | index | archive | help


>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41256A64.0067D447.00>