This forum is no longer active. Please post your questions to our new community site
Cannot start JRubyStack Amazon Machine Images (AMIs)
|
|
Hi, I just created a Micro (t1.micro) instance of the “BitNami JRubyStack 1.6.0-0 EBS (Ubuntu 10.04)” AMI. However, I am facing problems starting up the instance. Heres the error I encounter in the system log. Anyone can help? ========
backend at /local/domain/0/backend/vbd/1643/2049 root (hd0) Filesystem type is ext2fs, using whole diskkernel /boot/vmlinuz-2.6.32-312-ec2 root=LABEL=uec-rootfs ro xencons=hvc0 cons ole=hvc0 initrd /boot/initrd.img-2.6.32-312-ec2 xc_dom_probe_bzimage_kernel: kernel is not a bzImage [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.32-312-ec2 (buildd@rothera) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #24-Ubuntu SMP Fri Jan 7 18:31:34 UTC 2011 (Ubuntu 2.6.32-312.24-ec2 2.6.32.27+drm33.12) [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] NSC Geode by NSC [ 0.000000] Cyrix CyrixInstead [ 0.000000] Centaur CentaurHauls [ 0.000000] Transmeta GenuineTMx86 [ 0.000000] Transmeta TransmetaCPU [ 0.000000] Xen-provided physical RAM map: [ 0.000000] Xen: 0000000000000000 – 0000000026f00000 (usable) [ 0.000000] last_pfn = 0×26f00 max_arch_pfn = 0×10000000 [ 0.000000] init_memory_mapping: 0000000000000000-0000000026f00000 [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] RAMDISK: 007f4000 – 017c5000 [ 0.000000] 0MB HIGHMEM available. [ 0.000000] 623MB LOWMEM available. [ 0.000000] mapped low ram: 0 – 26f00000 [ 0.000000] low ram: 0 – 26f00000 [ 0.000000] node 0 low ram: 00000000 – 26700000 [ 0.000000] node 0 bootmap 00000000 – 00004ce0 [ 0.000000] (4 early reservations) ==> bootmem [0000000000 – 0026700000] [ 0.000000] #0 [0000100000 – 00007d3544] TEXT DATA BSS ==> [0000100000 – 00007d3544] [ 0.000000] #1 [00007f4000 – 0001872000] Xen provided ==> [00007f4000 – 0001872000] [ 0.000000] #2 [0001872000 – 000199f000] PGTABLE ==> [0001872000 – 000199f000] [ 0.000000] #3 [0000000000 – 0000005000] BOOTMAP ==> [0000000000 – 0000005000] [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0×00000000 → 0×00001000 [ 0.000000] Normal 0×00001000 → 0×00026f00 [ 0.000000] HighMem 0×00026f00 → 0×00026f00 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map2 active PFN ranges [ 0.000000] 0: 0×00000000 → 0×00026700 [ 0.000000] 0: 0×00026f00 → 0×00026f00 [ 0.000000] NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:1 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 10 pages/cpu @c17ca000 s18168 r0 d22792 u65536 [ 0.000000] pcpu-alloc: s18168 r0 d22792 u65536 alloc=16*4096 [ 0.000000] pcpu-alloc: 0 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 156194 [ 0.000000] Kernel command line: root=LABEL=uec-rootfs ro xencons=hvc0 console=hvc0 [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Enabling fast FPU save and restore… done. [ 0.000000] Enabling unmasked SIMD FPU exception support… done. [ 0.000000] Initializing CPU#0 [ 0.000000] allocated 3189760 bytes of page_cgroup [ 0.000000] please try ‘cgroup_disable=memory’ option if you don’t want memory cgroups [ 0.000000] Software IO TLB disabled [ 0.000000] Initializing HighMem for node 0 (00000000:00000000) [ 0.000000] Memory: 595456k/637952k available (4329k kernel code, 34068k reserved, 1569k data, 216k init, 0k highmem) [ 0.000000] virtual kernel memory layout: [ 0.000000] fixmap : 0xf5238000 – 0xf57ff000 (5916 kB) [ 0.000000] pkmap : 0xf4e00000 – 0xf5000000 (2048 kB) [ 0.000000] vmalloc : 0xe7700000 – 0xf4dfe000 ( 214 MB) [ 0.000000] lowmem : 0xc0000000 – 0xe6f00000 ( 623 MB) [ 0.000000] .init : 0xc06c3000 – 0xc06f9000 ( 216 kB) [ 0.000000] .data : 0xc053a69d – 0xc06c2d78 (1569 kB) [ 0.000000] .text : 0xc0100000 – 0xc053a69d (4329 kB) [ 0.000000] Checking if this processor honours the WP bit even in supervisor mode…Ok. [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:96 [ 0.000000] Xen reported: 2660.000 MHz processor. [ 0.000000] Console: colour dummy device 80×25 [ 0.000000] console [hvc0] enabled [ 0.960012] Calibrating delay using timer specific routine.. 5387.05 BogoMIPS (lpj=26935285) [ 0.960104] Security Framework initialized [ 0.960122] AppArmor: AppArmor initialized [ 0.960137] Mount-cache hash table entries: 512 [ 0.960244] Initializing cgroup subsys ns [ 0.960250] Initializing cgroup subsys cpuacct [ 0.960254] Initializing cgroup subsys memory [ 0.960262] Initializing cgroup subsys devices [ 0.960265] Initializing cgroup subsys freezer [ 0.960293] CPU: L1 I cache: 32K, L1 D cache: 32K [ 0.960297] CPU: L2 cache: 6144K [ 0.960311] Checking ‘hlt’ instruction… OK. [ 0.961026] SMP alternatives: switching to UP code [ 0.987265] Freeing SMP alternatives: 29k freed [ 0.987482] Brought up 1 CPUs [ 0.987594] devtmpfs: initialized [ 0.988042] NET: Registered protocol family 16 [ 0.988599] Brought up 1 CPUs [ 0.988602] PCI: Fatal: No config space access function found [ 0.988604] PCI: setting up Xen PCI frontend stub [ 0.988855] bio: create slab at 0 [ 0.988928] vgaarb: loaded [ 0.989143] suspend: event channel 9 [ 0.990683] xen_mem: Initialising balloon driver. [ 0.994496] PCI: System does not support PCI [ 0.994506] PCI: System does not support PCI [ 0.994596] NET: Registered protocol family 8 [ 0.994600] NET: Registered protocol family 20 [ 0.994611] NetLabel: Initializing [ 0.994614] NetLabel: domain hash size = 128 [ 0.994615] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.994626] NetLabel: unlabeled traffic allowed by default [ 0.994631] Switching to clocksource xen [ 0.996171] AppArmor: AppArmor Filesystem Enabled [ 0.996340] NET: Registered protocol family 2 [ 0.996413] IP route cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.996673] TCP established hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.997270] TCP bind hash table entries: 65536 (order: 7, 524288 bytes) [ 0.997594] TCP: Hash tables configured (established 131072 bind 65536) [ 0.997597] TCP reno registered [ 0.997665] NET: Registered protocol family 1 [ 0.997718] platform rtc_cmos: registered platform RTC device (no PNP device found) [ 0.997809] audit: initializing netlink socket (disabled) [ 0.997818] type=2000 audit(1305348300.108:1): initialized [ 0.999988] Trying to unpack rootfs image as initramfs… [ 1.005567] VFS: Disk quotas dquot_6.5.2 [ 1.005593] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.005693] DLM (built Jan 7 2011 18:34:49) installed [ 1.005814] JFS: nTxBlock = 4920, nTxLock = 39360 [ 1.015497] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled [ 1.015713] SGI XFS Quota Management subsystem [ 1.018872] Freeing initrd memory: 16196k freed [ 1.027547] Slow work thread pool: Starting up [ 1.027616] Slow work thread pool: Ready [ 1.027645] GFS2 (built Jan 7 2011 18:36:09) installed [ 1.027668] msgmni has been set to 1261 [ 1.027841] alg: No test for stdrng (krng) [ 1.027860] io scheduler noop registered [ 1.027880] io scheduler anticipatory registered [ 1.027888] io scheduler deadline registered (default) [ 1.027936] io scheduler cfq registered [ 1.043580] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled [ 1.044542] brd: module loaded [ 1.044883] loop: module loaded [ 1.045005] Xen virtual console successfully installed as hvc0 [ 1.045042] Event-channel device installed. [ 1.047861] netfront: Initialising virtual ethernet driver. [ 1.049566] PPP generic driver version 2.4.2 [ 1.050118] Equalizer2002: Simon Janes (simon@ncm.com) and David S. Miller (davem@redhat.com) [ 1.050274] tun: Universal TUN/TAP device driver, 1.6 [ 1.050276] tun: © 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 1.051147] i8042.c: No controller found. [ 1.051198] mice: PS/2 mouse device common for all mice [ 1.051254] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0 [ 1.051307] Driver for 1-wire Dallas network protocol. [ 1.051372] device-mapper: uevent: version 1.0.3 [ 1.051439] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com [ 1.051719] NET: Registered protocol family 17 [ 1.051810] registered taskstats version 1 [ 1.059935] xen-vbd: registered block device major 8 [ 1.145369] /build/buildd/linux-ec2-2.6.32/drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 1.145419] Freeing unused kernel memory: 216k freed [ 1.146590] Write protecting the kernel text: 4332k [ 1.146873] Write protecting the kernel read-only data: 1336k Loading, please wait… Begin: Running /scripts/init-premount … [ 1.343642] EXT3-fs: write access will be enabled during recovery. [ 1.471709] kjournald starting. Commit interval 5 seconds [ 1.471739] EXT3-fs: sda1: orphan cleanup on readonly fs [ 1.471790] EXT3-fs: sda1: 5 orphan inodes deleted [ 1.471792] EXT3-fs: recovery complete. [ 1.478871] EXT3-fs: mounted filesystem with writeback data mode. Begin: Running /scripts/local-bottom … cloud-init running: Sat, 14 May 2011 04:45:05 +0000. up 6.45 seconds
init: apport post-stop process (501) terminated with status 1 landscape-client is not configured, please run landscape-config. [ 18.233040] kernel BUG at /build/buildd/linux-ec2-2.6.32/arch/x86/mm/hypervisor.c:461! [ 18.233043] invalid opcode: 0000 [#1] SMP [ 18.233048] last sysfs file: /sys/devices/system/cpu/cpu0/cache/index2/shared_cpu_map [ 18.233052] Modules linked in: ipv6 [ 18.233056] [ 18.233060] Pid: 686, comm: java Not tainted (2.6.32-312-ec2 #24-Ubuntu) [ 18.233063] EIP: 0061:[] EFLAGS: 00010282 CPU: 0 [ 18.233070] EIP is at T.571+0x150/0×180 [ 18.233073] EAX: ffffffea EBX: c112be70 ECX: 00000002 EDX: 00000000 [ 18.233076] ESI: fbb97000 EDI: 00000001 EBP: c112bebc ESP: c112be60 [ 18.233078] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0069 [ 18.233082] Process java (pid: 686, ti=c112a000 task=c126ecb0 task.ti=c112a000) [ 18.233085] Stack: [ 18.233087] c1e53b80 c112bee0 80000000 00000061 0000000e 00000000 e59dc000 fbb97061 [ 18.233097] <0> 80000001 00000000 00000000 00000040 00000001 ffffffea c112bee0 00000001 [ 18.233108] <0> 00000000 00007ff0 00000000 00000000 fbb97001 00000001 c1e84000 c112befc [ 18.233120] Call Trace: [ 18.233127] [] ? xen_l3_entry_update+0x12d/0×1b0 [ 18.233132] [] ? pud_populate+0x9e/0xc0 [ 18.233137] [] ? __pmd_alloc+0x99/0xa0 [ 18.233140] [] ? handle_mm_fault+0x509/0×5b0 [ 18.233144] [] ? do_munmap+0x23a/0×2d0 [ 18.233149] [] ? do_page_fault+0x119/0×340 [ 18.233153] [] ? do_page_fault+0x0/0×340 [ 18.233156] [] ? error_code+0x3d/0×44 [ 18.233159] Code: c3 64 a0 cc 60 6f c0 84 c0 75 28 8b 5d a8 b9 01 00 00 00 31 d2 be f0 7f 00 00 e8 8c 8a fe ff 85 c0 79 d6 0f 0b eb fe 8d 74 26 00 <0f> 0b eb fe 0f 0b eb fe 8b 45 a8 31 c9 ba 01 00 00 00 c7 04 24 [ 18.233224] EIP: [] T.571+0x150/0×180 SS:ESP 0069:c112be60 [ 18.233233] [ 149.747504] BUG: soft lockup – CPU#0 stuck for 123s! [java:684] [ 149.747504] Modules linked in: ipv6 [ 149.747504] [ 149.747504] Pid: 684, comm: java Tainted: G D (2.6.32-312-ec2 #24-Ubuntu) [ 149.747504] EIP: 0061:[] EFLAGS: 00000246 CPU: 0 [ 149.747504] EIP is at 0xc01013a7 [ 149.747504] EAX: 00000000 EBX: 00000003 ECX: e576fe64 EDX: 00000008 [ 149.747504] ESI: 00000015 EDI: e576fe74 EBP: e576fe80 ESP: e576fe60 [ 149.747504] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0069 [ 149.747504] CR0: 8005003b CR2: b77e85d8 CR3: 01862000 CR4: 00002620 [ 149.747504] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000 [ 149.747504] DR6: ffff0ff0 DR7: 00000000 [ 149.747504] Call Trace: [ 149.747504] [] ? xen_poll_irq+0x7d/0xc0 [ 149.747504] [] xen_spin_wait+0x6a/0×130 [ 149.747504] [] _spin_lock+0x4d/0×60 [ 149.747504] [] _pin_lock+0x1da/0×210 [ 149.747504] [] ? cpumask_next_and+0x1f/0×40 [ 149.747504] [] ? smp_call_function_many+0x4f/0×1e0 [ 149.747504] [] mm_unpin+0x19/0×30 [ 149.747504] [] arch_exit_mmap+0x78/0×80 [ 149.747504] [] exit_mmap+0x2f/0×190 [ 149.747504] [] ? mm_release+0xc5/0xe0 [ 149.747504] [] mmput+0x26/0xd0 [ 149.747504] [] exit_mm+0xe6/0×120 [ 149.747504] [] ? tty_audit_exit+0x28/0xe0 [ 149.747504] [] do_exit+0x103/0×300 [ 149.747504] [] do_group_exit+0x3d/0xe0 [ 149.747504] [] sys_exit_group+0x13/0×20 [ 149.747504] [] syscall_call+0x7/0xb ======== |
|
|
Hi, Java applications are not compatible with Micro instances yet. Take a look at this issue in the Ubuntu issue tracking https://bugs.launchpad.net/ubuntu/+source/linux… |

