[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

03/18/2005 at 09:41AM PST, ID: 21356324
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.2

Samab errors  (getpeername failed. Error was Transport endpoint is not connected)  (write_socket_data: write failure. Error = Connection reset by peer)

Asked by DanRaposo in Linux Networking

Tags: error, endpoint, transport, getpeername, connected

All,

I recently configured a SAMBA server on Redhat ES 3 and migrated to SAMBA Version 3.0.9-1.3E.2

I am getting a lot of error messages in my /var/log/messages file like below:

Mar 18 12:10:24 samba smbd[12511]:   Denied connection from  (0.0.0.0)
Mar 18 12:10:24 samba smbd[12511]: [2005/03/18 12:10:24, 0] lib/util_sock.c:get_peer_addr(1000)
Mar 18 12:10:24 samba smbd[12511]:   getpeername failed. Error was Transport endpoint is not connected
Mar 18 12:10:24 samba smbd[12511]:   Connection denied from 0.0.0.0
Mar 18 12:10:24 samba smbd[12511]: [2005/03/18 12:10:24, 0] lib/util_sock.c:write_socket_data(430)
Mar 18 12:10:24 samba smbd[12511]:   write_socket_data: write failure. Error = Connection reset by peer
Mar 18 12:10:24 samba smbd[12511]: [2005/03/18 12:10:24, 0] lib/util_sock.c:write_socket(455)
Mar 18 12:10:24 samba smbd[12511]:   write_socket: Error writing 5 bytes to socket 22: ERRNO = Connection reset by peer
Mar 18 12:10:24 samba smbd[12511]: [2005/03/18 12:10:24, 0] lib/util_sock.c:send_smb(647)
Mar 18 12:10:24 samba smbd[12511]:   Error writing 5 bytes to client. -1. (Connection reset by peer)
Mar 18 12:15:58 samba smbd[12526]: [2005/03/18 12:15:58, 0] lib/util_sock.c:get_peer_addr(1000)
Mar 18 12:15:58 samba smbd[12526]:   getpeername failed. Error was Transport endpoint is not connected
Mar 18 12:15:58 samba smbd[12526]: [2005/03/18 12:15:58, 0] lib/access.c:check_access(328)
Mar 18 12:15:58 samba smbd[12526]: [2005/03/18 12:15:58, 0] lib/util_sock.c:get_peer_addr(1000)
Mar 18 12:15:58 samba smbd[12526]:   getpeername failed. Error was Transport endpoint is not connected
Mar 18 12:15:58 samba smbd[12526]:   Denied connection from  (0.0.0.0)
Mar 18 12:15:58 samba smbd[12526]: [2005/03/18 12:15:58, 0] lib/util_sock.c:get_peer_addr(1000)
Mar 18 12:15:58 samba smbd[12526]:   getpeername failed. Error was Transport endpoint is not connected
Mar 18 12:15:58 samba smbd[12526]:   Connection denied from 0.0.0.0
Mar 18 12:15:58 samba smbd[12526]: [2005/03/18 12:15:58, 0] lib/util_sock.c:write_socket_data(430)
Mar 18 12:15:58 samba smbd[12526]:   write_socket_data: write failure. Error = Connection reset by peer
Mar 18 12:15:58 samba smbd[12526]: [2005/03/18 12:15:58, 0] lib/util_sock.c:write_socket(455)
Mar 18 12:15:58 samba smbd[12526]:   write_socket: Error writing 5 bytes to socket 5: ERRNO = Connection reset by peer
Mar 18 12:15:58 samba smbd[12526]: [2005/03/18 12:15:58, 0] lib/util_sock.c:send_smb(647)
Mar 18 12:15:58 samba smbd[12526]:   Error writing 5 bytes to client. -1. (Connection reset by peer)



Does anyone know why these messages are occuring?    It should not be a network bottleneck.  This is the conf file and environment.

Runnig on P4 2.8 GHZ with 1 GB of RAM ... system is also the NFS server for DAS file system (same file system)  I have setup SMABA to be a Domain controller and handle windows authentication.   These errors did not seem to be there in previous version of SAMBA but configration may not be consistent.

System is connected via 1000MB link to Cisco Cat 4006.  All users are conencted directly to that switch.



I also do not have the password synchronization working between smbpasswd and yppasswd


CONF FILE

#======================= Global Settings =====================================
[global]

# workgroup = NT-Domain-Name or Workgroup-Name
   workgroup = COMPANY
   netbios name = samba
   server string = Samba PDC Server %v

# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

; ##### DAN ENTERED ON 6/30/04 #####
; PDC and master browser settings
   os level =64
   preferred master = yes
   local master = yes
   domain master = yes
   domain logons = yes
   wins support = yes
   dns proxy = yes
; security and logging settings
  # Security must be set = user for PDC
   security = user
  # encrypt passwords ,ust be set = yes for PDC
   encrypt passwords = yes
   log file = /var/log/samba/%m.log
   log level = 3
   max log size = 50
   hosts allow = 127.0.0.1 192.168.0.0/255.255.0.0
   #hosts allow = 127.0.0.1 192.168.0.0/255.255.255.0 192.168.10.0/255.255.255.0

;user profiles and home directory - note uses a LOT of bandwidth
   logon home = \\npnas1\nd1\users\%U
;   logon drive = H:
;   logon path = \\%L\profiles\%U
    logon path =

; logon script is an admisistrative tool used primarily for globally
; updating client machines with items like registry patches,
; antivirus updates, program updates and more.  Anything you want to
; push to the client can be done via netlogon
 ;  logon script = netlogon.bat

; This next line allows samba to create machine accounts as needed
; when the client first joins the domain.
   add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u
; This next section will simplify password synchronization between
; windows and LINUX.  If a user changes their samba password from
; windows, this script will in turn update their LINUX password.
; If the LINUX password is changed however it will not sync the
; SAMBA password automatically.

   unix password sync = yes
   passwd program = /usr/bin/yppasswd %u
   passwd chat = *root*password* rite\n *new*password* %n\n *retype*password* %n\n *password has been changed*
   ;password chat debug = yes


#============================ Share Definitions ==============================
[homes]
   comment = Home Directories
   browseable = no
   writable = yes

# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
 [Profiles]
   path = /home/samba/profiles
   browseable = no
   writable = yes
   create mask = 0600
   directory mask = 0700
 [nd1]
   path = /nd1
   browseable = no
   writable = yes
   create mask = 0775
   directory mask = 0775

; [netlogon]
;   comment = Network Logon Service
;   path = /home/netlogon
;   read only = yes
;   write list = draposo



[+][-]03/18/05 11:35 AM, ID: 13577691

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/18/05 12:45 PM, ID: 13578272

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/18/05 12:46 PM, ID: 13578287

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05/30/05 12:21 AM, ID: 14106898

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Linux Networking
Tags: error, endpoint, transport, getpeername, connected
Sign Up Now!
Solution Provided By: apsivam
Participating Experts: 2
Solution Grade: A
 
 
[+][-]06/17/05 07:35 AM, ID: 14241274

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/30/06 11:41 AM, ID: 16335929

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]03/30/06 11:56 AM, ID: 16336131

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20090824-EE-VQP-74