Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2009
    Posts
    57

    drive unmount + samba share

    Hello all,

    We have set up a dedicated server with Centos5.4(Kernel 2.6.18-164.el5PAE). In this we have mounted a external storage device above 1 Tb. And also we have shared this storage device in samba share.

    Sometime when we access this large storage in windows machine the server hangs and we were pushed to restart the server. Past few days it often happens. How to break down this issue and is there some thing that we have to look in specific area to avoid this? Please advise.

    Thanks,
    Minim

  2. #2
    Join Date
    Nov 2010
    Location
    Arizona
    Posts
    297
    The first place to check would be /var/log/messages.

  3. #3
    Join Date
    Jul 2009
    Posts
    57
    Quote Originally Posted by asciiDigital View Post
    The first place to check would be /var/log/messages.
    Thanks for responding
    I have attached the snippet which is logged before sever gets restarted.

    =======================
    smbd getpeername failed. Error was Transport endpoint is not connected
    lib/util_sock.c:write_data(562)
    smbd write_data: write failure in writing to client 192.168.1.105. Error Connection reset by peer
    smbd lib/util_sock.cend_smb(761)
    smbd Error writing 4 bytes to client. -1. (Connection reset by peer)
    kernel: hda-intel: Invalid position buffer, using LPIB read method instead.
    ======================

    Thanks

  4. #4
    Join Date
    Apr 2009
    Location
    whitehouse
    Posts
    656
    You may want to set smb ports = 139 in /etc/samba/smb.conf and restart samba. Hopefully that solves the problem.

    Quote Originally Posted by minim View Post
    Thanks for responding
    I have attached the snippet which is logged before sever gets restarted.

    =======================
    smbd getpeername failed. Error was Transport endpoint is not connected
    lib/util_sock.c:write_data(562)
    smbd write_data: write failure in writing to client 192.168.1.105. Error Connection reset by peer
    smbd lib/util_sock.cend_smb(761)
    smbd Error writing 4 bytes to client. -1. (Connection reset by peer)
    kernel: hda-intel: Invalid position buffer, using LPIB read method instead.
    ======================

    Thanks
    James B
    EzeeloginSetup your Secure Linux SSH Gateway.
    |Manage & Administer Multiple Linux Servers Quickly & Securely.

Similar Threads

  1. writing to a windows share from RHE3 using Samba?
    By joelmoss in forum Hosting Security and Technology
    Replies: 0
    Last Post: 11-30-2005, 01:19 PM
  2. Map network drive by using Samba
    By maxbear in forum Hosting Security and Technology Tutorials
    Replies: 0
    Last Post: 06-30-2005, 06:28 AM
  3. mounting samba share
    By Markwaugh in forum Hosting Security and Technology
    Replies: 1
    Last Post: 02-16-2005, 08:35 AM
  4. Unmount a mount?
    By BlaZingPenguin in forum Hosting Security and Technology
    Replies: 1
    Last Post: 08-04-2004, 09:53 PM
  5. share entire drive in windows?
    By zerosix in forum Web Hosting Lounge
    Replies: 18
    Last Post: 05-15-2004, 10:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •