歡迎您光臨本站 註冊首頁

samba錯誤多,大家看下日誌

←手機掃碼閱讀     火星人 @ 2014-03-05 , reply:0

samba錯誤多,大家看下日誌

cups可能是我沒有印表機的原因,這個無所謂,但是後面的錯誤是什麼呀?我的系統是fedora core 5,yum安裝的samba

Oct  7 09:04:12 mail smbd:   Unable to connect to CUPS server localhost - Connection refused
Oct  7 09:04:12 mail smbd: printing/print_cups.c:cups_cache_reload(85)
Oct  7 09:04:12 mail smbd:   Unable to connect to CUPS server localhost - Connection refused
Oct  7 09:04:12 mail smbd: lib/util_sock.c:get_peer_addr(1229)
Oct  7 09:04:12 mail smbd:   getpeername failed. Error was Transport endpoint is not connected
Oct  7 09:04:12 mail smbd: lib/util_sock.c:get_peer_addr(1229)
Oct  7 09:04:12 mail smbd:   getpeername failed. Error was Transport endpoint is not connected
Oct  7 09:04:12 mail smbd: lib/util_sock.c:write_data(562)
Oct  7 09:04:12 mail smbd:   write_data: write failure in writing to client 0.0.0.0. Error Connection reset by peer
Oct  7 09:04:12 mail smbd: lib/util_sock.c:send_smb(769)
Oct  7 09:04:12 mail smbd:   Error writing 4 bytes to client. -1. (Connection reset by peer)
Oct  7 09:04:29 mail smbd: lib/util_sock.c:get_peer_addr(1229)
Oct  7 09:04:29 mail smbd:   getpeername failed. Error was Transport endpoint is not connected
Oct  7 09:04:29 mail smbd: lib/util_sock.c:get_peer_addr(1229)
Oct  7 09:04:29 mail smbd:   getpeername failed. Error was Transport endpoint is not connected
Oct  7 09:04:29 mail smbd: lib/util_sock.c:write_data(562)
Oct  7 09:04:29 mail smbd:   write_data: write failure in writing to client 0.0.0.0. Error Connection reset by peer
Oct  7 09:04:29 mail smbd: lib/util_sock.c:send_smb(769)
Oct  7 09:04:29 mail smbd:   Error writing 4 bytes to client. -1. (Connection reset by peer)
《解決方案》

你最好把smb.conf貼上來,大家好幫你找原因。
《解決方案》

我的系統,fc5,samba為系統自帶,然後yum update了一下。語言是en_US.UTF-8
我的smb.conf


        netbios name = GAME
        server string = linux上的文件伺服器
        username map = /etc/samba/smbusers
        log file = /var/log/samba/%m.log
        max log size = 50
        dns proxy = No
        cups options = raw


        comment = All Printers
        path = /usr/spool/samba
        printable = Yes
        browseable = No

[遊戲樣本]
        comment = 遊戲樣本和其他只讀文件
        path = /file/win/read
        write list = game
        read only = No
        guest ok = Yes


        comment = 映射的網路遊戲
        path = /file/win/game
        read only = No
        guest ok = Yes
        browseable = No

[臨時文件]
        comment = 臨時文件夾可寫
        path = /file/win/temp
        read only = No
        guest ok = Yes

[火星人 ] samba錯誤多,大家看下日誌已經有341次圍觀

http://coctec.com/docs/service/show-post-45432.html