Bug 3776 - globus-start-container requires user to delete orphaned pid file
: globus-start-container requires user to delete orphaned pid file
Status: RESOLVED FIXED
: Java WS Core
globus_wsrf_core
: 4.0.1
: All Windows XP
: P3 enhancement
: ---
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2005-09-22 15:49 by
Modified: 2005-10-20 11:37 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-09-22 15:49:24
If the container terminates without cleaning up its pid file, the next time it
is started globus-start-container displays the message:

ERROR: $GLOBUS_LOCATION/var/container.pid already exists.
       Is a container already running?

It should be possible to avoid this message by reading the pid file and checking
for the existence of the process.  If the process is there, the message could
report that the container is already running, rather than asking the question. 
If the process is not there then the file could be deleted automatically, and a
new container started without requiring user action.
------- Comment #1 From 2005-09-22 15:59:43 -------
Good point. I'll take this bug as I have some other small cleanup things to the
-detached programs.
------- Comment #2 From 2005-10-20 11:37:38 -------
Fix commited to globus_4_0_branch and head.