|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (CONTINUUM-2383) Continuum-buildagent Start/Stop Script Cannot Find Binaries on Solaris
by JIRA jira@codehaus.org
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message Continuum-buildagent Start/Stop Script Cannot Find Binaries on Solaris
---------------------------------------------------------------------- Key: CONTINUUM-2383 URL: http://jira.codehaus.org/browse/CONTINUUM-2383 Project: Continuum Issue Type: Bug Components: Distributed Builds Affects Versions: 1.3.4 Environment: Solaris 9 and 10 Reporter: George Snyder Priority: Minor On Solaris 9 and 10, if the user's PATH has /usr/ucb ahead of /bin, then the continuum-buildagent script fails: > continuum-buildagent start Unable to locate any of the following binaries: /opt/continuum/apache-continuum-buildagent-1.3.4/bin/./wrapper-SOS-swrc-32 /opt/continuum/apache-continuum-buildagent-1.3.4/bin/./wrapper-SOS-swrc-64 /opt/continuum/apache-continuum-buildagent-1.3.4/bin/./wrapper The problem is in lines such as: DIST_OS=`uname -s | tr [:upper:] [:lower:] | tr -d [:blank:]` DIST_ARCH=`uname -m | tr [:upper:] [:lower:] | tr -d [:blank:]` /usr/ucb/tr does not understand the pattern keywords, and mangles the OS and architecture names. Recommendation: Use /bin/tr explicitly. (There is already code to decide which 'ps' to use; perhaps it could be adapted.) Workaround: The user can invoke the script with a modified path, e.g.: > env PATH="/bin:$PATH" continuum-buildagent start -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
|
[jira] Commented: (CONTINUUM-2383) Continuum-buildagent Start/Stop Script Cannot Find Binaries on Solaris
by JIRA jira@codehaus.org
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message [ http://jira.codehaus.org/browse/CONTINUUM-2383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=193920#action_193920 ] George Snyder commented on CONTINUUM-2383: ------------------------------------------ To replicate: cd to the continuum-buildagent/bin directory. > env PATH="/usr/ucb:$PATH" continuum-buildagent status > Continuum-buildagent Start/Stop Script Cannot Find Binaries on Solaris > ---------------------------------------------------------------------- > > Key: CONTINUUM-2383 > URL: http://jira.codehaus.org/browse/CONTINUUM-2383 > Project: Continuum > Issue Type: Bug > Components: Distributed Builds > Affects Versions: 1.3.4 > Environment: Solaris 9 and 10 > Reporter: George Snyder > Priority: Minor > > On Solaris 9 and 10, if the user's PATH has /usr/ucb ahead of /bin, then the continuum-buildagent script fails: > > continuum-buildagent start > Unable to locate any of the following binaries: > /opt/continuum/apache-continuum-buildagent-1.3.4/bin/./wrapper-SOS-swrc-32 > /opt/continuum/apache-continuum-buildagent-1.3.4/bin/./wrapper-SOS-swrc-64 > /opt/continuum/apache-continuum-buildagent-1.3.4/bin/./wrapper > The problem is in lines such as: > DIST_OS=`uname -s | tr [:upper:] [:lower:] | tr -d [:blank:]` > DIST_ARCH=`uname -m | tr [:upper:] [:lower:] | tr -d [:blank:]` > /usr/ucb/tr does not understand the pattern keywords, and mangles the OS and architecture names. > Recommendation: Use /bin/tr explicitly. (There is already code to decide which 'ps' to use; perhaps it could be adapted.) > Workaround: The user can invoke the script with a modified path, e.g.: > > env PATH="/bin:$PATH" continuum-buildagent start -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
|
[jira] Updated: (CONTINUUM-2383) Continuum-buildagent Start/Stop Script Cannot Find Binaries on Solaris
by JIRA jira@codehaus.org
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message [ http://jira.codehaus.org/browse/CONTINUUM-2383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wendy Smoak updated CONTINUUM-2383: ----------------------------------- Fix Version/s: Backlog > Continuum-buildagent Start/Stop Script Cannot Find Binaries on Solaris > ---------------------------------------------------------------------- > > Key: CONTINUUM-2383 > URL: http://jira.codehaus.org/browse/CONTINUUM-2383 > Project: Continuum > Issue Type: Bug > Components: Distributed Builds > Affects Versions: 1.3.4 > Environment: Solaris 9 and 10 > Reporter: George Snyder > Priority: Minor > Fix For: Backlog > > > On Solaris 9 and 10, if the user's PATH has /usr/ucb ahead of /bin, then the continuum-buildagent script fails: > > continuum-buildagent start > Unable to locate any of the following binaries: > /opt/continuum/apache-continuum-buildagent-1.3.4/bin/./wrapper-SOS-swrc-32 > /opt/continuum/apache-continuum-buildagent-1.3.4/bin/./wrapper-SOS-swrc-64 > /opt/continuum/apache-continuum-buildagent-1.3.4/bin/./wrapper > The problem is in lines such as: > DIST_OS=`uname -s | tr [:upper:] [:lower:] | tr -d [:blank:]` > DIST_ARCH=`uname -m | tr [:upper:] [:lower:] | tr -d [:blank:]` > /usr/ucb/tr does not understand the pattern keywords, and mangles the OS and architecture names. > Recommendation: Use /bin/tr explicitly. (There is already code to decide which 'ps' to use; perhaps it could be adapted.) > Workaround: The user can invoke the script with a modified path, e.g.: > > env PATH="/bin:$PATH" continuum-buildagent start -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
| Free embeddable forum powered by Nabble | Forum Help |