|
Dan,
Apologies again for the hassle. The script that we shipped with 1.0.1 is a dynamic script which picks up all the jars off the lib directory. This replaced the intermediary solution you find in Unfortunately, it seems that the new script is also problematic for Solaris. We'll be getting onto this ASAP. In the meantime, you can still use the start.sh as a replacement startup script. Regards, Thanks for response Edwin.
I did try to use the start.sh with 1.0.1 but this too failed. I had to roll back to 1.0 and use the start.sh. I am now back up but missing the fixes that are in 1.0.1 I will move to the new version when you have it working ok on solaris. Thanks again Hi Daniel,
Would you still have the atlassian-bamboo.log when you tried to start 1.0.1 with the start.sh file? Would you be able to attach for us here? Many thanks, I had a bit of spare time (waiting for a build), so I tried 1.0.2 on one of our solaris boxes (solaris 10). I got the same problem as Daniel. We've had similar problems with shell scripts on solaris before. The quick way to fix this is to use /bin/bash instead of /bin/sh in the first line of the bamboo.sh file.
On linux, sh is usually aliased to bash, but on solaris (and osx I think) is really is sh, which doesn't have the nice things bash does. Mark Agree with Mark.
In fact, I find that to get any useful scripting to work on solaris you must specify #Unable to render embedded object: File (/bin/bash. /bin/sh is very lame, and ksh is specific to solaris. And specifying #) not found./bin/bash is fine for Linux. All modern versions of Solaris should have bash installed; I think it would be OK for bamboo to require bash to operate. Thanks for the pointers guys. We will fix the script up.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Dan,
Sorry for all the hassle. We were hoping the change would give some stability improvements, but clearly has some problems on certain platforms.
We've been testing out a new shell script today for Bamboo that should work please give it a go. The download and instructions can be found at http://jira.atlassian.com/browse/BAM-908
Let me know if it's still not working, I'll try to check my mail over the weekend
Cheers,
Mark C
On 23/02/2007, at 9:05 AM, Dan Woodhams wrote:
Hey Mark,
Still can't get it to work but here's an update of things I have tried:
Firstly it works fine on a Linux machine.
I tried on Solaris using GNU tar this also failed on start up - I was thinking it was something to do with the unpacking.
I also ran:
/usr/local/atlassian/Bamboo/bin> ldd wrapper
ldd: wrapper: has wrong class or data encoding
and
/usr/local/atlassian/Bamboo/bin> file wrapper
wrapper: ELF 32-bit LSB executable 80386 Version 1, dynamically linked, not stripped, no debugging information available
I think executable 80386 is an Intel executable?
Are you able to run it on Solaris?
Anyhow, any help you can provide would be great - I'm trying to "sell" this product to my development teams.
Cheers Mark
Daniel
--------------------------------------------------------------------------------
From: Dan Woodhams
Sent: Thursday, February 22, 2007 9:01 AM
To: 'Mark Chaimungkalanont'
Subject: RE: Bamboo 1.0 for Solaris
Hey Mark,
Not really much to go on but I did the following:
1: Downloaded the "atlassian-bamboo-1.0-standalone.tar.gz"
2: Unzipped and untared the distribution
3: Set the bamboo home in the properties file and then tried to start it up.
4: I got...
/usr/local/atlassian/Bamboo> ./start-bamboo start
Starting Bamboo Continuous Integration Server...
./start-bamboo: /opt/local/atlassian/Bamboo/./bin/wrapper: cannot execute
The permissions are all good and I asked one of our sysAdmins to take a look and he thought the encoding was wrong?
Some problem with the solaris tar program?
Weird because the beta version was working fine.
Thanks for looking into it Mark.
Daniel
--------------------------------------------------------------------------------
From: Mark Chaimungkalanont mark@atlassian.com
Sent: Wednesday, February 21, 2007 11:04 PM
To: Dan Woodhams
Subject: Re: Bamboo 1.0 for Solaris
Daniel,
We used Java Service Wrappers to start out Bamboo standalone instances at the moment, so that's what's changed.
Did you have a chance to try the Linux version on Solaris? If there were any errors, can you send us to them and we'll see what we can do.
Cheers,
Mark C
On 22/02/2007, at 3:16 AM, Dan Woodhams wrote:
Hey Mark,
Quick question, which distribution should I use for Solaris. Before I was trailing the "atlassian-bamboo-1.0-beta-standalone.tar" and it was working fine. I know see that you have no Solaris specific version on the download page (it's now "Linux" specific). Please help. I was hoping that you would have a standalone version?
Thanks,
Daniel Woodhams