Article delegate-en/2872 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
28 Mar 2005 17:46:34 GMT Mikhail <peqfqbdyi-puniz7a4ro5r.ml@ml.delegate.org>


Hello!

> As I wrote in <URL:http://www.delegate.org/mail-lists/delegate-en/2228>,
> the problem seems to be caused when WinSock is replaced with a non-standard
> and incomplete implementation, which does not support DuplicateHandle()
> for socket.  Recently I found that the problem can be escaped by replacing
> DuplicateHandle() with the pair of WSADuplicateSocket()+WSASocket().
> So I did such modification and uploaded it as

Still not working :(

Now it reports:

03/28 23:29:41.32 [3436] 0+0: --INITIALIZATION START: 8.11.2-pre2 on WindowsNT--
03/28 23:29:41.32 [3436] 0+0: BINSHELL=/bin/sh
03/28 23:29:41.32 [3436] 0+0: #### DO NOT FORK TO BE DAEMON
03/28 23:29:41.32 [3436] 0+0: server_open(delegate,:3128,listen=20)
03/28 23:29:41.32 [3436] 0+0: server_open(delegate,:3128) BOUND
03/28 23:29:41.32 [3436] 0+0: DGROOT=f:\/apps\Delegate^M
03/28 23:29:41.32 [3436] 0+0: <DeleGate/8.11.2-pre2> [3436] -P3128 READY^M
03/28 23:29:41.32 [3436] 0+0: PORT= 3128/9 (12,56)
03/28 23:29:41.32 [3436] 0+0: OWNER=nobody => OWNER=?/?(?/?)
03/28 23:29:41.32 [3436] 0+0: REMITTABLE = http,https/{80,443},gopher,ftp,wais
03/28 23:29:41.32 [3436] 0+0: #### gzip nor gunzip not found in LIBPATH
03/28 23:29:41.34 [3436] 0+0: ADMIN=rd74@hotbox..ru protocol=http(specialist)
03/28 23:29:41.34 [3436] 0+0: WORKDIR=G:\CACHE\Delegate\work
03/28 23:29:41.34 [3436] 0+0: MOUNT[0]X[2] /-/builtin/icons/* = default
03/28 23:29:41.34 [3436] 0+0: MOUNT[1]X[3] /-/* = forbidden,from=!.RELIABLE,default
03/28 23:29:41.34 [3436] 0+0: MOUNT[2]X[0] /-* = default
03/28 23:29:41.34 [3436] 0+0: MOUNT[3]X[1] /=* = default
03/28 23:29:41.34 [3436] 0+0: #### stack size limit = FFFFFFFF (-1)
03/28 23:29:41.34 [3436] 0+0: Stay open PIDFILE for accept() lock[fd=13]
03/28 23:29:41.34 [3436] 0+0: env[29] LIBPATH=.;C:\WINDOWS\system32;f:\apps\Delegate/lib;F:\Apps\delegate;f:\apps\Delegate/etc
03/28 23:29:41.34 [3436] 0+0: arg[1] LIBPATH=.;F:\Apps\delegate;f:\/apps\Delegate/lib;F:\Apps\delegate;f:\/apps\Delegate/etc
03/28 23:29:41.34 [3436] 0+0: arg[2] RESOLV=cache,file,dns,sys
03/28 23:29:41.34 [3436] 0+0: arg[3] SERVER=http
03/28 23:29:41.34 [3436] 0+0: arg[4] ADMIN=rd74@hotbox..ru
03/28 23:29:41.34 [3436] 0+0: arg[5] DGROOT=f:\apps\Delegate
03/28 23:29:41.34 [3436] 0+0: arg[6] CACHEDIR=G:\CACHE\Delegate\cache
03/28 23:29:41.34 [3436] 0+0: arg[7] TMPDIR=G:\CACHE\Delegate\tmp
03/28 23:29:41.34 [3436] 0+0: arg[8] ACTDIR=G:\CACHE\Delegate\act
03/28 23:29:41.34 [3436] 0+0: arg[9] LOGDIR=G:\CACHE\Delegate\log
03/28 23:29:41.34 [3436] 0+0: arg[10] WORKDIR=G:\CACHE\Delegate\work
03/28 23:29:41.34 [3436] 0+0: arg[11] EXPIRE=3d
03/28 23:29:41.34 [3436] 0+0: gen[0] DGROOT=f:\/apps\Delegate
03/28 23:29:41.34 [3436] 0+0: DELEGATE_Modified[0]: 42483b11
03/28 23:29:41.34 [3436] 0+0: --INITIALIZATION DONE: 8.11.2-pre2 on WindowsNT--
(WIN) 29:41 [3436] setNonblockingSocket(17,1)=0
(WIN) 30:52 [1544] >>>> [0] 1968 is not SOCKET, retrying WSADuplicateSocket ...
(WIN) 30:52 [3436] spawn() = 484 [1544], children(alive=1,total=1)
03/28 23:30:52.43 [1544] 1+1: FATAL: get{host|peer}name(5) failed, errno=22
03/28 23:30:52.45 [1544] 1+1: FATAL: get{host|peer}name(5) failed, errno=22
03/28 23:30:52.45 [1544] 1+1: FATAL: get{host|peer}name(5) failed, errno=22
03/28 23:30:52.45 [1544] 1+1: FATAL: get{host|peer}name(5) failed, errno=22

and so on.

My wsock32.dll is standard, from WinXP SP2. I don't use any 3rd party network layers.
No firewall, no antivirus.

Proxomitron and 3proxy work fine on my system.

Best regards


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