History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-1284
Type: Bug Bug
Status: Resolved Resolved
Resolution: Cannot Reproduce
Priority: Major Major
Assignee: Robin Shen
Reporter: Irina Kotlova
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Error starting on MacOSX Darwin 9.0

Created: 01/Jun/12 09:37 PM   Updated: 27/Dec/12 12:50 PM
Component/s: None
Affects Version/s: 4.0.41
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: OSTYPE=darwin9.0; HOSTTYPE=i386


 Description  « Hide
I am installing just released 4.0.41 build agent on MacOS.
When running './agent.sh console' the error comes up:

Running QuickBuild Build Agent...
./agent_original.sh: line 784: /opt/quickbuild/buildagent/bin/./wrapper-macosx-universal-64: Bad CPU type in executable

If I manually set WRAPPER_CMD=/opt/quickbuild/buildagent/bin/./wrapper-macosx-universal-32 at line 783, it works and the agent starts. Thus, the OS bitness is not identified correctly.

Still with this change I cannot run './agent.sh start', probably some other places in the script need to be edited. The error pops up:

WARNING: QuickBuild Build Agent may have failed to start.


 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [01/Jun/12 11:15 PM]
So your OS is of 32bit and you are running a 32bit JVM?

Irina Kotlova [04/Jun/12 08:20 PM]
os.arch=i386
os.name=Mac OS X
os.version=10.5.8
sun.arch.data.model=32

Robin Shen [04/Jun/12 11:54 PM]
Is your Mac OS itself a 32bit system also?

Irina Kotlova [05/Jun/12 03:57 PM]
How do I get the OS bitness?
The previous version 3 QuickBuild build agent working on this machine included 'wrapper-macosx-universal-32' in the bin folder, there is no other flavor of the wrapper there; so my assumption is that this is 32-bit Mac OS X 10.5.8 operating system.
Here is the machine specification:
 Model Name: Mac mini
  Model Identifier: Macmini1,1
  Processor Name: Intel Core Duo
  Processor Speed: 1.83 GHz
  Number Of Processors: 1
  Total Number Of Cores: 2
  L2 Cache: 2 MB
  Memory: 2 GB
  Bus Speed: 667 MHz
  Boot ROM Version: MM11.0055.B08
  SMC Version (system): 1.3f4

Robin Shen [05/Jun/12 11:02 PM]
Your system should be of 32bit. I will contact JSW support to see if this is a bug.

Robin Shen [05/Jun/12 11:09 PM]
Sorry your OS is probably of 64bit according to this:
http://www.stata.com/support/faqs/win/64bit.html

To verify, please install a 64 bit JVM and configure QB to use it (by modifying entry "wrapper.java.command" in file "conf/wrapper.conf") and comment out your changes to see if QB can start up.

Irina Kotlova [07/Jun/12 10:23 PM]
$ uname -a
Darwin cbmacbvt1 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386

This should mean that this is a 32-bit kernel, right?