Article delegate-en/1773 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: =?iso-8859-1?Q?R=E9f=2E_=3A_Re=3A_[DeleGate-En]_PID_file_disapear_when?= restart
23 Jul 2002 16:39:33 GMT (Yutaka Sato)


In message <_A1772@delegate-en.ML_>
on 07/24/02(01:31:15) you wrote:
 |See the result on my Linux:

Thank you for your testing.  Maybe I recognized what happened.

 |[root@frpa01proxy src]# ./delegated -P9876
 |[root@frpa01proxy src]# <DeleGate/7.9.5 by> [29713] -P9876 READY

On the invocation, your DGROOT (for "nobody" user) is "/home/delegate".
This happens when all of following conditions are true.

 - the "nobody" has his shell
 - the home directory of "nobody" is "/home"
 - "/home/delegate" or "/home" exists and writable by "nobody" (maybe by anyone)

These are not true on usual environment.  And I used these conditions
to detect non-human user like "nobody", "daemon", and so on.

% grep nobody /etc/passwd
SunOS       nobody:*:65534:65534::/:
Solaris     nobody:x:60001:60001:Nobody:/:
FreeBSD     nobody:*:65534:65534:Unprivileged user:/nonexistent:/nonexistent
Linux-RH7.1 nobody:x:99:99:Nobody:/:

Could you show me the passwd entry of "nobody" and/or the result of
the command "echo ~nobody" ?

 |[root@frpa01proxy src]# ./delegated -P9876 -Fkill-hup
 |"/home/delegate/act/pid/9876": kill(29713,SIGHUP) = 0 (0) ** OK **
 |[root@frpa01proxy src]# <DeleGate/7.9.5 by> [29713] -P9876 READY

On the restarting, "$HOME/delegate" is tried instead of "~nobody/delegate"
and it fails, then /tmp/delegate-nobody is used as the last candidate.

 |The file has been erase but the port still open...My Linux box is an
 |Mandrake 8.2 (I was no time when I installed my proxy...And still now :).
 |It's strange, maybe I'm the onlyone to have this problem (like for
 |jacada...). I'm not luky ! But for this problem, I don't know where I can
 |search the solution...

  @ @ Yutaka Sato <>
 ( - ) National Institute of Advanced Industrial Science and Technology (AIST)
_<   >_ 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]