| << Back to previous view | 
                                    
                                [QB-1284] Error starting on MacOSX Darwin 9.0
                
             | 
        |
| Status: | Resolved | 
| Project: | QuickBuild | 
| Component/s: | None | 
| Affects Version/s: | 4.0.41 | 
| Fix Version/s: | None | 
| Type: | Bug | Priority: | Major | 
| Reporter: | Irina Kotlova | Assigned To: | Robin Shen | 
| Resolution: | Cannot Reproduce | Votes: | 0 | 
| Remaining Estimate: | Unknown | Time Spent: | Unknown | 
| Original Estimate: | Unknown | ||
| Environment: | OSTYPE=darwin9.0; HOSTTYPE=i386 | ||
| Description | 
| 
                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.  | 
        
| Comments | 
| Comment by Robin Shen [ 01/Jun/12 11:15 PM ] | 
| So your OS is of 32bit and you are running a 32bit JVM? | 
| Comment by 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  | 
| Comment by Robin Shen [ 04/Jun/12 11:54 PM ] | 
| Is your Mac OS itself a 32bit system also? | 
| Comment by 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  | 
| Comment by 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. | 
| Comment by 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.  | 
| Comment by 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?  |