Article delegate-en/3952 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]
[Reference:<_A3940@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: news proxy under windows
07 Apr 2008 10:13:35 GMT "damir" <pemhabdyi-tqqtzdznazfr.ml@ml.delegate.org>



----- Original Message ----- 
From: "Yutaka Sato" <feedback@delegate.org>
To: <feedback@delegate.org>
Cc: <pemhabdyi-tqqtzdznazfr.ml@ml.delegate.org>; <feedback@delegate.org>
Sent: Wednesday, March 26, 2008 11:45 PM
Subject: Re: [DeleGate-En:3945] news proxy under windows


> Hi,
>
> In message <_A3926@delegate-en.ML_> on 02/12/08(22:27:10)
> you "damir" <pemhabdyi-tqqtzdznazfr.ml@ml.delegate.org> wrote:
>  |Hm now I realy have troubles starting delegate under windows.
> ...
>  |Everything looks normal , cashe and other subdirectories is created,
service is also started , but it is not working.
>  |I use Windows 2000 with latest updates (same under windows XP) , and
nod32 antivirus (which I also try to disable - and still not working).
>  |I was connected to internet trought Mikrotik router ...
>  |In the same time I was connect and read directly with outlook expres
every mounted news server except freebin.readnews.com.
>  |Cashe dir is empty (also not created subdirectories) ... errors.log is
also empty only in file 119 i see some errors an here is copy paste:
> ...
>  |02/11 20:14:44.38 [756] 0+0: --INITIALIZATION DONE-08021120+0100: 9.8.1
on WindowsNT--
>  |(WIN) 14:48.093 [ 740] connectsocket(-1) bad port number
>  |(WIN) 14:48.093 [ 740] CANNOT CONNECT TO PARENT
>  |(WIN) 14:48.093 [ 756] spawn(D:\news\news.proxy.com\dg9_8_1.exe) = 652,
no response from child, -1,1/-1
>  |(WIN) 14:48.093 [ 756] ERROR closesocketX(2161,-1) = -1
>  |02/11 20:14:48.09 [756] 1+0: #{TR}# ? cannot fork Onetime (2)
>  |02/11 20:14:48.09 [756] 1+0: CANNOT FORK Onetime (2)
> ...
>  |This is realy strange for me because before few months some older versio
of delegate is working ... now I have fresh instalation with all windows
updates and now is not working.
>
> It has been that DeleGate on Windows does not work with some kind of
> anti-virus systems that do not support (or not allow at least by default)
> duplicating (sending or inheriting) a socket handle between processes.
>
> In DeleGate/9.8.2, I'm rewriting DeleGate to work in a single process
> daemon mode while relaying multiple parallel sessions.  In this mode,
> sockets are not copied between processes thus I expect the problem with
> anti-virus systems will not occur.
> By the default, the feature is enabled only on Windows CE, but you can
> enable it with a option like "-d1+7".
>
> In the single process mode, I know the current implementation of NNTP
proxy
> of DeleGate is not multi-thread safe, but at least it will work for
> a single session (single user) at a time:)
> Also the CRON parameter (to cause a process spawining) might cause in the
> mode and should be fixed.
>
> The executable files of 9.8.2 are available at:
> ftp://ftp.delegate.org/pub/DeleGate/alpha/bin-latest9/
>
> Cheers,
> Yutaka
Ok I was try like you say , so I make bat script like this:
dg9_8_2-pre19.exe -P119 -d1+7 SERVER=nntp EXPIRE=10d CRON="0 * * * * -expire
10d" MOUNT="= nntp://news.myisp.hr/" MOUNT="=
nntp://user:pass@motzarella../" MOUNT="= nntp://news.aioe.org/"
CACHE=do DGROOT="D:\news\news.isp.hr" ADMIN="admin@mydomain..hr"
PERMIT="*:*:192.168.11.0/24,192.168.1.0/24,192.168.2.0/24,192.168.3.0/24,127
.0.0.1/32"

Now in the begining everythig work but only for short time ...
subdirectories are created some massages are cashed ... but not for long ...
just few days ...
Now I have on my e-mail this massage:

 PLEASE FORWARD THIS MESSAGE TO <bugs@delegate.org>.
IT WILL BE HELPFUL FOR DEBUGGING.

Subject: DeleGate-Report: SIGSEGV
From: [0]@wisp
To: admin@(DeleGate ADMIN)
Reply-To: bugs@delegate.org
Date: Sat, 29 Mar 2008 08:33:02 +0100
Message-Id: <13940.1206775982.0@wisp..>
Content-Type: text/plain
Event: SIGSEGV
Version: DeleGate/9.8.2-pre19 (March 26, 2008) (WindowsNT)
Host: wisp
Owner: uid=0/0, gid=0/0
Started: Fri, 28 Mar 2008 23:09:12 +0100
Pid: 13940
Cwd: D:\news\news.isp.hr\work\119
Load: 3.98 (18.0 6.6 5.2)
Stack: 1FFFFF 0/0


--iLog--begin
ppid=0
09:10.875 [13940] delegated.cpp:5478 --- DO_STARTUP
09:11.155 [13940] delegated.cpp:5510 --- DO_INITIALIZE
09:11.187 [13940] delegated.cpp:5874 --- _main START
09:11.217 [13940] filter.cpp:457 --- [5] command PATH:
D:\news\news.isp.hr\dg9_8_2-pre19.exe ->
D:\news\news.isp.hr\dg9_8_2-pre19.exe
09:11.375 [13940] delegated.cpp:5961 --- _main ConnInit() DONE
09:11.375 [13940] delegated.cpp:5968 --- _main fromInetd()=0
09:11.375 [13940] filter.cpp:457 --- [5] command PATH:
D:\news\news.isp.hr\dg9_8_2-pre19.exe ->
D:\news\news.isp.hr\dg9_8_2-pre19.exe
09:11.733 [13940] delegated.cpp:3138 --- _main scan_HOSTS0() DONE
09:11.733 [13940] delegated.cpp:3143 --- _main scan_HOSTSLISTS() DONE
09:11.733 [13940] inets.cpp:4138 --- testing resolver[CFDS] with
'WWW.DeleGate.ORG'
09:12.703 [13940] delegated.cpp:3154 --- _main init_resolv() DONE
09:13.625 [13940] dl.cpp:209 --- dl_library(dgzlib1)...
09:14.108 [13940] dl.cpp:286 --- [dgzlib1] 0 dglibdgzlib1.dll
09:14.108 [13940] dl.cpp:286 --- [dgzlib1] 1790000
D:\news\news.isp.hr\dgzlib1.dll
09:14.108 [13940] dl.cpp:300 --- [D:\news\news.isp.hr]
putenv(DYLIB_dgzlib1=D:\news\news.isp.hr\dgzlib1.dll)

--iLog--end

--AbortLog--begin
03/29 08:24:46.78 [3698] 0+0: ## 33331.3    6 REQ#0/0 TH# 8/8/8 17.64u 4.44s
7908/7920K
03/29 08:25:16.78 [3698] 0+0: ## 33361.3    6 REQ#0/0 TH# 8/8/8 32.16u 4.44s
7908/7920K
03/29 08:25:16.78 [3698] 0+0: ## 33361.3 ACC#7 CON#18
0+0/0+0 -0-0-0-0 -0R-0T RES#8/224 SOCK#28/43 FILE#0/0 CLS#708/34
03/29 08:25:46.78 [3698] 0+0: ## 33391.3    6 REQ#0/0 TH# 8/8/8 59.78u 4.44s
7908/7920K
03/29 08:26:16.78 [3698] 0+0: ## 33421.3    6 REQ#0/0 TH# 8/8/8 89.05u 4.44s
7908/7920K
03/29 08:26:46.78 [3698] 0+0: ## 33451.3    6 REQ#0/0 TH# 8/8/8 118.36u
4.47s 7908/7920K
03/29 08:27:16.78 [3698] 0+0: ## 33481.3    6 REQ#0/0 TH# 8/8/8 147.66u
4.47s 7908/7920K
03/29 08:27:16.78 [3698] 0+0: ## 33481.3 ACC#7 CON#18
0+0/0+0 -0-0-0-0 -0R-0T RES#8/224 SOCK#28/43 FILE#0/0 CLS#708/34
03/29 08:27:46.78 [3698] 0+0: ## 33511.3    6 REQ#0/0 TH# 8/8/8 176.89u
4.47s 7908/7920K
03/29 08:28:16.78 [3698] 0+0: ## 33541.3    6 REQ#0/0 TH# 8/8/8 206.00u
4.47s 7896/7920K
03/29 08:28:46.78 [3698] 0+0: ## 33571.3    6 REQ#0/0 TH# 8/8/8 235.22u
4.47s 7896/7920K
03/29 08:29:16.78 [3698] 0+0: ## 33601.3    6 REQ#0/0 TH# 8/8/8 264.50u
4.47s 7896/7920K
03/29 08:29:16.78 [3698] 0+0: ## 33601.3 ACC#7 CON#18
0+0/0+0 -0-0-0-0 -0R-0T RES#8/224 SOCK#28/43 FILE#0/0 CLS#708/34
03/29 08:29:46.78 [3698] 0+0: ## 33631.3    6 REQ#0/0 TH# 8/8/8 293.80u
4.47s 7896/7920K
03/29 08:30:16.78 [3698] 0+0: ## 33661.3    6 REQ#0/0 TH# 8/8/8 323.25u
4.47s 7896/7920K
03/29 08:30:46.78 [3698] 0+0: ## 33691.3    6 REQ#0/0 TH# 8/8/8 352.67u
4.47s 7896/7920K
03/29 08:31:16.78 [3698] 0+0: ## 33721.3    6 REQ#0/0 TH# 8/8/8 382.06u
4.47s 7896/7920K
03/29 08:31:16.78 [3698] 0+0: ## 33721.3 ACC#7 CON#18
0+0/0+0 -0-0-0-0 -0R-0T RES#8/224 SOCK#28/43 FILE#0/0 CLS#708/34
03/29 08:31:46.78 [3698] 0+0: ## 33751.3    6 REQ#0/0 TH# 8/8/8 411.52u
4.47s 7896/7920K
03/29 08:32:16.78 [3698] 0+0: ## 33781.3    6 REQ#0/0 TH# 8/8/8 440.92u
4.47s 7896/7920K
03/29 08:32:46.78 [3698] 0+0: ## 33811.3    6 REQ#0/0 TH# 8/8/8 470.36u
4.47s 7896/7920K
03/29 08:33:02 [3598]-P119 ####! EMERGENCY STOP !#### [13940.3598]0 8/8
03/29 08:33:02.77 [3598] 1+2185: ####! EMERGENCY STOP !#### [13940.3598]0
8/8
03/29 08:33:02 [3598]-P119 #### setStopService
[D:\news\news.isp.hr/adm/shutout/127.0.0.1]
03/29 08:33:02.78 [3598] 1+2185: #### setStopService
[D:\news\news.isp.hr/adm/shutout/127.0.0.1]
--AbortLog--end

--BackTrace--begin

--BackTrace--end

Some help ? or just wait another release ?
Thanks!



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