unknown problem getpeername failed. Error was socket is not connected

john marchant jmarchant at cobbcounty.org
Thu Dec 13 20:29:03 GMT 2001


I found an old message that said I had to be SYSTEM to use smbpasswd.  I did
this and added users. However, I still cannot fully connect from windows 98.
I have included log.smb.  I hope this is the correct thing to do.  I also
added a samba__guest account to our NT machines and the smbpasswd.dat file
with the same passwords.  I also added myself with the same password that I
have on Windows.  Here is the file (and smb.conf).  Thanks again.  If it
matters, my smb.log file says it can't find printers.  Would this keep it
from running?

JENNY>>edit log.smb
    1       [2001/12/13 15:07:12, 6]
CMS_ROOT:[SAMBA.SOURCE.PARAM]LOADPARM.C;2:(
1855)
*c

[2001/12/13 15:07:12, 6] CMS_ROOT:[SAMBA.SOURCE.PARAM]LOADPARM.C;2:(1855)
  lp_file_list_changed()
  file SAMBA_ROOT/LIB/SMB.CONF -> SAMBA_ROOT/LIB/SMB.CONF  last mod_time:
Thu D`

[2001/12/13 15:07:13, 2] CMS_ROOT:[SAMBA_VMS.SOURCE.LIB]INTERFACE.C;1:(83)
  added interface ip=160.73.112.25 bcast=160.73.255.255 nmask=255.255.0.0
[2001/12/13 15:07:13, 0] CMS_ROOT:[SAMBA.SOURCE.LIB]UTIL_SOCK.C;2:(148)
  Failed to set socket option SO_KEEPALIVE (Error protocol not available )
[2001/12/13 15:07:13, 0] CMS_ROOT:[SAMBA.SOURCE.LIB]UTIL_SOCK.C;2:(148)
  Failed to set socket option TCP_NODELAY (Error protocol not available )
[2001/12/13 15:07:13, 6] CMS_ROOT:[SAMBA.SOURCE.LIB]CHARSET.C;2:(339)
  codepage_initialise: client code page = 850
[2001/12/13 15:07:13, 5] CMS_ROOT:[SAMBA.SOURCE.LIB]CHARSET.C;2:(196)
  load_client_codepage: loading codepage 850.
  Adding chars 0x85 0xb7 (l->u = True) (u->l = True)
  Adding chars 0xa0 0xb5 (l->u = True) (u->l = True)
  Adding chars 0x83 0xb6 (l->u = True) (u->l = True)
  Adding chars 0xc6 0xc7 (l->u = True) (u->l = True)
  Adding chars 0x84 0x8e (l->u = True) (u->l = True)
  Adding chars 0x86 0x8f (l->u = True) (u->l = True)
  Adding chars 0x91 0x92 (l->u = True) (u->l = True)
  Adding chars 0x87 0x80 (l->u = True) (u->l = True)
  Adding chars 0x8a 0xd4 (l->u = True) (u->l = True)
  Adding chars 0x82 0x90 (l->u = True) (u->l = True)
  Adding chars 0x88 0xd2 (l->u = True) (u->l = True)
  Adding chars 0x89 0xd3 (l->u = True) (u->l = True)
  Adding chars 0x8d 0xde (l->u = True) (u->l = True)
  Adding chars 0xa1 0xd6 (l->u = True) (u->l = True)
  Adding chars 0x8c 0xd7 (l->u = True) (u->l = True)
  Adding chars 0x8b 0xd8 (l->u = True) (u->l = True)
  Adding chars 0xd0 0xd1 (l->u = True) (u->l = True)
  Adding chars 0xa4 0xa5 (l->u = True) (u->l = True)
  Adding chars 0x95 0xe3 (l->u = True) (u->l = True)
  Adding chars 0xa2 0xe0 (l->u = True) (u->l = True)
  Adding chars 0x93 0xe2 (l->u = True) (u->l = True)
  Adding chars 0xe4 0xe5 (l->u = True) (u->l = True)
  Adding chars 0x94 0x99 (l->u = True) (u->l = True)
  Adding chars 0x9b 0x9d (l->u = True) (u->l = True)
  Adding chars 0x97 0xeb (l->u = True) (u->l = True)
  Adding chars 0xa3 0xe9 (l->u = True) (u->l = True)
  Adding chars 0x96 0xea (l->u = True) (u->l = True)
  Adding chars 0x81 0x9a (l->u = True) (u->l = True)
  Adding chars 0xec 0xed (l->u = True) (u->l = True)
  Adding chars 0xe7 0xe8 (l->u = True) (u->l = True)
  Adding chars 0x9c 0x0 (l->u = False) (u->l = False)
[2001/12/13 15:07:14, 7] CMS_ROOT:[SAMBA_VMS.SOURCE.LIB]UTIL_SID.C;1:(302)
  string_to_sid: converted SID S-1-5-32 ok
[2001/12/13 15:07:14, 7] CMS_ROOT:[SAMBA_VMS.SOURCE.LIB]UTIL_SID.C;1:(302)
  string_to_sid: converted SID S-1-1 ok
[2001/12/13 15:07:14, 7] CMS_ROOT:[SAMBA_VMS.SOURCE.LIB]UTIL_SID.C;1:(302)
  string_to_sid: converted SID S-1-1-0 ok
[2001/12/13 15:07:14, 7] CMS_ROOT:[SAMBA_VMS.SOURCE.LIB]UTIL_SID.C;1:(302)
  string_to_sid: converted SID S-1-3 ok
[2001/12/13 15:07:14, 7] CMS_ROOT:[SAMBA_VMS.SOURCE.LIB]UTIL_SID.C;1:(302)
  string_to_sid: converted SID S-1-3-0 ok
[2001/12/13 15:07:14, 7] CMS_ROOT:[SAMBA_VMS.SOURCE.LIB]UTIL_SID.C;1:(302)
  string_to_sid: converted SID S-1-5 ok
[2001/12/13 15:07:15, 7] CMS_ROOT:[SAMBA_VMS.SOURCE.LIB]UTIL_SID.C;1:(302)
  string_to_sid: converted SID S-1-5-21-2664311613-1836170955-2857447695
   ok
[2001/12/13 15:07:15, 3] CMS_ROOT:[SAMBA.SOURCE.SMBD]SERVER.C;2:(699)
  loaded services
[2001/12/13 15:07:16, 0] CMS_ROOT:[SAMBA.SOURCE.LIB]UTIL_SOCK.C;2:(148)
  Failed to set socket option SO_KEEPALIVE (Error protocol not available )
[2001/12/13 15:07:16, 0] CMS_ROOT:[SAMBA.SOURCE.LIB]UTIL_SOCK.C;2:(148)
  Failed to set socket option TCP_NODELAY (Error protocol not available )
[2001/12/13 15:07:16, 6] CMS_ROOT:[SAMBA.SOURCE.PARAM]LOADPARM.C;2:(1855)
  lp_file_list_changed()
  file SAMBA_ROOT/LIB/SMB.CONF -> SAMBA_ROOT/LIB/SMB.CONF  last mod_time:
Thu D`

[2001/12/13 15:07:17, 2] CMS_ROOT:[SAMBA.SOURCE.SMBD]SERVER.C;2:(735)
  Changed root to /
[2001/12/13 15:07:17, 3] CMS_ROOT:[SAMBA.SOURCE.SMBD]OPLOCK.C;2:(86)
  open_oplock_ipc: opening loopback UDP socket.
[2001/12/13 15:07:17, 3] CMS_ROOT:[SAMBA.SOURCE.LIB]UTIL_SOCK.C;2:(865)
  bind succeeded on port 0
[2001/12/13 15:07:17, 3] CMS_ROOT:[SAMBA.SOURCE.SMBD]OPLOCK.C;2:(113)
  open_oplock ipc: pid = 541246279, global_oplock_port = 2796
[2001/12/13 15:07:17, 4] CMS_ROOT:[SAMBA.SOURCE.LIB]TIME.C;2:(110)
  Serverzone is 18000
[2001/12/13 15:07:17, 0] CMS_ROOT:[SAMBA.SOURCE.LIB]UTIL_SOCK.C;2:(989)
  getpeername failed. Error was socket is not connected
[2001/12/13 15:07:17, 0] CMS_ROOT:[SAMBA.SOURCE.LIB]UTIL_SOCK.C;2:(1035)
  getpeername failed. Error was socket is not connected
[2001/12/13 15:07:17, 0] CMS_ROOT:[SAMBA.SOURCE.LIB]ACCESS.C;1:(261)
[2001/12/13 15:07:17, 0] CMS_ROOT:[SAMBA.SOURCE.LIB]UTIL_SOCK.C;2:(989)
  getpeername failed. Error was socket is not connected
[2001/12/13 15:07:17, 0] CMS_ROOT:[SAMBA.SOURCE.LIB]UTIL_SOCK.C;2:(1035)
  getpeername failed. Error was socket is not connected
  Denied connection from UNKNOWN (0.0.0.0)
[2001/12/13 15:07:17, 1] CMS_ROOT:[SAMBA.SOURCE.SMBD]PROCESS.C;2:(607)
[2001/12/13 15:07:17, 0] CMS_ROOT:[SAMBA.SOURCE.LIB]UTIL_SOCK.C;2:(1035)
  getpeername failed. Error was socket is not connected
  Connection denied from 0.0.0.0
[2001/12/13 15:07:17, 6] CMS_ROOT:[SAMBA.SOURCE.LIB]UTIL_SOCK.C;2:(557)
  write_socket(3,5)
[2001/12/13 15:07:17, 0] CMS_ROOT:[SAMBA.SOURCE.LIB]UTIL_SOCK.C;2:(537)
  write_socket_data: write failure. Error = broken pipe
[2001/12/13 15:07:17, 6] CMS_ROOT:[SAMBA.SOURCE.LIB]UTIL_SOCK.C;2:(560)
  write_socket(3,5) wrote -1
[2001/12/13 15:07:17, 0] CMS_ROOT:[SAMBA.SOURCE.LIB]UTIL_SOCK.C;2:(562)
  write_socket: Error writing 5 bytes to socket 3: ERRNO = broken pipe
[2001/12/13 15:07:18, 0] CMS_ROOT:[SAMBA.SOURCE.LIB]UTIL_SOCK.C;2:(751)
  Error writing 5 bytes to client. -1. Exiting


[global]
        workgroup = workgroup
        netbios name = my_name
        server string = OpenVMS -- %h
        remote announce = 192.168.20.60/mydomain
        name resolve order = WINS host
 ;       security = DOMAIN
        security = user
        encrypt passwords = Yes
        password server = 192.168.20.60

        log file = /samba_root/var/log.nmb

        wins server = 192.168.20.60
        hosts allow = 192.168.20.
     map archive = no

   printing = bsd

   printcap name = /$1$dka0/sys0/tcpip$lpd/tpcip$printcap.dat
;   load printers = yes
   status = yes
   print command = print %f/queue=%p/delete/passall/name="""""%s"""""
   lprm command = delete/entry=%j
;  security = domain
;   default service = default
   create mode = 0777
        guest account = samba__guest

;  This next option sets a separate log file for each client. Remove
;  it if you want a combined log file.
   log file = /samba_log/log.%m
;   read raw = no
   read prediction = yes
   socket options = TCP_NODELAY
;   socket options = SO_REUSEADDR

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.306 / Virus Database: 166 - Release Date: 12/4/01






More information about the samba-vms mailing list