Article delegate-en/1559 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: NNTP proxy problem
15 Mar 2002 14:00:40 GMT "David Gersic" <pcudabdyi-fa3r2xklsrfr.ml@ml.delegate.org>


-=>  |  03/14 16:10:46.37 [982] 0+0: --INITIALIZATION DONE--
-=> 
-=> Was there a line about incoming port just after starting, like follows?
-=> 03/15 07:42:44.39 [19562] 0+0: PORT= 119/6 (39,15)

Yes, it looks like:

  03/15 07:52:19.47 [2360] 0+0: TMPFILE = (3) /lbin/delegate/tmp/dg2360.1.10162003
  39
  03/15 07:52:19.50 [2360] 0+0: >>>TMPFILE(new_shared)>>>126264[3]
  03/15 07:52:19.59 [2360] 0+0: #### Socketpair(AF_UNIX) failed (29)
  03/15 07:52:19.62 [2360] 0+0: setsockbuf[6] in:0->0 out:28672->131072
  03/15 07:52:19.62 [2360] 0+0: --INITIALIZATION START: 7.0.0 on OS/2/1--
  03/15 07:52:19.65 [2360] 0+0: [-] localhost
  03/15 07:52:19.65 [2360] 0+0: [-] 127.0.0.1
  03/15 07:52:19.69 [2360] 0+0: HOSTS[0]=localhost/127.0.0.1 (PREDEF)
  03/15 07:52:19.69 [2360] 0+0: scanned HOSTS=localhost/127.0.0.1
  03/15 07:52:19.69 [2360] 0+0: GENERALIST
  03/15 07:52:19.72 [2360] 0+0: server_open(delegate,:119,listen=20)
  03/15 07:52:19.75 [2360] 0+0: listen(5,20) OK.
  03/15 07:52:19.75 [2360] 0+0: server_open(delegate,:119) BOUND
  03/15 07:52:19.75 [2360] 0+0: DGROOT=/lbin/delegate^M
  03/15 07:52:19.78 [2360] 0+0: <DeleGate/7.0.0 by ysato@delegate.org> [2360] -P11
  9 READY^M
  <DeleGate/7.0.0 by ysato@delegate.org> [2360] -P119 READY
  DGROOT=/lbin/delegate
  AIST Research Product No. 2000-ETL-198715-01
  Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI
  Copyright (c) 2001 National Institute of Advanced Industrial Science and Technol
  ogy (AIST)
  03/15 07:52:35.65 [2360] 0+0: PORT= 119/5 (0,119)
  03/15 07:52:35.69 [2360] 0+0: OWNER=nobody => OWNER=dgersic/root(dgersic/root)
  03/15 07:52:35.72 [2360] 0+0: GENERALIST
  03/15 07:52:35.72 [2360] 0+0: ##DeleGate/6.X: MIMECONV=thru is set by default. M
  IMECONV="" will make it compatible with former versions.
  03/15 07:52:35.97 [2360] 0+0: dirfopen(/lbin/delegate/log/errors.log,a): 1262c4
  [11]
  03/15 07:52:36.03 [2360] 0+0: #### newRoute[NOTIFYPLTFM] 0/16
  03/15 07:52:36.03 [2360] 0+0: [0] NOTIFYPLTFM=://:0-_-{}:{}
  03/15 07:52:36.06 [2360] 0+0: NOTIFYPLTFM/DST[1]: + *.etl.go.jp
  03/15 07:52:36.06 [2360] 0+0: NOTIFYPLTFM/DST[2]: + *.delegate.org
  03/15 07:52:36.09 [2360] 0+0: #### newRoute[REMITTABLE] 0/16
  03/15 07:52:36.25 [2360] 0+0: REMITTABLE/DST[1]: + *
  03/15 07:52:36.28 [2360] 0+0: REMITTABLE/SRC[1]: + *
  03/15 07:52:36.28 [2360] 0+0: [0] REMITTABLE={}{nntp}:{*}:{*}
  03/15 07:52:36.31 [2360] 0+0: REMITTABLE = nntp
  03/15 07:52:36.31 [2360] 0+0: #### newRoute[RELIABLE] 0/16
  03/15 07:52:36.34 [2360] 0+0: [0] RELIABLE=://:0-_-{}:{}
  03/15 07:52:36.34 [2360] 0+0: addHL: + [ * ] @ [ localhost,./@,-/@,.o/@ ]
  03/15 07:52:37.22 [2360] 0+0: RELIABLE/SRC[1]: + localhost = 7f000001 / ffffffff 
 
  03/15 07:52:37.31 [2360] 0+0: ## connect[12] failure (57)
  03/15 07:52:48.44 [2360] 0+0: {R} No local NS (131.156.82.24:53)
  03/15 07:52:48.47 [2360] 0+0: *** gethostbyname(straylight): straylight.cso.niu.
  edu / 11.22 secs. has_alias:1
  03/15 07:52:48.50 [2360] 0+0: HOSTS[1]={straylight.cso.niu.edu,straylight}/131.1
  56.82.24
  03/15 07:52:48.75 [2360] 0+0: RELIABLE/SRC[2]: + straylight.cso.niu.edu = 839c52
  18 / ffff0000
  03/15 07:52:48.78 [2360] 0+0: RELIABLE/SRC[3]: + (IncomingIF) = - / 0
  03/15 07:52:48.81 [2360] 0+0: RELIABLE/SRC[4]: + (OutgoingIF) = .o / 0
  03/15 07:52:48.81 [2360] 0+0: #### newRoute[CMAP] 0/16
  03/15 07:52:49.00 [2360] 0+0: CMAP/DST[1]: + *
  03/15 07:52:49.03 [2360] 0+0: addHL: + [ * ] @ [ localhost,./@,-/@,.o/@ ]
  03/15 07:52:49.03 [2360] 0+0: CMAP/SRC[1]: + localhost = 7f000001 / ffffffff
  03/15 07:52:49.06 [2360] 0+0: CMAP/SRC[2]: + straylight.cso.niu.edu = 839c5218 /
   ffff0000
  03/15 07:52:49.06 [2360] 0+0: CMAP/SRC[3]: + (IncomingIF) = - / 0
  03/15 07:52:50.97 [2360] 0+0: CMAP/SRC[4]: + (OutgoingIF) = .o / 0
  03/15 07:52:51.00 [2360] 0+0: [0] CMAP={delegate,nojava}relay{*}:{*}:{.localnet} 
 
  03/15 07:52:51.03 [2360] 0+0: #### newRoute[CMAP] 1/16
  03/15 07:52:51.03 [2360] 0+0: CMAP/DST[1]: + *
  03/15 07:53:17.03 [2360] 0+0: CMAP/SRC[1]: + *
  03/15 07:53:17.03 [2360] 0+0: [1] CMAP={proxy}relay{*}:{*}:{*}
  03/15 07:53:17.06 [2360] 0+0: ADMIN=dgersic@niu.. protocol=delegate
  03/15 07:53:17.06 [2360] 0+0: ##DeleGate/6.X: created directory/file will be non
  -sharable. SHARE="" will make it compatible with former versions.
  03/15 07:53:17.12 [2360] 0+0: #### CACHE DISABLED #### Cache directory seems not
   exist: /lbin/delegate/cache
  03/15 07:53:17.19 [2360] 0+0: dirfopen(/lbin/delegate/act/pid/119,w+): 1262f4 [1
  2]
  03/15 07:53:17.53 [2360] 0+0: Stay open PIDFILE for accept() lock[fd=12]
  03/15 07:53:17.56 [2360] 0+0: env[68] LIBPATH=.:/lbin/delegate:/lbin/delegate/li
  b:.
  03/15 07:53:17.59 [2360] 0+0: arg[2] SERVER=nntp://131.156.1.47:-:from={*.niu.ed
  u}
  03/15 07:53:18.28 [2360] 0+0: arg[3] REMITTABLE=nntp
  03/15 07:53:18.28 [2360] 0+0: arg[4] ADMIN=dgersic@niu..
  03/15 07:53:18.31 [2360] 0+0: arg[5] DGROOT=/lbin/delegate
  03/15 07:53:18.34 [2360] 0+0: TMPFILE = (13) /lbin/delegate/tmp/dg2360.2.1016200
  398
  03/15 07:53:35.37 [2360] 0+0: >>>TMPFILE(setLastModified)>>>126384[13]
  03/15 07:53:35.40 [2360] 0+0: dirfopen(/lbin/delegate/etc/params/119,r): 0 [-1]
  03/15 07:53:35.50 [2360] 0+0: dirfopen(/lbin/delegate/etc/params/119,w): 0 [-1]
  03/15 07:53:35.50 [2360] 0+0: DELEGATE_Modified[1]: 3c91fcdf
  03/15 07:53:35.53 [2360] 0+0: Accept-LOCK: 0
  03/15 07:53:35.53 [2360] 0+0: --INITIALIZATION DONE--
  
but now that I look at it, the second line there above looks like it
could be the problem? This one:

  03/15 07:52:19.59 [2360] 0+0: #### Socketpair(AF_UNIX) failed (29)

doesn't sound good.


-=>  |after which, netstat -s shows that something is listening on the NNTP
-=>  |port:
-=> ...
-=>  |  160     STREAM              0       nntp..119         0.0.0.0    LISTEN
-=> 
-=> Are you sure that this line does not appear without DeleGate running?

Yes. Positive.


-=>  |like it should be. But, when I attempt to connect to it using 
-=>  |FreeAgent, there is no response. I also attempted  to telnet to the 
-=>  |port, and got no response, so I don't think it's a problem  in 
-=>  |FreeAgent. netstat -s never shows anything using the NNTP port, 
-=>  |regardles of whether I'm trying to connect to it or not.
-=> 
-=> And nothing is appended to the log (or console) after "INITIALIZATION DONE"

There is nothing after the --INITIALIZATION DONE-- line.


-=> ? If so, a simple HTTP proxy like "delegated -vv -P8080" will not work also.

That one doesn't want to work at all. Command line:

    delegated -P8080 ADMIN=dgersic@niu.. SERVER="http://www.niu.edu" DGROOT=/lbin/delegate -vv

gives me:

  03/15 07:48:17.69 [2326] 0+0: TMPFILE = (3) /lbin/delegate/tmp/dg2326.1.10162000
  97
  03/15 07:48:17.75 [2326] 0+0: >>>TMPFILE(new_shared)>>>126264[3]
  03/15 07:48:17.84 [2326] 0+0: #### Socketpair(AF_UNIX) failed (29)
  03/15 07:48:17.84 [2326] 0+0: setsockbuf[6] in:0->0 out:28672->131072
  03/15 07:48:17.87 [2326] 0+0: --INITIALIZATION START: 7.0.0 on OS/2/1--
  03/15 07:48:17.87 [2326] 0+0: [-] localhost
  03/15 07:48:17.90 [2326] 0+0: [-] 127.0.0.1
  03/15 07:48:17.90 [2326] 0+0: HOSTS[0]=localhost/127.0.0.1 (PREDEF)
  03/15 07:48:17.94 [2326] 0+0: scanned HOSTS=localhost/127.0.0.1
  03/15 07:48:17.97 [2326] 0+0: SPECIALIST: http
  03/15 07:48:18.44 [2326] 0+0: server_open(delegate,:8080,listen=20)
  03/15 07:48:18.44 [2326] 0+0: listen(5,20) OK.
  03/15 07:48:18.47 [2326] 0+0: server_open(delegate,:8080) BOUND
  03/15 07:48:18.47 [2326] 0+0: DGROOT=/lbin/delegate^M
  03/15 07:48:18.50 [2326] 0+0: <DeleGate/7.0.0 by ysato@delegate.org> [2326] -P80
  80 READY^M
  <DeleGate/7.0.0 by ysato@delegate.org> [2326] -P8080 READY
  DGROOT=/lbin/delegate
  AIST Research Product No. 2000-ETL-198715-01
  Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI
  Copyright (c) 2001 National Institute of Advanced Industrial Science and Technol
  ogy (AIST)
  03/15 07:48:46.87 [2326] 0+0: PORT= 8080/5 (31,144)
  03/15 07:48:47.19 [2326] 0+0: OWNER=nobody => OWNER=dgersic/root(dgersic/root)
  03/15 07:48:47.22 [2326] 0+0: SPECIALIST: http
  03/15 07:48:47.22 [2326] 0+0: ##DeleGate/6.X: MIMECONV=thru is set by default. M
  IMECONV="" will make it compatible with former versions.
  03/15 07:48:47.50 [2326] 0+0: dirfopen(/lbin/delegate/log/errors.log,a): 1262c4
  [11]
  03/15 07:48:47.53 [2326] 0+0: #### newRoute[NOTIFYPLTFM] 0/16
  03/15 07:48:47.56 [2326] 0+0: [0] NOTIFYPLTFM=://:0-_-{}:{}
  03/15 07:48:47.56 [2326] 0+0: NOTIFYPLTFM/DST[1]: + *.etl.go.jp
  03/15 07:48:48.34 [2326] 0+0: NOTIFYPLTFM/DST[2]: + *.delegate.org
  03/15 07:48:48.37 [2326] 0+0: #### newRoute[REMITTABLE] 0/16
  03/15 07:48:48.37 [2326] 0+0: REMITTABLE/DST[1]: + *
  03/15 07:48:48.40 [2326] 0+0: REMITTABLE/SRC[1]: + *
  03/15 07:48:48.40 [2326] 0+0: [0] REMITTABLE={}{http,https/{443,563},gopher,ftp,
  wais}:{*}:{*}
  03/15 07:49:12.59 [2326] 0+0: REMITTABLE = http,https/{443,563},gopher,ftp,wais
  03/15 07:49:12.62 [2326] 0+0: #### newRoute[RELIABLE] 0/16
  03/15 07:49:12.62 [2326] 0+0: [0] RELIABLE=://:0-_-{}:{}
  03/15 07:49:12.62 [2326] 0+0: addHL: + [ * ] @ [ localhost,./@,-/@,.o/@ ]
  03/15 07:49:12.65 [2326] 0+0: RELIABLE/SRC[1]: + localhost = 7f000001 / ffffffff
  
  03/15 07:49:13.28 [2326] 0+0: gethostbyname(straylight).
  03/15 07:49:13.31 [2326] 0+0: ## connect[12] failure (57)
  03/15 07:49:13.31 [2326] 0+0: {R} No local NS (131.156.82.24:53)
  03/15 07:49:13.37 [2326] 0+0: *** gethostbyname(straylight): straylight.cso.niu.
  edu / 0.09 secs. has_alias:1
  03/15 07:49:13.59 [2326] 0+0: HOSTS[1]={straylight.cso.niu.edu,straylight}/131.1
  56.82.24
  03/15 07:49:13.62 [2326] 0+0: RELIABLE/SRC[2]: + straylight.cso.niu.edu = 839c52
  18 / ffff0000
  03/15 07:49:13.84 [2326] 0+0: RELIABLE/SRC[3]: + (IncomingIF) = - / 0
  03/15 07:49:13.87 [2326] 0+0: RELIABLE/SRC[4]: + (OutgoingIF) = .o / 0
  03/15 07:49:13.87 [2326] 0+0: #### newRoute[CMAP] 0/16
  03/15 07:49:13.90 [2326] 0+0: CMAP/DST[1]: + *
  03/15 07:49:13.90 [2326] 0+0: addHL: + [ * ] @ [ localhost,./@,-/@,.o/@ ]
  03/15 07:49:14.59 [2326] 0+0: CMAP/SRC[1]: + localhost = 7f000001 / ffffffff
  03/15 07:49:14.59 [2326] 0+0: CMAP/SRC[2]: + straylight.cso.niu.edu = 839c5218 /
    ffff0000
  03/15 07:49:14.62 [2326] 0+0: CMAP/SRC[3]: + (IncomingIF) = - / 0
  03/15 07:49:26.84 [2326] 0+0: CMAP/SRC[4]: + (OutgoingIF) = .o / 0
  03/15 07:49:26.87 [2326] 0+0: [0] CMAP={delegate,nojava}relay{*}:{*}:{.localnet}
  
  03/15 07:49:26.90 [2326] 0+0: #### newRoute[CMAP] 1/16
  03/15 07:49:26.90 [2326] 0+0: CMAP/DST[1]: + *
  03/15 07:49:27.53 [2326] 0+0: CMAP/SRC[1]: + *
  03/15 07:49:27.56 [2326] 0+0: [1] CMAP={proxy}relay{*}:{*}:{*}
  03/15 07:49:27.56 [2326] 0+0: ADMIN=dgersic@niu.. protocol=http(specialist)
  03/15 07:49:27.59 [2326] 0+0: ##DeleGate/6.X: created directory/file will be non
  -sharable. SHARE="" will make it compatible with former versions.
  03/15 07:49:28.09 [2326] 0+0: #### CACHE DISABLED #### Cache directory seems not
  exist: /lbin/delegate/cache
  03/15 07:49:28.47 [2326] 0+0: MOUNT[0]=[0] /-* =
  03/15 07:49:28.47 [2326] 0+0: MOUNT[1]=[1] /=* =
  03/15 07:49:28.50 [2326] 0+0: MOUNT[2]=[2] /-* = default
  03/15 07:49:29.62 [2326] 0+0: MOUNT[3]=[3] /* http://www.niu.edu* default
  03/15 07:49:29.62 [2326] 0+0: S[www.niu.edu] = UP[]U[]P[] + HP[www.niu.edu]H[www
  .niu.edu]P[]
  03/15 07:49:29.65 [2326] 0+0: gethostbyname(www.niu.edu).
  03/15 07:49:29.69 [2326] 0+0: *** gethostbyname(www.niu.edu): www.niu.edu / 0.04
   secs. has_alias:0
  03/15 07:49:52.06 [2326] 0+0: HOSTS[2]=www.niu.edu/131.156.69.43
  03/15 07:49:52.09 [2326] 0+0: MOUNT HOST www.niu.edu=131.156.69.43
  03/15 07:49:52.09 [2326] 0+0: MOUNT.rhost[1]: + www.niu.edu = 839c452b / fffffff
  f
  03/15 07:49:52.12 [2326] 0+0: [3] MOUNT=/ http://www.niu.edu[131.156.69.43]:80 d
  efault
  03/15 07:49:52.84 [2326] 0+0: HOSTS[2]=www.niu.edu/131.156.69.43 marked PREDEF
  03/15 07:49:52.87 [2326] 0+0: ##DeleGate/6.X: No default private-MASTER. MASTERP
  ="" will make it compatible with former versions.
  03/15 07:49:52.90 [2326] 0+0: dirfopen(/lbin/delegate/act/pid/8080,w+): 1262f4 [
  19]
  03/15 07:49:53.22 [2326] 0+0: Stay open PIDFILE for accept() lock[fd=19]
  03/15 07:49:53.22 [2326] 0+0: env[68] LIBPATH=.:/lbin/delegate:/lbin/delegate/li
  b:.
  03/15 07:49:53.25 [2326] 0+0: arg[2] ADMIN=dgersic@niu..
  03/15 07:49:54.15 [2326] 0+0: arg[3] SERVER=http://www.niu.edu
  03/15 07:49:54.15 [2326] 0+0: arg[4] DGROOT=/lbin/delegate
  (UNIX) 49:54 [2326] cannot open tmpfile(/lbin/delegate/tmp/dg2326.2.1016200194)
  03/15 07:49:54.19 [2326] 0+0: TMPFILE: cannot create (24) = /lbin/delegate/tmp/d
  g2326.2.1016200194
  (UNIX) 50:26 [2326] cannot open tmpfile(/lbin/delegate/tmp/dg2326.3.1016200226)
  03/15 07:50:26.44 [2326] 0+0: TMPFILE: cannot create (24) = /lbin/delegate/tmp/d
  g2326.3.1016200226
  03/15 07:50:26.47 [2326] 0+0: >>>TMPFILE(setLastModified)>>> cannot create.
  03/15 07:50:26.47 [2326] 0+0: >>> You MUST have the WRITE permission
  03/15 07:50:26.50 [2326] 0+0: >>> to the TMPDIR=/lbin/delegate/tmp


-=> It shows any DeleGate does not work on your host by unknown reason.

Does any of the above look helpful?


 
-=-
David Gersic
dgersic@niu..
Northern Illinois University 

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