저의 삼바로그와 메세지파일에 있는 에러를 분석 좀 해주세요~ㅜ
제가 근무하는 회사에서 제가 강력하게 주장(?)해서 엔티4.1서버를 없애고 리눅스의 삼바를 이용한 서버를 사용하고 있습니다.
하지만 삼바를 띄우고 난뒤에 클라이언트에서의 사용상의 문제는 없는데, smb.log 파일이나 message 파일을 보면 삼바관련해서 에러가 엄청 많습니다...ㅜ.ㅜ
왠지 클라이언트에서 입력하는 데이터들이 제대로 입력이 되는건지도 의문이 들고요....ㅜ.ㅜ
testparm도 해보고 security도 user에서 share로 바꿔보고... 삼바로 공유한 디렉의 퍼미션을 775로도 해준 상황이며, 현재 이 서버에 클라이언트 10대정도가 실시간으로 특정프로그램을 사용하여 데이터를 실시간으로 입력하고 있습니다...ㅡㅡ
우선 제가 사용하는 smb.conf의 내용은 아래와 같습니다.
# Samba config file created using Hancom Server Control
# Modified on 2005-05-07 12:42:56
# Global parameters
[global]
dns proxy = no
dos charset = CP949
encrypt passwords = No
guest account = nobody
idmap gid = 16777216-33554431
idmap uid = 16777216-33554431
load printers = yes
log file = /var/log/samba/smbd.log
max log size = 50
netbios name = linux
printcap name = /etc/printcap
security = share
#security = user
server string = Samba Server
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
template shell = /bin/false
unix charset = CP949
winbind use default domain = no
workgroup = sjdomain
#[printers]
# browseable = No
# comment = All Printers
# guest ok = Yes
# guest only = Yes
# path = /var/spool/samba
# print command = /usr/bin/lpr -r %s
# printable = No
# writeable = No
#[homes]
[hyesung]
guest ok = Yes
path = /hyesung/
writeable = Yes
그리고 /var/log/message 파일에 보면 아래의 내용이 아주 지속적이고 끊임없이 올라옵니다...ㅜ.ㅜ
Aug 3 10:28:26 localhost smbd[2253]: [2005/08/03 10:28:26, 0] lib/util_sock.c:get_peer_addr(978)
Aug 3 10:28:26 localhost smbd[2253]: getpeername failed. Error was Transport endpoint is not connected
Aug 3 10:28:26 localhost smbd[2253]: [2005/08/03 10:28:26, 0] lib/util_sock.c:write_socket_data(413)
Aug 3 10:28:26 localhost smbd[2253]: write_socket_data: write failure. Error = Connection reset by peer
Aug 3 10:28:26 localhost smbd[2253]: [2005/08/03 10:28:26, 0] lib/util_sock.c:write_socket(438)
Aug 3 10:28:26 localhost smbd[2253]: write_socket: Error writing 4 bytes to socket 22: ERRNO = Connection reset by peer
Aug 3 10:28:26 localhost smbd[2253]: [2005/08/03 10:28:26, 0] lib/util_sock.c:send_smb(630)
Aug 3 10:28:26 localhost smbd[2253]: Error writing 4 bytes to client. -1. (Connection reset by peer)
Aug 3 11:00:26 localhost smbd[2256]: [2005/08/03 11:00:26, 0] lib/util_sock.c:get_peer_addr(978)
Aug 3 11:00:26 localhost smbd[2256]: getpeername failed. Error was Transport endpoint is not connected
Aug 3 11:00:26 localhost smbd[2256]: [2005/08/03 11:00:26, 0] lib/util_sock.c:get_peer_addr(978)
Aug 3 11:00:26 localhost smbd[2256]: getpeername failed. Error was Transport endpoint is not connected
Aug 3 11:00:26 localhost smbd[2256]: [2005/08/03 11:00:26, 0] lib/util_sock.c:write_socket_data(413)
Aug 3 11:00:26 localhost smbd[2256]: write_socket_data: write failure. Error = Connection reset by peer
Aug 3 11:00:26 localhost smbd[2256]: [2005/08/03 11:00:26, 0] lib/util_sock.c:write_socket(438)
Aug 3 11:00:26 localhost smbd[2256]: write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer
Aug 3 11:00:26 localhost smbd[2256]: [2005/08/03 11:00:26, 0] lib/util_sock.c:send_smb(630)
Aug 3 11:00:26 localhost smbd[2256]: Error writing 4 bytes to client. -1. (Connection reset by peer)
Aug 3 11:36:24 localhost samba(pam_unix)[2258]: authentication failure; logname= uid=0 euid=0 tty=samba ruser= rhost=192.168.1.93 user=sjuser
Aug 3 11:36:26 localhost smbd[2258]: [2005/08/03 11:36:26, 0] auth/pampass.c:smb_pam_passcheck(810)
Aug 3 11:36:26 localhost smbd[2258]: smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User sjuser !
그리고 /var/log/samba/smbd.log 파일을 보면.....ㅡㅡ
[2005/08/02 14:45:50, 0] lib/util_sock.c:write_socket(438)
write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer
[2005/08/02 14:45:50, 0] lib/util_sock.c:send_smb(630)
Error writing 4 bytes to client. -1. (Connection reset by peer)
[2005/08/02 15:17:50, 0] lib/util_sock.c:get_peer_addr(978)
getpeername failed. Error was Transport endpoint is not connected
[2005/08/02 15:17:50, 0] lib/util_sock.c:get_peer_addr(978)
getpeername failed. Error was Transport endpoint is not connected
[2005/08/02 15:17:50, 0] lib/util_sock.c:write_socket_data(413)
write_socket_data: write failure. Error = Connection reset by peer
[2005/08/02 15:17:50, 0] lib/util_sock.c:write_socket(438)
write_socket: Error writing 4 bytes to socket 22: ERRNO = Connection reset by peer
[2005/08/02 15:17:50, 0] lib/util_sock.c:send_smb(630)
Error writing 4 bytes to client. -1. (Connection reset by peer)
[2005/08/02 15:49:50, 0] lib/util_sock.c:get_peer_addr(978)
getpeername failed. Error was Transport endpoint is not connected
[2005/08/02 15:49:50, 0] lib/util_sock.c:get_peer_addr(978)
getpeername failed. Error was Transport endpoint is not connected
[2005/08/02 15:49:50, 0] lib/util_sock.c:write_socket_data(413)
write_socket_data: write failure. Error = Connection reset by peer
[2005/08/02 15:49:50, 0] lib/util_sock.c:write_socket(438)
write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer
[2005/08/02 15:49:50, 0] lib/util_sock.c:send_smb(630)
Error writing 4 bytes to client. -1. (Connection reset by peer)
[2005/08/02 16:21:50, 0] lib/util_sock.c:get_peer_addr(978)
getpeername failed. Error was Transport endpoint is not connected
[2005/08/02 16:21:50, 0] lib/util_sock.c:get_peer_addr(978)
getpeername failed. Error was Transport endpoint is not connected
[2005/08/02 16:21:50, 0] lib/util_sock.c:write_socket_data(413)
write_socket_data: write failure. Error = Connection reset by peer
[2005/08/02 16:21:50, 0] lib/util_sock.c:write_socket(438)
write_socket: Error writing 4 bytes to socket 22: ERRNO = Connection reset by peer
[2005/08/02 16:21:50, 0] lib/util_sock.c:send_smb(630)
Error writing 4 bytes to client. -1. (Connection reset by peer)
[2005/08/02 16:53:50, 0] lib/util_sock.c:get_peer_addr(978)
getpeername failed. Error was Transport endpoint is not connected
[2005/08/02 16:53:50, 0] lib/util_sock.c:get_peer_addr(978)
getpeername failed. Error was Transport endpoint is not connected
[2005/08/02 16:53:50, 0] lib/util_sock.c:write_socket_data(413)
write_socket_data: write failure. Error = Connection reset by peer
[2005/08/02 16:53:50, 0] lib/util_sock.c:write_socket(438)
write_socket: Error writing 4 bytes to socket 5: ERRNO = Connection reset by peer
[2005/08/02 16:53:50, 0] lib/util_sock.c:send_smb(630)
Error writing 4 bytes to client. -1. (Connection reset by peer)
.
.
.
이렇게 나옵니다... 에효...ㅜ.ㅜ 어떻게 하면 될까요???
kldp를 뒤져보아도.. 제가 몰라서 못찾는건지 아니면 없는건지...
답을 못찾겠더군요....
이 장황한 글을 보시고 그냥 지나치시지 마시고 부디 아주 조금이라도 도와주세요....ㅜ.ㅜ
저도 오늘 samba로 운영되는 file server의 chm file이
저도 오늘 samba로 운영되는 file server의 chm file이 열리지않아 검색하다가 발견한 사안인데 error message가 비슷한 듯 하여, 혹시 도움이 되지 않을까 하는 마음에 올려봅니다.
Samba & .chm files?
http://forums.suselinuxsupport.de/lofiversion/index.php/t16962.html
댓글 달기