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

[DeleGate-En] Re: HUP signal fails on Solaris
06 Aug 2004 23:43:30 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Hi,

On 07/30/04(01:05) you Keith Sparacin <ksparacin@ti..> wrote
in <_A2709@delegate-en.ML_> (nntp://127.0.0.1:7119/mail-lists.delegate-en/2709):
 |I am running delegate 8.9.5.  I have a problem on Solaris 8 where
 |delegate dies when a HUP signal is sent to the process.  Using the
 |same config files on a RedHat Linux system works fine.  The config
 |file is:
 |
 |PIDFILE=delegated.pid
 |ADMIN=root
 |LOGFILE=/var/log/delegated
 |INETD="157.170.133.115:100 - tcp nowait delegate/delegate - SERVER=tcprelay://
 |www1.itg.ti.com:80"
 |INETD="157.170.133.115:101 - tcp nowait delegate/delegate - SERVER=tcprelay://
 |www.itg.ti.com:80"

Oh, you are a rare user who is using "INETD" :)

 |The permissions on dgbind are:
 |-r-sr-x---    1 root     delegate    82104 Jun 16 13:06 dgbind

I don't know about Solaris 8, but I know the "dgbind" does not work on
Solaris5.

 |07/28 17:12:04.05 [12385] 0+0: ## dgbind = /opt/inet/local/bin/dgbind
 |07/28 17:12:04.08 [12385] 0+0: bind_inet(5,157.170.133.115:100) failed: ERRNO=13
 | (you are not permitted user)
 |07/28 17:12:04.08 [12385] 0+0: server_open() failed
 |07/28 17:12:04.08 [12385] 0+0: Exit (-1) DeleGate: cannot open server port 157.1

I don't understand why the INETD for privileged port (100,101) can be
available before HUP is got, but anyway if those ports are available at
the invocation time of DeleGate, it may be helpful to reserve those ports
through restart by HUP, adding PORT command like this:

  PORT="157.170.133.115:100,157.170.133.115:101"

Cheers,
Yutaka
--
  D G   Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/
 ( - )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

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