Article delegate-en/1772 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] =?iso-8859-1?Q?R=E9f=2E_=3A_Re=3A_[DeleGate-En]_PID_file_disapear_when?= restart
23 Jul 2002 15:26:00 GMT pvmdabdyi-hugik5u6jnxr.ml@ml.delegate.org



See the result on my Linux:

[root@frpa01proxy src]# ./delegated -P9876
[root@frpa01proxy src]# <DeleGate/7.9.5 by ysato@delegate.org> [29713]
-P9876 READY
DGROOT=/home/delegate
ADMIN=jehanguillaume.derorthais@omya..
AIST Research Product No. 2000-ETL-198715-01
Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI
Copyright (c) 2001-2002 National Institute of Advanced Industrial Science
and Technology (AIST)
-delegated[29713]- WARNING! ADMIN="your_mail_address" should be specified.
-delegated[29713]- INFO: using ADMIN=jehanguillaume.derorthais@omya.com
given at compile time.

[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 ysato@delegate.org> [29713]
-P9876 READY
DGROOT=/tmp/delegate-nobody
ADMIN=jehanguillaume.derorthais@omya..
AIST Research Product No. 2000-ETL-198715-01
Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI
Copyright (c) 2001-2002 National Institute of Advanced Industrial Science
and Technology (AIST)
-delegated[29713]- WARNING! ADMIN="your_mail_address" should be specified.
-delegated[29713]- INFO: using ADMIN=jehanguillaume.derorthais@omya.com
given at compile time.

[root@frpa01proxy src]# ./delegated -P9876 -Fkill-hup
"/home/delegate/act/pid/9876": no active server on the port.

[root@frpa01proxy src]# ps -awx | grep -i delegate
16407 ?        S      0:02 /usr/local/delegate7.9.5/src/delegated
-{3668:19441/3665}[RPM=4.56(29.8 31.2 31.3),IDLE=1s,ACT=3]-P8080 -
19387 ?        S      0:00 /usr/local/delegate7.9.5/src/delegated
-{001:004/001}[RPM=0.00(0.0 0.0 0.0),IDLE=1067s]-P9292 --
29713 ?        S      0:00 ./delegated -{000}[RPM=0.00(0.0 0.0
0.0),IDLE=136s]-P9876 -- ------------------
29752 ?        S      0:00 DeleGate -{3655+08/014:172.25.72.135}
[(HTTP:keep-alive=15:41)]-P8080 -- -------
29879 ?        S      0:00 DeleGate -{3666+05}[*standby=30s]-P8080 --
------------------------------------
29883 ?        S      0:00 DeleGate
-{3668+07:172.25.68.232}[http://inside.insa-lyon.fr/]-P8080 -- -------
29901 pts/5    S      0:00 grep -i delegate

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...

Cheers,
----------------------------------------
Guillaume de Rorthais



                                                                                                         
                      feedback@delegat                                                                   
                      e.org (Yutaka            Pour :   feedback@delegate.org                            
                      Sato)                    cc :     JehanGuillaume.DeRorthais@omya..               
                                               Objet :  Re: [DeleGate-En] PID file disapear when restart 
                      23/00/0000 00:01                                                                   
                      Veuillez                                                                           
                      répondre à                                                                         
                      feedback                                                                           
                                                                                                         
                                                                                                         



On 07/23/02(21:07) you pvmdabdyi-hugik5u6jnxr.ml@ml.delegate.org wrote
in <_A1770@delegate-en.ML_>
 |Just for information, I think it's abnormal, but only you can know the
 |truth  ;)
 |When we restart delegate with the commande line delegated -Fkill-hup
-Pport
 |(like your commande line "kill -SIGHUP PID"), the file where delegate
found
 |the PID information of the active port is lost. So when we try to stop
the
 |active port of delegate after some restart, it doesn't work.
 |Ok, it's not a big problem and it isn't an handicap (we can kill it
 |manually...), but I think that give you this feedback can not be wrong!

I don't know the case where PID file is lost by "-Fkill-hup".  The file
are to be created as long as the DeleGate succeed to restart.  For example,
a series of "-Fkill-hup" succeed as follows.  What happens on your machine
when you do the following?

% delegated -P9876
% <DeleGate/8.0.0 by ysato@delegate.org> [20494] -P9876 READY
DGROOT=/home/ysato/delegate
ADMIN=ysato@delegate.org
AIST Research Product No. 2000-ETL-198715-01
Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI
Copyright (c) 2001-2002 National Institute of Advanced Industrial Science
and Tech
nology (AIST)

% delegated -P9876 -Fkill-hup
"/home/ysato/delegate/act/pid/9876": kill(20494,SIGHUP) = 0 (0) ** OK **
% <DeleGate/8.0.0 by ysato@delegate.org> [20494] -P9876 READY
DGROOT=/home/ysato/delegate
ADMIN=ysato@delegate.org
AIST Research Product No. 2000-ETL-198715-01
Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI
Copyright (c) 2001-2002 National Institute of Advanced Industrial Science
and Tech
nology (AIST)

% delegated -P9876 -Fkill-hup
"/home/ysato/delegate/act/pid/9876": kill(20494,SIGHUP) = 0 (0) ** OK **
% <DeleGate/8.0.0 by ysato@delegate.org> [20494] -P9876 READY
DGROOT=/home/ysato/delegate
ADMIN=ysato@delegate.org
AIST Research Product No. 2000-ETL-198715-01
Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI
Copyright (c) 2001-2002 National Institute of Advanced Industrial Science
and Tech
nology (AIST)

...

Cheers,
Yutaka
--
  @ @ Yutaka Sato <y.sato@delegate.org> http://www.delegate.org/y.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]
@_@V