Article delegate-en/2875 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: fix for "FATAL: inherited handle [0] NNN is not socket" on Win32
29 Mar 2005 15:22:10 GMT Mikhail <peqfqbdyi-fa3r2xp3srfr.ml@ml.delegate.org>


Hello!

>> Invoking DeleGate with "-W4" option might show some helpful information.

OK. Here it is (one failured session, I'm sorry I don't know what
exactly to skip :( ):

03/29 21:09:33.04 [1412] 0+0: --INITIALIZATION START: 8.11.2-pre2 on WindowsNT--
03/29 21:09:33.04 [1412] 0+0: BINSHELL=/bin/sh
03/29 21:09:33.04 [1412] 0+0: #### DO NOT FORK TO BE DAEMON
03/29 21:09:33.04 [1412] 0+0: server_open(delegate,:3128,listen=20)
03/29 21:09:33.06 [1412] 0+0: server_open(delegate,:3128) BOUND
03/29 21:09:33.06 [1412] 0+0: DGROOT=f:\/apps\Delegate^M
03/29 21:09:33.06 [1412] 0+0: <DeleGate/8.11.2-pre2> [1412] -P3128 READY^M
03/29 21:09:33.06 [1412] 0+0: PORT= 3128/9 (12,56)
03/29 21:09:33.06 [1412] 0+0: OWNER=nobody => OWNER=?/?(?/?)
03/29 21:09:33.06 [1412] 0+0: REMITTABLE = http,https/{80,443},gopher,ftp,wais
03/29 21:09:33.06 [1412] 0+0: #### gzip nor gunzip not found in LIBPATH
03/29 21:09:33.06 [1412] 0+0: ADMIN=rd74@hotbox..ru protocol=http(specialist)
03/29 21:09:33.06 [1412] 0+0: WORKDIR=G:\CACHE\Delegate\work
03/29 21:09:33.06 [1412] 0+0: MOUNT[0]X[2] /-/builtin/icons/* = default
03/29 21:09:33.06 [1412] 0+0: MOUNT[1]X[3] /-/* = forbidden,from=!.RELIABLE,default
03/29 21:09:33.06 [1412] 0+0: MOUNT[2]X[0] /-* = default
03/29 21:09:33.06 [1412] 0+0: MOUNT[3]X[1] /=* = default
03/29 21:09:33.06 [1412] 0+0: #### stack size limit = FFFFFFFF (-1)
03/29 21:09:33.06 [1412] 0+0: Stay open PIDFILE for accept() lock[fd=13]
03/29 21:09:33.06 [1412] 0+0: env[29] LIBPATH=.;C:\WINDOWS\system32;f:\apps\Delegate/lib;F:\Apps\delegate;f:\apps\Delegate/etc
03/29 21:09:33.06 [1412] 0+0: arg[1] LIBPATH=.;F:\Apps\delegate;f:\/apps\Delegate/lib;F:\Apps\delegate;f:\/apps\Delegate/etc
03/29 21:09:33.06 [1412] 0+0: arg[2] RESOLV=cache,file,dns,sys
03/29 21:09:33.06 [1412] 0+0: arg[3] SERVER=http
03/29 21:09:33.06 [1412] 0+0: arg[4] ADMIN=rd74@hotbox..ru
03/29 21:09:33.06 [1412] 0+0: arg[5] DGROOT=f:\apps\Delegate
03/29 21:09:33.06 [1412] 0+0: arg[6] CACHEDIR=G:\CACHE\Delegate\cache
03/29 21:09:33.06 [1412] 0+0: arg[7] TMPDIR=G:\CACHE\Delegate\tmp
03/29 21:09:33.06 [1412] 0+0: arg[8] ACTDIR=G:\CACHE\Delegate\act
03/29 21:09:33.06 [1412] 0+0: arg[9] LOGDIR=G:\CACHE\Delegate\log
03/29 21:09:33.06 [1412] 0+0: arg[10] WORKDIR=G:\CACHE\Delegate\work
03/29 21:09:33.06 [1412] 0+0: arg[11] EXPIRE=3d
03/29 21:09:33.06 [1412] 0+0: gen[0] DGROOT=f:\/apps\Delegate
03/29 21:09:33.06 [1412] 0+0: DELEGATE_Modified[0]: 42483b11
03/29 21:09:33.06 [1412] 0+0: --INITIALIZATION DONE: 8.11.2-pre2 on WindowsNT--
(WIN) 09:33 [1412] setNonblockingSocket(17,1)=0
(WIN) 09:49 [3168] arg[0] DeleGate
(WIN) 09:49 [3168] arg[1] 95381161/3128/1412/0/9/-1/23/0/1/0,15/30/8/0/19/-1/0/1/0/0,/10.74.74.74:1253//
(WIN) 09:49 [3168] arg[2] (Sticky)
(WIN) 09:49 [3168] arg[3] _startTime=1112108973
(WIN) 09:49 [3168] arg[4] _alivePeers=0
(WIN) 09:49 [3168] arg[5] LOGFILE=3128
(WIN) 09:49 [3168] arg[6] _execPath=F:\Apps\delegate\dg.exe
(WIN) 09:49 [3168] arg[7] LIBPATH=.;F:\Apps\delegate;f:\/apps\Delegate/lib;F:\Apps\delegate;f:\/apps\Delegate/etc
(WIN) 09:49 [3168] arg[8] RESOLV=cache,file,dns,sys
(WIN) 09:49 [3168] arg[9] SERVER=http
(WIN) 09:49 [3168] arg[10] ADMIN=rd74@hotbox..ru
(WIN) 09:49 [3168] arg[11] DGROOT=f:\apps\Delegate
(WIN) 09:49 [3168] arg[12] CACHEDIR=G:\CACHE\Delegate\cache
(WIN) 09:49 [3168] arg[13] TMPDIR=G:\CACHE\Delegate\tmp
(WIN) 09:49 [3168] arg[14] ACTDIR=G:\CACHE\Delegate\act
(WIN) 09:49 [3168] arg[15] LOGDIR=G:\CACHE\Delegate\log
(WIN) 09:49 [3168] arg[16] WORKDIR=G:\CACHE\Delegate\work
(WIN) 09:49 [3168] arg[17] EXPIRE=3d
(WIN) 09:49 [3168] arg[18] -P3128
(WIN) 09:49 [3168] arg[19] -L0x0
(WIN) 09:49 [3168] arg[20] -W4
(WIN) 09:49 [3168] arg[21] DGROOT=f:\/apps\Delegate
(WIN) 09:49 [3168] arg[22] HOSTS=localhost/127.0.0.1,.af-local/127.0.0.127,mmv/10.74.74.74
(WIN) 09:49 [3168] arg[23] -L0x0/8
(WIN) 09:49 [3168] WinSock option "-WSAV:2.2" ReqVer:202 Result:0 Errno:0
(WIN) 09:49 [3168] Version:202 HighVersion:202 Description:WinSock 2.0
(WIN) 09:49 [3168] SystemStatus:Running MaxSockets:0 MaxUdpDg:0
(WIN) 09:50 [3168] Sockets(24/24/256:117/333): 208 209 210 232 233 234 252 253 254 276 277 278 280 281 282 352 353 354 392 393 394 412 413 414
(WIN) 09:50 [3168] connect(1740,1254) = 0
(WIN) 09:50 [1412] WinSock option "-WSAV:2.2" ReqVer:202 Result:0 Errno:0
(WIN) 09:50 [1412] Version:202 HighVersion:202 Description:WinSock 2.0
(WIN) 09:50 [1412] SystemStatus:Running MaxSockets:0 MaxUdpDg:0
(WIN) 09:50 [1412] Sockets(32/32/256:114/405): 208 209 210 220 232 233 234 240 252 253 254 264 276 277 278 280 281 282 332 344 352 353 354 372 380 392 393 394 408 412 413 414
(WIN) 09:50 [1412] accept(408,1254) = 556 [127.0.0.1:1255]
(WIN) 09:50 [1412] PID=1412 SELF_HANDLE=408
(WIN) 09:50 [1412] INHERIT: 264->1728 (close_source=0,264/23)
(WIN) 09:50 [1412] INHERIT: 332->1724 (close_source=0,332/9)
(WIN) 09:50 [1412] INHERIT: 380->1720 (close_source=0,380/15)
(WIN) 09:50 [3168] inheritance recv() = 368
(WIN) 09:50 [3168] >>>> [0] 1728 is not SOCKET, retrying WSADuplicateSocket ...
(WIN) 09:50 [3168] STARTUP: SPAWN_ENVIRON=1254, got[368], ppid=1412,pmode=1
(WIN) 09:50 [1412] >>>> dupsock(264,3168)=0 [2 1 6]
(WIN) 09:50 [1412] >>>> sent[0]
(WIN) 09:50 [1412] >>>> dupsock(332,3168)=0 [2 1 6]
(WIN) 09:50 [1412] >>>> sent[1]
(WIN) 09:50 [1412] >>>> dupsock(380,3168)=0 [2 1 6]
(WIN) 09:50 [1412] >>>> sent[2]
clsock=1728 nc=1696 2 1 6
(WIN) 09:50 [3168] [0] PPID=1412/1716 CLSOCK=[264->1696]
(WIN) 09:50 [3168] inheritSOCK -- closesocket(264)
(WIN) 09:50 [1412] spawn() = 432 [3168], children(alive=1,total=1)
(WIN) 09:50 [3168] -- SOCKET 1*(1696/ 5) opened fork()
(WIN) 09:50 [3168] PARENT=1412, PORT=1254, CLSOCK[0]=1696/5:1 [0.0.0.0]
(WIN) 09:50 [3168] >>>> recv[1] clsock=1724 nc=1684 2 1 6
(WIN) 09:50 [3168] [1] PPID=1412/1716 CLSOCK=[332->1684]
(WIN) 09:50 [3168] inheritSOCK -- closesocket(332)
(WIN) 09:50 [3168] -- SOCKET 1*(1684/20) opened fork()
(WIN) 09:50 [3168] PARENT=1412, PORT=1254, CLSOCK[1]=1684/20:1 [0.0.0.0]
(WIN) 09:50 [3168] >>>> recv[2] clsock=1720 nc=1672 2 1 6
(WIN) 09:50 [3168] [2] PPID=1412/1716 CLSOCK=[380->1672]
(WIN) 09:50 [3168] inheritSOCK -- closesocket(380)
(WIN) 09:50 [3168] -- SOCKET 1*(1672/21) opened fork()
(WIN) 09:50 [3168] PARENT=1412, PORT=1254, CLSOCK[2]=1672/21:1 [0.0.0.0]
(WIN) 09:50 [3168] [3] PPID=1412/1716 CLSOCK=[-1->-1]
(WIN) 09:50 [3168] [4] PPID=1412/1716 CLSOCK=[-1->-1]
(WIN) 09:50 [3168] [5] PPID=1412/1716 CLSOCK=[-1->-1]
(WIN) 09:50 [3168] [6] PPID=1412/1716 CLSOCK=[-1->-1]
(WIN) 09:50 [3168] [7] PPID=1412/1716 CLSOCK=[-1->-1]
(WIN) 09:50 [3168] getuid() = 0
(WIN) 09:50 [3168] SocketOf(0/0) ISSOCK=0
(WIN) 09:50 [3168] SocketOf(0/22) ISSOCK=0
(WIN) 09:50 [3168] SocketOf(0/0) ISSOCK=0
(WIN) 09:50 [3168] SocketOf(0/22) ISSOCK=0
(WIN) 09:50 [3168] SocketOf(0/0) ISSOCK=0
(WIN) 09:50 [3168] SocketOf(0/22) ISSOCK=0
(WIN) 09:50 [3168] SocketOf(0/0) ISSOCK=0
(WIN) 09:50 [3168] SocketOf(0/22) ISSOCK=0
(WIN) 09:50 [3168] SocketOf(0/0) ISSOCK=0
(WIN) 09:50 [3168] SocketOf(0/22) ISSOCK=0
(WIN) 09:50 [3168] SocketOf(0/0) ISSOCK=0
(WIN) 09:50 [3168] SocketOf(0/22) ISSOCK=0
(WIN) 09:50 [3168] gettimeofday(128104,0) = [1112108990,46000]
03/29 21:09:50.04 [3168] 1+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:09:50.04 [3168] 1+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:09:50.04 [3168] 1+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:09:50.04 [3168] 1+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:09:50.04 [3168] 1+1: (0) accepted [5] -@[0.0.0.0]-:0 (0.000s)(0)
03/29 21:09:50.04 [3168] 1+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:09:50.04 [3168] 1+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:09:50.04 [3168] 1+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:09:50.04 [3168] 1+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:09:50.04 [3168] 1+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:09:50.04 [3168] 1+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:09:50.04 [3168] 1+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:09:50.04 [3168] 1+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:09:50.04 [3168] 1+1: FATAL: get{host|peer}name(5) failed, errno=22
(WIN) 10:11 [1552] arg[0] DeleGate
(WIN) 10:11 [1552] arg[1] 95381161/3128/1412/0/9/-1/41/0/2/1,15/30/8/0/19/-1/0/1/0/0,/10.74.74.74:1256//
(WIN) 10:11 [1552] arg[2] (Sticky)
(WIN) 10:11 [1552] arg[3] _startTime=1112108973
(WIN) 10:11 [1552] arg[4] _alivePeers=1
(WIN) 10:11 [1552] arg[5] LOGFILE=3128
(WIN) 10:11 [1552] arg[6] _execPath=F:\Apps\delegate\dg.exe
(WIN) 10:11 [1552] arg[7] LIBPATH=.;F:\Apps\delegate;f:\/apps\Delegate/lib;F:\Apps\delegate;f:\/apps\Delegate/etc
(WIN) 10:11 [1552] arg[8] RESOLV=cache,file,dns,sys
(WIN) 10:11 [1552] arg[9] SERVER=http
(WIN) 10:11 [1552] arg[10] ADMIN=rd74@hotbox..ru
(WIN) 10:11 [1552] arg[11] DGROOT=f:\apps\Delegate
(WIN) 10:11 [1552] arg[12] CACHEDIR=G:\CACHE\Delegate\cache
(WIN) 10:11 [1552] arg[13] TMPDIR=G:\CACHE\Delegate\tmp
(WIN) 10:11 [1552] arg[14] ACTDIR=G:\CACHE\Delegate\act
(WIN) 10:11 [1552] arg[15] LOGDIR=G:\CACHE\Delegate\log
(WIN) 10:11 [1552] arg[16] WORKDIR=G:\CACHE\Delegate\work
(WIN) 10:11 [1552] arg[17] EXPIRE=3d
(WIN) 10:11 [1552] arg[18] -P3128
(WIN) 10:11 [1552] arg[19] -L0x0
(WIN) 10:11 [1552] arg[20] -W4
(WIN) 10:11 [1552] arg[21] DGROOT=f:\/apps\Delegate
(WIN) 10:11 [1552] arg[22] HOSTS=localhost/127.0.0.1,.af-local/127.0.0.127,mmv/10.74.74.74
(WIN) 10:11 [1552] arg[23] -L0x0/8
(WIN) 10:11 [1552] WinSock option "-WSAV:2.2" ReqVer:202 Result:0 Errno:0
(WIN) 10:11 [1552] Version:202 HighVersion:202 Description:WinSock 2.0
(WIN) 10:11 [1552] SystemStatus:Running MaxSockets:0 MaxUdpDg:0
(WIN) 10:12 [1552] Sockets(27/27/256:120/354): 208 209 210 232 233 234 252 253 254 264 265 266 276 277 278 352 353 354 392 393 394 404 405 406 544 545 546
(WIN) 10:12 [1552] connect(1716,1257) = 0
(WIN) 10:12 [1412] WinSock option "-WSAV:2.2" ReqVer:202 Result:0 Errno:0
(WIN) 10:12 [1412] Version:202 HighVersion:202 Description:WinSock 2.0
(WIN) 10:12 [1412] SystemStatus:Running MaxSockets:0 MaxUdpDg:0
(WIN) 10:12 [1412] Sockets(37/40/256:117/453): 208 209 210 220 232 233 234 240 252 253 254 256 264 265 266 276 277 278 281# 282# 332 344 352 353 354 372 380 392 393 394 404 405 406 413 414 544 545 546 556# 632
(WIN) 10:12 [1412] accept(632,1257) = 568 [127.0.0.1:1258]
(WIN) 10:12 [1412] INHERIT: 256->1704 (close_source=0,256/41)
(WIN) 10:12 [1412] INHERIT: 332->1700 (close_source=0,332/9)
(WIN) 10:12 [1412] INHERIT: 380->1696 (close_source=0,380/15)
(WIN) 10:12 [1552] inheritance recv() = 368
(WIN) 10:12 [1552] >>>> [0] 1704 is not SOCKET, retrying WSADuplicateSocket ...
(WIN) 10:12 [1552] STARTUP: SPAWN_ENVIRON=1257, got[368], ppid=1412,pmode=1
(WIN) 10:12 [1412] >>>> dupsock(256,1552)=0 [2 1 6]
(WIN) 10:12 [1412] >>>> sent[0]
(WIN) 10:12 [1412] >>>> dupsock(332,1552)=0 [2 1 6]
(WIN) 10:12 [1412] >>>> sent[1]
(WIN) 10:12 [1412] >>>> dupsock(380,1552)=0 [2 1 6]
(WIN) 10:12 [1412] >>>> sent[2]
(WIN) 10:12 [1412] spawn() = 616 [1552], children(alive=2,total=2)
(WIN) 10:12 [1552] >>>> recv[0] clsock=1704 nc=1672 2 1 6
(WIN) 10:12 [1552] [0] PPID=1412/1692 CLSOCK=[256->1672]
(WIN) 10:12 [1552] inheritSOCK -- closesocket(256)
(WIN) 10:12 [1552] -- SOCKET 1*(1672/ 5) opened fork()
(WIN) 10:12 [1552] PARENT=1412, PORT=1257, CLSOCK[0]=1672/5:1 [0.0.0.0]
(WIN) 10:12 [1552] >>>> recv[1] clsock=1700 nc=1660 2 1 6
(WIN) 10:12 [1552] [1] PPID=1412/1692 CLSOCK=[332->1660]
(WIN) 10:12 [1552] inheritSOCK -- closesocket(332)
(WIN) 10:12 [1552] -- SOCKET 1*(1660/20) opened fork()
(WIN) 10:12 [1552] PARENT=1412, PORT=1257, CLSOCK[1]=1660/20:1 [0.0.0.0]
(WIN) 10:12 [1552] >>>> recv[2] clsock=1696 nc=1648 2 1 6
(WIN) 10:12 [1552] [2] PPID=1412/1692 CLSOCK=[380->1648]
(WIN) 10:12 [1552] inheritSOCK -- closesocket(380)
(WIN) 10:12 [1552] -- SOCKET 1*(1648/21) opened fork()
(WIN) 10:12 [1552] PARENT=1412, PORT=1257, CLSOCK[2]=1648/21:1 [0.0.0.0]
(WIN) 10:12 [1552] [3] PPID=1412/1692 CLSOCK=[-1->-1]
(WIN) 10:12 [1552] [4] PPID=1412/1692 CLSOCK=[-1->-1]
(WIN) 10:12 [1552] [5] PPID=1412/1692 CLSOCK=[-1->-1]
(WIN) 10:12 [1552] [6] PPID=1412/1692 CLSOCK=[-1->-1]
(WIN) 10:12 [1552] [7] PPID=1412/1692 CLSOCK=[-1->-1]
(WIN) 10:12 [1552] getuid() = 0
(WIN) 10:12 [1552] SocketOf(0/0) ISSOCK=0
(WIN) 10:12 [1552] SocketOf(0/22) ISSOCK=0
(WIN) 10:12 [1552] SocketOf(0/0) ISSOCK=0
(WIN) 10:12 [1552] SocketOf(0/22) ISSOCK=0
(WIN) 10:12 [1552] SocketOf(0/0) ISSOCK=0
(WIN) 10:12 [1552] SocketOf(0/22) ISSOCK=0
(WIN) 10:12 [1552] SocketOf(0/0) ISSOCK=0
(WIN) 10:12 [1552] SocketOf(0/22) ISSOCK=0
(WIN) 10:12 [1552] SocketOf(0/0) ISSOCK=0
(WIN) 10:12 [1552] SocketOf(0/22) ISSOCK=0
(WIN) 10:12 [1552] SocketOf(0/0) ISSOCK=0
(WIN) 10:12 [1552] SocketOf(0/22) ISSOCK=0
(WIN) 10:12 [1552] gettimeofday(128a04,0) = [1112109012,46000]
03/29 21:10:12.06 [1552] 2+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:10:12.06 [1552] 2+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:10:12.06 [1552] 2+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:10:12.06 [1552] 2+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:10:12.06 [1552] 2+1: (1) accepted [5] -@[0.0.0.0]-:0 (0.016s)(0)
03/29 21:10:12.06 [1552] 2+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:10:12.06 [1552] 2+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:10:12.06 [1552] 2+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:10:12.06 [1552] 2+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:10:12.06 [1552] 2+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:10:12.06 [1552] 2+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:10:12.06 [1552] 2+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:10:12.06 [1552] 2+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:10:12.06 [1552] 2+1: FATAL: get{host|peer}name(5) failed, errno=22
03/29 21:10:15.76 [1412] 2+0: TERMINATE...
03/29 21:10:15.76 [1412] 2+0: Kill(432,15)
03/29 21:10:15.76 [1412] 2+0: Kill(616,15)
03/29 21:10:15.76 [1412] 2+0: StickyKill(15): 2/2 killed
03/29 21:10:15.76 [1412] 2+0: unlinked G:\CACHE\Delegate\work/1412
03/29 21:10:15.76 [1412] 2+0: remove failed, errno=13, G:\CACHE\Delegate\work
(WIN) 10:15 [1412] killchildren#1 Terminate 432 [3168] = 1
(WIN) 10:15 [1412] killchildren#2 Terminate 616 [1552] = 1
03/29 21:10:15.79 [1412] 2+0: TERMINATED.
03/29 21:10:15.79 [1412] 2+0: SetStatus: STOP

>> Does Mozilla (FireFox) works too?

Yes, Firefox is the only browser I use.
I tried IE/Maxthon -- exactly the same result.

Best regards


  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V