Article delegate-en/322 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:<_A320@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: running delegate from inetd - help!
03 Mar 1999 04:25:25 GMT Steve Mane <phiaqbdyi-t7hpjik6obxr.ml@ml.delegate.org>


On Wed, 31 Dec 1969, you wrote:

>It is the normal behaviour of DeleGate.  A recent message in this archive
>"http://wall.etl.go.jp/mail-lists/delegate/276" entitled "Re: invoking
>DeleGate from inetd" may be helpful to know about it.
>
> |log file are as follows:
> |03/02 17:04:51.04 [1768] 0+0: Exit (-1) PSTITLE(delegated) failed(-1) errno=2
> |It repeats that line for every time I try to use the proxy.  I couldn't find
> |anything in the docs that tells me what error 2 is.  Any ideas?   Thanks!
>
>"errno" means system error number (see: % man errno). Values of
>errno are defined usually in "/usr/include/sys/errno.h" and I
>suppose the errno 2 is ENOENT (No such file or directory) independently
>of your platform.  This message is put by DeleGate on the way of
>execvp().  So I suppose that "delegated" is not in the command PATH of
>"nobody".  If it is true, you will solve the problem giving absolute
>path of DeleGate as the argument 0 in inetd.conf like this:
>
>dhttp  stream  tcp  nowait  nobody  /usr/local/sbin/delegated /usr/local/sbin/delegated SERVER=http RELIABLE="10.52.4.[2-9]"

	That's part of what the problem was.  I also found a couple of bugs:

1)  If I use RELIABLE="10.52.4.228" I always get an error from delegated
saying that the client has unknown and has no authorization.  If I use
RELIABLE=10.52.4.228 (without the quotes) it works fine.   And similarly, if
I use RELIABLE=10.52.4.227,209.90.15.22 I get an error, but if I put quotes
around the IP's it works.

2)  The docs say that LOGFILE="" is the same as using -vs.  In fact, I've
found that delegate will create a log file named "" in the log dir.

	I've got it up and running now and it is working well.  Thanks very
much for all your help!

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