- 论坛徽章:
- 0
|
大家好,最近小弟配了个samba +hp6L打印机。但是开启后,每隔一段时间就会报如下错误。实在是不明,请大家指点一下 。
Aug 2 13:39:23 nat smbd[7953]: [2006/08/02 13:39:23, 0] lib/util_sock.c:get_peer_addr(1000)
Aug 2 13:39:23 nat smbd[7953]: getpeername failed. Error was Transport endpoint is not connected
Aug 2 13:39:23 nat smbd[7953]: [2006/08/02 13:39:23, 0] lib/util_sock.c:get_peer_addr(1000)
Aug 2 13:39:23 nat smbd[7953]: getpeername failed. Error was Transport endpoint is not connected
Aug 2 13:39:23 nat smbd[7953]: [2006/08/02 13:39:23, 0] lib/util_sock.c:write_socket_data(430)
Aug 2 13:39:23 nat smbd[7953]: write_socket_data: write failure. Error = Connection reset by peer
Aug 2 13:39:23 nat smbd[7953]: [2006/08/02 13:39:23, 0] lib/util_sock.c:write_socket(455)
Aug 2 13:39:23 nat smbd[7953]: write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer
Aug 2 13:39:23 nat smbd[7953]: [2006/08/02 13:39:23, 0] lib/util_sock.c:send_smb(647)
Aug 2 13:39:23 nat smbd[7953]: Error writing 4 bytes to client. -1. (Connection reset by peer)
Aug 2 13:51:55 nat sshd(pam_unix)[7962]: session opened for user root by root(uid=0)
Aug 2 14:01:01 nat crond(pam_unix)[8013]: session opened for user root by (uid=0)
Aug 2 14:01:01 nat crond(pam_unix)[8013]: session closed for user root
Aug 2 14:34:52 nat smbd[8058]: [2006/08/02 14:34:52, 0] lib/util_sock.c:get_peer_addr(1000)
Aug 2 14:34:52 nat smbd[8058]: getpeername failed. Error was Transport endpoint is not connected
Aug 2 14:34:52 nat smbd[8058]: [2006/08/02 14:34:52, 0] lib/util_sock.c:get_peer_addr(1000)
Aug 2 14:34:52 nat smbd[8058]: getpeername failed. Error was Transport endpoint is not connected
Aug 2 14:34:52 nat smbd[8058]: [2006/08/02 14:34:52, 0] lib/util_sock.c:write_socket_data(430)
Aug 2 14:34:52 nat smbd[8058]: write_socket_data: write failure. Error = Connection reset by peer
Aug 2 14:34:52 nat smbd[8058]: [2006/08/02 14:34:52, 0] lib/util_sock.c:write_socket(455)
Aug 2 14:34:52 nat smbd[8058]: write_socket: Error writing 4 bytes to socket 23: ERRNO = Connection reset by peer
Aug 2 14:34:52 nat smbd[8058]: [2006/08/02 14:34:52, 0] lib/util_sock.c:send_smb(647)
Aug 2 14:34:52 nat smbd[8058]: Error writing 4 bytes to client. -1. (Connection reset by peer)
————————————————————————————————————————
smb.conf
[global]
workgroup = WORKGROUP
server string = Samba Server
use sendfile = no
hosts allow = 192.168.0.
printcap name = /etc/printcap
load printers = yes
printing = cups
cups options = raw
max log size = 50
security = user
username map = /etc/samba/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = no
[homes]
comment = Home Directories
browseable = no
writable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
public = yes
[root]
path = /root
browseable = no |
|