[JIRA] Commented: (CC-1009) Currupt cc.pid

"Dan Rollo (JIRA)" <[email protected]> Sun, 6 Feb 2011 00:23:49 -0600 (CST)
Newsgroups gmane.comp.java.cruise-control.devel
Message-ID <260081081.1296973429872.JavaMail.jira@chidmzhosting02.thoughtworks.com>
    [ http://jira.public.thoughtworks.org/browse/CC-1009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_19059 ] 

Dan Rollo commented on CC-1009:
-------------------------------

Hi John, 

I posted a question about the latest patch on the CC devs list (I'm guessing you didn't see it). 

Anyway, it had to do with the email discussions we had about how the patch errors out on linux, I think due to "PID=-1".
You had suggested a fix, but I can't seem to find that email/patch.

Could you update the patch and attach it here?

Thanks,
Dan


> Currupt cc.pid
> --------------
>
>                 Key: CC-1009
>                 URL: http://jira.public.thoughtworks.org/browse/CC-1009
>             Project: CruiseControl
>          Issue Type: Bug
>    Affects Versions: 2.8.4
>         Environment: Unix
>            Reporter: John Patrick
>            Priority: Major
>         Attachments: cc-1009.patch, cc-1009.patch-r4568
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> The current cruisecontrol.sh, does not check if the current value in cc.pid is of an currently active cruisecontrol instance.
> If you execute cruisecontrol.sh again, it overwrites cc.pid.
> I've already done a patch, that will check cc.pid and kill the start if the cc.pid is an active cruisecontrol instance that is already running.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.public.thoughtworks.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb