Re: Still having problems with CVS
Greg Akins <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
I finally figured it out! I used the inet.d script that is on the wiki. It runs as root, but can be configured to run CC as a user (CC_USER variable). However, the 'su $CC_USER' doesn't maintain the variables that are set while ROOT is running the script. When I moved some of the variables (like CC_CONFIG, CC_WORK_DIR, etc.. ) to my .bash_profile then everything started to work. On Tue, Mar 31, 2009 at 6:56 PM, Jeffrey Fredrick <[email protected]> wrote: > By chance are you using ssl with cvs? I'm guessing your user keys aren't > available when running cc from the inet.d script (though I admit I'm > guessing). > Jtf > > On Mon, Mar 30, 2009 at 9:43 AM, Greg Akins <[email protected]> wrote: >> >> I originally posted, a few weeks ago, because I couldn't use cvs for >> my modificationset. >> >> I thought it was just a problem with CVS, because I thought I was >> using "ant cvs" successfully. Just today I realized it had been >> failing all along (didn't put a failure condition and hadn't been >> checking my logs). >> >> The error I get from Ant CVS is the same as i was getting from >> modificationset cvs (server: Connection Refused) >> >> I realize this isn't a CruiseControl problem, per se. Though I can >> run ant from the command line and the cvs task works fine (I can also >> use <exec executable="cvs"> with no problem if I launch ant from the >> command line. >> >> CruiseControl is being started with a /etc/init.d script (as suggested >> in the CruiseControl) wiki. That is executed by root, but CC_USER is >> set ot gakins (me) . I'm at a bit of a loss as to where to look next. >> When I google the error message I get a lot of hits, but none that >> seem to give me much indication of what the problem might be. >> >> If anyone can help point me in the right direction, I'd be most >> appreciative. >> >> Thanks >> >> >> -- >> Greg Akins >> >> http://www.pghcodingdojo.org >> http://pittjug.dev.java.net > > > > -- > Build engineering training: http://ci-guys.com/training.php > > > -- Greg Akins http://www.pghcodingdojo.org http://pittjug.dev.java.net ------------------------------------------------------------------------------