cloud-init error apt-get lock during boot - amazon-ec2

I have the following issue running cloud-init
ip-10-211-207-121 login: [ 28.947931] cloud-init[1220]: Cloud-init v. 0.7.9 running 'modules:config' at Tue, 30 Jan 2018 15:48:57 +0000. Up 22.17 seconds.
[ 52.606593] cloud-init[1917]: Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease
[ 52.616075] cloud-init[1917]: Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
[ 52.621917] cloud-init[1917]: Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
[ 52.758989] cloud-init[1917]: Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
[ 52.985058] cloud-init[1917]: Ign:5 http://pkg.ci.collectd.org/deb trusty InRelease
[ 53.121861] cloud-init[1917]: Get:6 http://pkg.ci.collectd.org/deb trusty Release [14.6 kB]
[ 53.191618] cloud-init[1917]: Get:7 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main Sources [291 kB]
[ 53.246856] cloud-init[1917]: Get:8 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [2,524 B]
[ 53.258281] cloud-init[1917]: Get:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe Sources [189 kB]
[ 53.270040] cloud-init[1917]: Get:10 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [7,972 B]
[ 53.281092] cloud-init[1917]: Get:11 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [709 kB]
[ 53.319542] cloud-init[1917]: Get:12 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [294 kB]
[ 53.333740] cloud-init[1917]: Get:13 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [7,560 B]
[ 53.343177] cloud-init[1917]: Get:14 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2,272 B]
[ 53.353689] cloud-init[1917]: Get:15 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [580 kB]
[ 53.368355] cloud-init[1917]: Get:16 http://pkg.ci.collectd.org/deb trusty Release.gpg [819 B]
[ 54.330852] cloud-init[1917]: Get:17 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [234 kB]
[ 54.341774] cloud-init[1917]: Get:18 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [16.2 kB]
[ 54.355939] cloud-init[1917]: Get:19 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [8,052 B]
[ 54.379123] cloud-init[1917]: Get:20 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/main Sources [3,436 B]
[ 54.395653] cloud-init[1917]: Get:21 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe Sources [4,908 B]
[ 54.424343] cloud-init[1917]: Get:22 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [4,840 B]
[ 54.447970] cloud-init[1917]: Get:23 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [6,612 B]
[ 54.474048] cloud-init[1917]: Get:24 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [3,768 B]
[ 54.819851] cloud-init[1917]: Get:25 http://security.ubuntu.com/ubuntu xenial-security/main Sources [107 kB]
[ 55.196540] cloud-init[1917]: Get:26 http://security.ubuntu.com/ubuntu xenial-security/restricted Sources [2,116 B]
[ 55.207513] cloud-init[1917]: Get:27 http://pkg.ci.collectd.org/deb trusty/collectd-5.7 amd64 Packages [5,327 B]
[ 55.289297] cloud-init[1917]: Get:28 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [49.3 kB]
[ 55.316948] cloud-init[1917]: Get:29 https://download.newrelic.com/infrastructure_agent/linux/apt xenial InRelease [3,156 B]
[ 55.398244] cloud-init[1917]: Get:30 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [1,520 B]
[ 55.489024] cloud-init[1917]: Get:31 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [435 kB]
[ 55.565884] cloud-init[1917]: Get:32 https://download.newrelic.com/infrastructure_agent/linux/apt xenial/main amd64 Packages [1,594 B]
[ 55.844647] cloud-init[1917]: Get:33 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [189 kB]
[ 56.038779] cloud-init[1917]: Get:34 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [7,224 B]
[ 56.138713] cloud-init[1917]: Get:35 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en [2,152 B]
[[0;32m OK [0m] Started ACPI event daemon.
[ 56.224579] cloud-init[1917]: Get:36 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [200 kB]
[ 56.426848] cloud-init[1917]: Get:37 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [102 kB]
[ 56.605795] cloud-init[1917]: Get:38 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [3,208 B]
[ 56.701283] cloud-init[1917]: Get:39 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [1,408 B]
[[0;32m OK [0m] Stopped New Relic Infrastructure Agent.
[[0;32m OK [0m] Started New Relic Infrastructure Agent.
[ 69.776262] cloud-init[1917]: Fetched 3,797 kB in 4s (915 kB/s)
[ 73.386062] cloud-init[1917]: Reading package lists...
[ 73.605684] cloud-init[1917]: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
[ 73.616820] cloud-init[1917]: E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
[ 73.622886] cloud-init[1917]: Cloud-init v. 0.7.9 running 'modules:final' at Tue, 30 Jan 2018 15:49:26 +0000. Up 50.67 seconds.
[ 73.628548] cloud-init[1917]: 2018-01-30 15:49:49,728 - util.py[WARNING]: Failed to install packages: ['devscripts', 'debhelper', 'build-essential', 'dh-make', 'chrony']
[ 73.645252] cloud-init[1917]: 2018-01-30 15:49:49,762 - cc_package_update_upgrade_install.py[WARNING]: 1 failed with exceptions, re-raising the last one
[ 73.651402] cloud-init[1917]: 2018-01-30 15:49:49,762 - util.py[WARNING]: Running module package-update-upgrade-install (<module 'cloudinit.config.cc_package_update_upgrade_install' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_package_update_upgrade_install.py'>) failed
I've defined in my cloud-init file the following section:
packages:
- devscripts
- debhelper
- build-essential
- dh-make
- chrony
Any idea?

Related

AWS EC2 : Connection Timed Out - SSH

Unable to connect via SSH to my Amazon Linux AMI, However I am able to connect to other instance with same VPC, security group and key.
These are the system logs, appreciate any help on this.
> [ 0.000000] Linux version 4.14.101-75.76.amzn1.x86_64 (mockbuild#gobi-build-60003) (gcc version 7.2.1 20170915 (Red Hat
> 7.2.1-2) (GCC)) #1 SMP Tue Feb 19 18:14:51 UTC 2019
> [ 0.000000] Command line: root=LABEL=/ console=tty1 console=ttyS0 selinux=0 nvme_core.io_timeout=4294967295
> LANG=en_US.UTF-8 KEYTABLE=us
> [ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
> [ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
> [ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
> [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
> [ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format.
> [ 0.000000] e820: BIOS-provided physical RAM map:
> [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009dfff] usable
> [ 0.000000] BIOS-e820: [mem 0x000000000009e000-0x000000000009ffff] reserved
> [ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
> [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000003fffffff] usable
> [ 0.000000] BIOS-e820: [mem 0x00000000fc000000-0x00000000ffffffff] reserved
> [ 0.000000] NX (Execute Disable) protection: active
> [ 0.000000] SMBIOS 2.7 present.
> [ 0.000000] DMI: Xen HVM domU, BIOS 4.2.amazon 08/24/2006
> [ 0.000000] Hypervisor detected: Xen HVM
> [ 0.000000] Xen version 4.2.
> [ 0.000000] Netfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated NICs.
> [ 0.000000] Blkfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated disks.
> [ 0.000000] You might have to change the root device
> [ 0.000000] from /dev/hd[a-d] to /dev/xvd[a-d]
> [ 0.000000] in your root= kernel command line option
> [ 0.000000] tsc: Fast TSC calibration using PIT
> [ 0.000000] e820: last_pfn = 0x40000 max_arch_pfn = 0x400000000
> [ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WP UC- WT
> [ 0.000000] found SMP MP-table at [mem 0x000fbc50-0x000fbc5f] mapped at [ffffffffff240c50]
> [ 0.000000] RAMDISK: [mem 0x37088000-0x37feffff]
> [ 0.000000] ACPI: Early table checksum verification disabled
> [ 0.000000] ACPI: RSDP 0x00000000000EA020 000024 (v02 Xen )
> [ 0.000000] ACPI: XSDT 0x00000000FC00E2A0 000054 (v01 Xen HVM 00000000 HVML 00000000)
> [ 0.000000] ACPI: FACP 0x00000000FC00DF60 0000F4 (v04 Xen HVM 00000000 HVML 00000000)
> [ 0.000000] ACPI: DSDT 0x00000000FC0021C0 00BD19 (v02 Xen HVM 00000000 INTL 20090123)
> [ 0.000000] ACPI: FACS 0x00000000FC002180 000040
> [ 0.000000] ACPI: FACS 0x00000000FC002180 000040
> [ 0.000000] ACPI: APIC 0x00000000FC00E060 0000D8 (v02 Xen HVM 00000000 HVML 00000000)
> [ 0.000000] ACPI: HPET 0x00000000FC00E1B0 000038 (v01 Xen HVM 00000000 HVML 00000000)
> [ 0.000000] ACPI: WAET 0x00000000FC00E1F0 000028 (v01 Xen HVM 00000000 HVML 00000000)
> [ 0.000000] ACPI: SSDT 0x00000000FC00E220 000031 (v02 Xen HVM 00000000 INTL 20090123)
> [ 0.000000] ACPI: SSDT 0x00000000FC00E260 000033 (v02 Xen HVM 00000000 INTL 20090123)
> [ 0.000000] No NUMA configuration found
> [ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000003fffffff]
> [ 0.000000] NODE_DATA(0) allocated [mem 0x3ffde000-0x3fffffff]
> [ 0.000000] Zone ranges:
> [ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff]
> [ 0.000000] DMA32 [mem 0x0000000001000000-0x000000003fffffff]
> [ 0.000000] Normal empty
> [ 0.000000] Movable zone start for each node
> [ 0.000000] Early memory node ranges
> [ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009dfff]
> [ 0.000000] node 0: [mem 0x0000000000100000-0x000000003fffffff]
> [ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000003fffffff]
> [ 0.000000] ACPI: PM-Timer IO Port: 0xb008
> [ 0.000000] IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-47
> [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
> [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 low level)
> [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 low level)
> [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 low level)
> [ 0.000000] Using ACPI (MADT) for SMP configuration information
> [ 0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
> [ 0.000000] smpboot: Allowing 15 CPUs, 14 hotplug CPUs
> [ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
> [ 0.000000] PM: Registered nosave memory: [mem 0x0009e000-0x0009ffff]
> [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000dffff]
> [ 0.000000] PM: Registered nosave memory: [mem 0x000e0000-0x000fffff]
> [ 0.000000] e820: [mem 0x40000000-0xfbffffff] available for PCI devices
> [ 0.000000] Booting paravirtualized kernel on Xen HVM
> [ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
> [ 0.000000] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:15 nr_cpu_ids:15 nr_node_ids:1
> [ 0.000000] percpu: Embedded 44 pages/cpu #ffff88803e200000 s140120 r8192 d31912 u262144
> [ 0.000000] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes)
> [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 257928
> [ 0.000000] Policy zone: DMA32
> [ 0.000000] Kernel command line: root=LABEL=/ console=tty1 console=ttyS0 selinux=0 nvme_core.io_timeout=4294967295
> LANG=en_US.UTF-8 KEYTABLE=us
> [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
> [ 0.000000] Memory: 988264K/1048180K available (8204K kernel code, 1920K rwdata, 2768K rodata, 2044K init, 3876K bss, 59916K
> reserved, 0K cma-reserved)
> [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=15, Nodes=1
> [ 0.000000] Kernel/User page tables isolation: enabled
> [ 0.000000] ftrace: allocating 25766 entries in 101 pages
> [ 0.004000] Hierarchical RCU implementation.
> [ 0.004000] RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=15.
> [ 0.004000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=15
> [ 0.004000] NR_IRQS: 524544, nr_irqs: 952, preallocated irqs: 16
> [ 0.004000] xen:events: Using 2-level ABI
> [ 0.004000] xen:events: Xen HVM callback vector for event delivery is enabled
> [ 0.004000] Console: colour VGA+ 80x25
> [ 0.004000] console [tty1] enabled
> [ 0.004000] Cannot get hvm parameter CONSOLE_EVTCHN (18): -22!
> [ 0.004000] console [ttyS0] enabled
> [ 0.004000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 30580167144 ns
> [ 0.008000] tsc: Fast TSC calibration using PIT
> [ 0.024004] tsc: Detected 2400.059 MHz processor
> [ 0.028010] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.15 BogoMIPS (lpj=9600312)
> [ 0.040005] pid_max: default: 32768 minimum: 301
> [ 0.044020] ACPI: Core revision 20170728
> [ 0.059670] ACPI: 3 ACPI AML tables successfully acquired and loaded
> [ 0.068038] Security Framework initialized
> [ 0.076206] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
> [ 0.092100] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
> [ 0.112022] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
> [ 0.116007] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
> [ 0.120233] mce: CPU supports 2 MCE banks
> [ 0.124030] Last level iTLB entries: 4KB 1024, 2MB 1024, 4MB 1024
> [ 0.132003] Last level dTLB entries: 4KB 1024, 2MB 1024, 4MB 1024, 1GB 4
> [ 0.148005] Spectre V2 : Mitigation: Full generic retpoline
> [ 0.152004] Spectre V2 : Spectre v2 / SpectreRSB mitigation: Filling RSB on context switch
> [ 0.160004] Speculative Store Bypass: Vulnerable
> [ 0.173851] smpboot: Max logical packages: 15
> [ 0.176833] x2apic: IRQ remapping doesn't support X2APIC mode
> [ 0.184004] Switched APIC routing to physical flat.
> [ 0.190772] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
> [ 0.238435] clocksource: xen: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
> [ 0.244018] installing Xen timer for CPU 0
> [ 0.248079] smpboot: CPU0: Intel(R) Xeon(R) CPU E5-2676 v3 # 2.40GHz (family: 0x6, model: 0x3f, stepping: 0x2)
> [ 0.252050] cpu 0 spinlock event irq 53
> [ 0.256035] Performance Events: unsupported p6 CPU model 63 no PMU driver, software events only.
> [ 0.260056] Hierarchical SRCU implementation.
> [ 0.264304] NMI watchdog: Perf event create on CPU 0 failed with -2
> [ 0.268008] NMI watchdog: Perf NMI watchdog permanently disabled
> [ 0.272202] smp: Bringing up secondary CPUs ...
> [ 0.275796] smp: Brought up 1 node, 1 CPU
> [ 0.276011] smpboot: Total of 1 processors activated (4800.15 BogoMIPS)
> [ 0.280482] devtmpfs: initialized
> [ 0.283941] x86/mm: Memory block size: 128MB
> [ 0.284230] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
> [ 0.288031] futex hash table entries: 4096 (order: 6, 262144 bytes)
> [ 0.292282] NET: Registered protocol family 16
> [ 0.296242] cpuidle: using governor ladder
> [ 0.300010] cpuidle: using governor menu
> [ 0.304044] ACPI: bus type PCI registered
> [ 0.308007] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
> [ 0.312456] PCI: Using configuration type 1 for base access
> [ 0.318787] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
> [ 0.320217] ACPI: Added _OSI(Module Device)
> [ 0.324021] ACPI: Added _OSI(Processor Device)
> [ 0.328007] ACPI: Added _OSI(3.0 _SCP Extensions)
> [ 0.332006] ACPI: Added _OSI(Processor Aggregator Device)
> [ 0.339182] ACPI: Interpreter enabled
> [ 0.340021] ACPI: (supports S0 S4 S5)
> [ 0.343460] ACPI: Using IOAPIC for interrupt routing
> [ 0.344043] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
> [ 0.348445] ACPI: Enabled 2 GPEs in block 00 to 0F
> [ 0.412557] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
> [ 0.416018] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI]
> [ 0.420033] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
> [ 0.424030] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
> [ 0.429218] acpiphp: Slot [0] registered
> [ 0.433312] acpiphp: Slot [3] registered
> [ 0.436509] acpiphp: Slot [4] registered
> [ 0.440524] acpiphp: Slot [5] registered
> [ 0.444541] acpiphp: Slot [6] registered
> [ 0.448541] acpiphp: Slot [7] registered
> [ 0.452544] acpiphp: Slot [8] registered
> [ 0.458516] acpiphp: Slot [9] registered
> [ 0.460544] acpiphp: Slot [10] registered
> [ 0.464527] acpiphp: Slot [11] registered
> [ 0.468568] acpiphp: Slot [12] registered
> [ 0.472652] acpiphp: Slot [13] registered
> [ 0.476608] acpiphp: Slot [14] registered
> [ 0.480511] acpiphp: Slot [15] registered
> [ 0.484590] acpiphp: Slot [16] registered
> [ 0.489551] acpiphp: Slot [17] registered
> [ 0.492548] acpiphp: Slot [18] registered
> [ 0.496621] acpiphp: Slot [19] registered
> [ 0.500593] acpiphp: Slot [20] registered
> [ 0.504608] acpiphp: Slot [21] registered
> [ 0.508563] acpiphp: Slot [22] registered
> [ 0.512509] acpiphp: Slot [23] registered
> [ 0.516537] acpiphp: Slot [24] registered
> [ 0.520580] acpiphp: Slot [25] registered
> [ 0.524589] acpiphp: Slot [26] registered
> [ 0.528546] acpiphp: Slot [27] registered
> [ 0.532617] acpiphp: Slot [28] registered
> [ 0.536625] acpiphp: Slot [29] registered
> [ 0.540551] acpiphp: Slot [30] registered
> [ 0.544492] acpiphp: Slot [31] registered
> [ 0.548403] PCI host bridge to bus 0000:00
> [ 0.552006] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window]
> [ 0.556005] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window]
> [ 0.560005] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
> [ 0.564009] pci_bus 0000:00: root bus resource [mem 0xf0000000-0xfbffffff window]
> [ 0.568008] pci_bus 0000:00: root bus resource [bus 00-ff]
> [ 0.580994] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io 0x01f0-0x01f7]
> [ 0.584013] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io 0x03f6]
> [ 0.588009] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io 0x0170-0x0177]
> [ 0.592013] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io 0x0376]
> [ 0.597469] * Found PM-Timer Bug on the chipset. Due to workarounds for a bug,
> [ 0.597469] * this clock source is slow. Consider trying other clock sources
> [ 0.601963] pci 0000:00:01.3: quirk: [io 0xb000-0xb03f] claimed by PIIX4 ACPI
> [ 0.617879] ACPI: PCI Interrupt Link [LNKA] (IRQs *5 10 11)
> [ 0.620484] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
> [ 0.624308] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
> [ 0.628273] ACPI: PCI Interrupt Link [LNKD] (IRQs *5 10 11)
> [ 0.659090] xen:balloon: Initialising balloon driver
> [ 0.672470] pci 0000:00:02.0: vgaarb: setting as boot VGA device
> [ 0.676000] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
> [ 0.676028] pci 0000:00:02.0: vgaarb: bridge control possible
> [ 0.680005] vgaarb: loaded
> [ 0.684298] EDAC MC: Ver: 3.0.0
> [ 0.688228] PCI: Using ACPI for IRQ routing
> [ 0.692903] NetLabel: Initializing
> [ 0.696007] NetLabel: domain hash size = 128
> [ 0.700005] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
> [ 0.704026] NetLabel: unlabeled traffic allowed by default
> [ 0.708043] HPET: 3 timers in total, 0 timers will be used for per-cpu timer
> [ 0.712018] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
> [ 0.716006] hpet0: 3 comparators, 64-bit 62.500000 MHz counter
> [ 0.722208] clocksource: Switched to clocksource xen
> [ 0.732257] VFS: Disk quotas dquot_6.6.0
> [ 0.735847] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
> [ 0.741239] pnp: PnP ACPI init
> [ 0.743942] system 00:00: [mem 0x00000000-0x0009ffff] could not be reserved
> [ 0.749560] system 00:01: [io 0x08a0-0x08a3] has been reserved
> [ 0.755099] system 00:01: [io 0x0cc0-0x0ccf] has been reserved
> [ 0.759542] system 00:01: [io 0x04d0-0x04d1] has been reserved
> [ 0.765628] system 00:07: [io 0x10c0-0x1141] has been reserved
> [ 0.769988] system 00:07: [io 0xb044-0xb047] has been reserved
> [ 0.774201] random: fast init done
> [ 0.802572] pnp: PnP ACPI: found 8 devices
> [ 0.815571] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
> [ 0.823851] NET: Registered protocol family 2
> [ 0.828295] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
> [ 0.836223] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
> [ 0.842471] TCP: Hash tables configured (established 8192 bind 8192)
> [ 0.848377] UDP hash table entries: 512 (order: 2, 16384 bytes)
> [ 0.854312] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
> [ 0.865357] NET: Registered protocol family 1
> [ 0.870057] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
> [ 0.874521] pci 0000:00:01.0: PIIX3: Enabling Passive Release
> [ 0.880434] pci 0000:00:01.0: Activating ISA DMA hang workarounds
> [ 0.886961] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
> [ 0.900418] Unpacking initramfs...
> [ 1.140068] Freeing initrd memory: 15776K
> [ 1.144270] audit: initializing netlink subsys (disabled)
> [ 1.149487] Initialise system trusted keyrings
> [ 1.153120] random: get_random_bytes called from key_alloc+0x209/0x430 with crng_init=1
> [ 1.159656] Key type blacklist registered
> [ 1.164319] audit: type=2000 audit(1621604183.240:1): state=initialized audit_enabled=0 res=1
> [ 1.173559] workingset: timestamp_bits=36 max_order=18 bucket_order=0
> [ 1.181126] zbud: loaded
> [ 1.462923] Key type asymmetric registered
> [ 1.466712] Asymmetric key parser 'x509' registered
> [ 1.471526] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
> [ 1.478219] io scheduler noop registered (default)
> [ 1.482503] xen:grant_table: Grant tables using version 1 layout
> [ 1.488560] Grant table initialized
> [ 1.492864] Cannot get hvm parameter CONSOLE_EVTCHN (18): -22!
> [ 1.498136] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
> [ 1.532534] 00:06: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
> [ 1.539067] xen_netfront: Initialising Xen virtual ethernet driver
> [ 1.546587] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
> [ 1.557894] serio: i8042 KBD port at 0x60,0x64 irq 1
> [ 1.563616] serio: i8042 AUX port at 0x60,0x64 irq 12
> [ 1.569522] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
> [ 1.578461] rtc_cmos 00:02: rtc core: registered rtc_cmos as rtc0
> [ 1.584470] rtc_cmos 00:02: alarms up to one day, 114 bytes nvram, hpet irqs
> [ 1.591556] hidraw: raw HID events driver (C) Jiri Kosina
> [ 1.597392] NET: Registered protocol family 17
> [ 1.602551] sched_clock: Marking stable (1602191383, 0)->(2508005586, -905814203)
> [ 1.608985] registered taskstats version 1
> [ 1.613380] Loading compiled-in X.509 certificates
> [ 1.617465] zswap: loaded using pool lzo/zbud
> [ 1.724098] xenbus_probe_frontend: Device with no driver: device/vbd/768
> [ 1.733164] rtc_cmos 00:02: setting system clock to 2021-05-21 13:36:24 UTC (1621604184)
> [ 1.740878] Freeing unused kernel memory: 2044K
> [ 1.752090] Write protecting the kernel read-only data: 14336k
> [ 1.759007] Freeing unused kernel memory: 2016K
> [ 1.766675] Freeing unused kernel memory: 1328K
> [ 1.788444] device-mapper: uevent: version 1.0.3
> [ 1.794113] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel#redhat.com
> [ 1.808846] udevd[853]: starting version 173
> [ 1.859269] SCSI subsystem initialized
> [ 1.951311] scsi host0: ata_piix
> [ 1.964023] Invalid max_queues (4), will use default max: 1.
> [ 1.970827] scsi host1: ata_piix
> [ 1.973941] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc100 irq 14
> [ 1.979650] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc108 irq 15
> [ 2.011829] blkfront: xvda: barrier or flush: disabled; persistent grants: disabled; indirect descriptors: enabled;
> [ 2.026784] xvda: xvda1
> [ 2.144087] tsc: Refined TSC clocksource calibration: 2399.999 MHz
> [ 2.148782] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2298364cab5, max_idle_ns: 440795214892 ns
> growroot: NOCHANGE: disk=/dev/xvda partition=1: size=16773086, it cannot be grown
> [ 2.214915] EXT4-fs (xvda1): mounted filesystem with ordered data mode. Opts: (null)
> [ 2.224557] dracut: Remounting /dev/disk/by-label/\x2f with -o noatime,nofail,ro
> [ 2.232584] EXT4-fs (xvda1): mounted filesystem with ordered data mode. Opts: (null)
> [ 2.240125] dracut: Mounted root filesystem /dev/xvda1
> [ 2.273312] dracut: Switching root
> [ 2.321659] random: init: uninitialized urandom read (12 bytes read)
> image_name="amzn-ami-hvm"
> image_version="2018.03"
> image_arch="x86_64"
> image_file="amzn-ami-hvm-2018.03.0.20180811-x86_64.ext4.gpt"
> image_stamp="cc81-f2f3"
> image_date="20180811012746"
> recipe_name="amzn ami"
> recipe_id="5b283820-dc60-a7ea-d436-39fa-439f-02ea-5c802dbd"
> Welcome to Amazon Linux AMI
> Starting udev: [ 2.454862] udevd[1570]: starting version 173
> [ 2.518886] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
> [ 2.543884] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input4
> [ 2.611788] ACPI: Power Button [PWRF]
> [ 2.615632] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input5
> [ 2.669689] ACPI: Sleep Button [SLPF]
> [ 2.678057] mousedev: PS/2 mouse device common for all mice
> [ OK ]
>
>
Setting hostname localhost.localdomain: [ OK ]
Setting up Logical Volume Management: [ 3.718097] random: lvm: uninitialized urandom read (4 bytes read)
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
[ OK ]
Checking filesystems
Checking all file systems.
[ OK ]
Remounting root filesystem in read-write mode: [ 3.759745] EXT4-fs (xvda1): re-mounted. Opts: (null)
[ OK ]
Mounting local filesystems: [ OK ]
Enabling local filesystem quotas: [ OK ]
[ 3.791456] random: dd: uninitialized urandom read (4096 bytes read)
Enabling /etc/fstab swaps: [ OK ]
Entering non-interactive startup
Starting LVM metadata daemon: [ OK ]
Starting LVM poll daemon: [ OK ]
[ 3.924597] random: vgs: uninitialized urandom read (4 bytes read)
[ 4.010580] NET: Registered protocol family 10
[ 4.018195] Segment Routing with IPv6
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:
Determining IP information for eth0... done.
Determining IPv6 information for eth0... done.
[ OK ]
Starting auditd: [ OK ]
Starting system logger: [ OK ]
Starting irqbalance: [ OK ]
Starting rngd: [ 5.871299] urandom_read: 1 callbacks suppressed
[ 5.871300] random: rngd: uninitialized urandom read (16 bytes read)
Unable to open file: /dev/hwrng
[ OK ]
[ 5.910283] random: crng init done
Starting rpcbind: [ OK ]
Starting NFS statd: [ OK ]
Starting system message bus: [ OK ]
Mounting filesystems: [ OK ]
Starting acpi daemon: [ OK ]
Retrigger failed udev events--type=failed is deprecated and will be removed from a future udev release.
[ OK ]
Starting cloud-init: Cloud-init v. 0.7.6 running 'init-local' at Fri, 21 May 2021 13:36:29 +0000. Up 6.53 seconds.
Starting cloud-init: Cloud-init v. 0.7.6 running 'init' at Fri, 21 May 2021 13:36:29 +0000. Up 6.73 seconds.
ci-info: +++++++++++++++++++++++Net device info++++++++++++++++++++++++
ci-info: Device Up Address Mask Hw-Address
ci-info: lo True 127.0.0.1 255.0.0.0 .
ci-info: eth0 True 172.31.10.11 255.255.240.0 0a:3b:55:e4:8b:7e
ci-info: ++++++++++++++++++++++++++++++Route info+++++++++++++++++++++++++++++++
ci-info: Route Destination Gateway Genmask Interface Flags
ci-info: 0 0.0.0.0 172.31.0.1 0.0.0.0 eth0 UG
ci-info: 1 169.254.169.254 0.0.0.0 255.255.255.255 eth0 UH
ci-info: 2 172.31.0.0 0.0.0.0 255.255.240.0 eth0 U
May 21 13:36:29 cloud-init[2433]: __init__.py[WARNING]: Unhandled non-multipart (text/x-not-multipart) userdata: 'sudo yum install -y
http...'
Starting cloud-init: Cloud-init v. 0.7.6 running 'modules:config' at Fri, 21 May 2021 13:36:30 +0000. Up 7.43 seconds.
Starting sshd: [ OK ]
Starting ntpd: [ OK ]
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]
Starting httpd: [ OK ]
Starting mongod: [ OK ]
My issue was resolved. Please follow below post to check procedure that was followed. Hope it helps someone else as well.
https://stackoverflow.com/a/67648386/3224357

Install CentOS Web Panel (CWP) on CentOS 8

This is a fresh install of CentOS 8 on a dedicated server with dual Xenon (20 cores) and 24GB of RAM. There are no other things installed, so CWP is the first thing to go on there. There are a couple of bugs with the install that we need to resolve to get CWP to install on CentOS 8.
# sh cwp-el7-latest
CentOS Web Panel repo for Linux 7 - x86_64 10 kB/s | 2.9 kB 00:00
MariaDB 2.6 kB/s | 2.9 kB 00:01
Package epel-release-8-7.el8.noarch is already installed.
Package wget-1.19.5-7.el8_0.1.x86_64 is already installed.
Package screen-4.6.2-10.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
dnf makecache: error: argument timer: invalid choice: 'fast' (choose from 'timer')
Last metadata expiration check: 0:00:01 ago on Sat 23 Nov 2019 03:22:59 PM EST.
No match for argument: MariaDB
* Maybe you meant: mariadb
No match for argument: MariaDB-server
* Maybe you meant: mariadb-server
Error: Unable to find a match
Last metadata expiration check: 0:00:02 ago on Sat 23 Nov 2019 03:22:59 PM EST.
No match for argument: cpulimit
No match for argument: links
Error: Unable to find a match
Last metadata expiration check: 0:00:02 ago on Sat 23 Nov 2019 03:22:59 PM EST.
... (already installed items)
No match for argument: perl-Crypt-SSLeay
Error: Unable to find a match
No match for argument: exim
No match for argument: sendmail
Dependencies resolved.
...
Complete!
Last metadata expiration check: 0:00:27 ago on Sat 23 Nov 2019 03:22:59 PM EST.
No match for argument: dovecot-pigeonhole
Error: Unable to find a match
cwp-el7-latest: line 158: mysql: command not found
cwp-el7-latest: line 159: mysql: command not found
PREPARING THE SERVER
##########################
setenforce: SELinux is disabled
#############################################
Please wait... installing web server files...
#############################################
Last metadata expiration check: 0:00:48 ago on Sat 23 Nov 2019 03:22:59 PM EST.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
cwp-httpd x86_64 2.4.39-3 cwp 5.5 M
apr-util x86_64 1.6.0-1 cwp 103 k
apr x86_64 1.6.2-1 cwp 228 k
Installing dependencies:
compat-openssl10 x86_64 1:1.0.2o-3.el8 AppStream 1.1 M
dwz x86_64 0.12-9.el8 AppStream 109 k
efi-srpm-macros noarch 3-2.el8 AppStream 22 k
ghc-srpm-macros noarch 1.4.2-7.el8 AppStream 9.3 k
go-srpm-macros noarch 2-16.el8 AppStream 14 k
libpq x86_64 10.5-1.el8 AppStream 188 k
ocaml-srpm-macros noarch 5-4.el8 AppStream 9.4 k
openblas-srpm-macros noarch 2-2.el8 AppStream 7.9 k
perl x86_64 4:5.26.3-416.el8 AppStream 72 k
perl-Algorithm-Diff noarch 1.1903-9.el8 AppStream 52 k
perl-Archive-Tar noarch 2.30-1.el8 AppStream 79 k
perl-Archive-Zip noarch 1.60-3.el8 AppStream 108 k
perl-Attribute-Handlers noarch 0.99-416.el8 AppStream 88 k
perl-B-Debug noarch 1.26-2.el8 AppStream 26 k
perl-CPAN noarch 2.18-397.el8 AppStream 554 k
perl-CPAN-Meta noarch 2.150010-396.el8 AppStream 191 k
perl-CPAN-Meta-Requirements noarch 2.140-396.el8 AppStream 37 k
perl-CPAN-Meta-YAML noarch 0.018-397.el8 AppStream 34 k
perl-Compress-Bzip2 x86_64 2.26-6.el8 AppStream 72 k
perl-Compress-Raw-Bzip2 x86_64 2.081-1.el8 AppStream 40 k
perl-Compress-Raw-Zlib x86_64 2.081-1.el8 AppStream 68 k
perl-Config-Perl-V noarch 0.30-1.el8 AppStream 22 k
perl-DB_File x86_64 1.842-1.el8 AppStream 83 k
perl-Data-OptList noarch 0.110-6.el8 AppStream 31 k
perl-Data-Section noarch 0.200007-3.el8 AppStream 30 k
perl-Devel-PPPort x86_64 3.36-5.el8 AppStream 118 k
perl-Devel-Peek x86_64 1.26-416.el8 AppStream 93 k
perl-Devel-SelfStubber noarch 1.06-416.el8 AppStream 75 k
perl-Devel-Size x86_64 0.81-2.el8 AppStream 34 k
perl-Digest noarch 1.17-395.el8 AppStream 27 k
perl-Digest-MD5 x86_64 2.55-396.el8 AppStream 37 k
perl-Digest-SHA x86_64 1:6.02-1.el8 AppStream 66 k
perl-Encode-devel x86_64 4:2.97-3.el8 AppStream 39 k
perl-Env noarch 1.04-395.el8 AppStream 21 k
perl-ExtUtils-CBuilder noarch 1:0.280230-2.el8 AppStream 48 k
perl-ExtUtils-Command noarch 1:7.34-1.el8 AppStream 19 k
perl-ExtUtils-Embed noarch 1.34-416.el8 AppStream 79 k
perl-ExtUtils-Install noarch 2.14-4.el8 AppStream 46 k
perl-ExtUtils-MM-Utils noarch 1:7.34-1.el8 AppStream 17 k
perl-ExtUtils-MakeMaker noarch 1:7.34-1.el8 AppStream 300 k
perl-ExtUtils-Manifest noarch 1.70-395.el8 AppStream 37 k
perl-ExtUtils-Miniperl noarch 1.06-416.el8 AppStream 76 k
perl-ExtUtils-ParseXS noarch 1:3.35-2.el8 AppStream 83 k
perl-File-Fetch noarch 0.56-2.el8 AppStream 33 k
perl-File-HomeDir noarch 1.002-4.el8 AppStream 61 k
perl-File-Which noarch 1.22-2.el8 AppStream 23 k
perl-Filter x86_64 2:1.58-2.el8 AppStream 82 k
perl-Filter-Simple noarch 0.94-2.el8 AppStream 29 k
perl-IO-Compress noarch 2.081-1.el8 AppStream 258 k
perl-IO-Socket-IP noarch 0.39-5.el8 AppStream 47 k
perl-IO-Zlib noarch 1:1.10-416.el8 AppStream 80 k
perl-IPC-Cmd noarch 2:1.02-1.el8 AppStream 43 k
perl-IPC-SysV x86_64 2.07-397.el8 AppStream 43 k
perl-IPC-System-Simple noarch 1.25-17.el8 AppStream 43 k
perl-JSON-PP noarch 1:2.97.001-3.el8 AppStream 68 k
perl-Locale-Codes noarch 3.57-1.el8 AppStream 311 k
perl-Locale-Maketext noarch 1.28-396.el8 AppStream 99 k
perl-Locale-Maketext-Simple noarch 1:0.21-416.el8 AppStream 78 k
perl-MRO-Compat noarch 0.13-4.el8 AppStream 24 k
perl-Math-BigInt-FastCalc x86_64 0.500.600-6.el8 AppStream 27 k
perl-Math-BigRat noarch 0.2614-1.el8 AppStream 40 k
perl-Memoize noarch 1.03-416.el8 AppStream 118 k
perl-Module-Build noarch 2:0.42.24-5.el8 AppStream 273 k
perl-Module-CoreList noarch 1:5.20181130-1.el8 AppStream 87 k
perl-Module-CoreList-tools noarch 1:5.20181130-1.el8 AppStream 22 k
perl-Module-Load noarch 1:0.32-395.el8 AppStream 19 k
perl-Module-Load-Conditional noarch 0.68-395.el8 AppStream 24 k
perl-Module-Loaded noarch 1:0.08-416.el8 AppStream 74 k
perl-Module-Metadata noarch 1.000033-395.el8 AppStream 44 k
perl-Net-Ping noarch 2.55-416.el8 AppStream 101 k
perl-Net-SSLeay x86_64 1.85-6.el8 AppStream 358 k
perl-Package-Generator noarch 1.106-11.el8 AppStream 27 k
perl-Params-Check noarch 1:0.38-395.el8 AppStream 24 k
perl-Params-Util x86_64 1.07-22.el8 AppStream 44 k
perl-Perl-OSType noarch 1.010-396.el8 AppStream 29 k
perl-PerlIO-via-QuotedPrint noarch 0.08-395.el8 AppStream 13 k
perl-Pod-Checker noarch 4:1.73-395.el8 AppStream 33 k
perl-Pod-Html noarch 1.22.02-416.el8 AppStream 87 k
perl-Pod-Parser noarch 1.63-396.el8 AppStream 108 k
perl-SelfLoader noarch 1.23-416.el8 AppStream 82 k
perl-Software-License noarch 0.103013-2.el8 AppStream 138 k
perl-Sub-Exporter noarch 0.987-15.el8 AppStream 73 k
perl-Sub-Install noarch 0.928-14.el8 AppStream 27 k
perl-Sys-Syslog x86_64 0.35-397.el8 AppStream 50 k
perl-Test noarch 1.30-416.el8 AppStream 89 k
perl-Test-Harness noarch 1:3.42-1.el8 AppStream 279 k
perl-Test-Simple noarch 1:1.302135-1.el8 AppStream 516 k
perl-Text-Balanced noarch 2.03-395.el8 AppStream 58 k
perl-Text-Diff noarch 1.45-2.el8 AppStream 45 k
perl-Text-Glob noarch 0.11-4.el8 AppStream 17 k
perl-Text-Template noarch 1.51-1.el8 AppStream 64 k
perl-Thread-Queue noarch 3.13-1.el8 AppStream 24 k
perl-Time-HiRes x86_64 1.9758-1.el8 AppStream 61 k
perl-Time-Piece x86_64 1.31-416.el8 AppStream 98 k
perl-URI noarch 1.73-3.el8 AppStream 116 k
perl-Unicode-Collate x86_64 1.25-2.el8 AppStream 686 k
perl-autodie noarch 2.29-396.el8 AppStream 98 k
perl-bignum noarch 0.49-2.el8 AppStream 44 k
perl-devel x86_64 4:5.26.3-416.el8 AppStream 599 k
perl-encoding x86_64 4:2.22-3.el8 AppStream 68 k
perl-experimental noarch 0.019-2.el8 AppStream 24 k
perl-inc-latest noarch 2:0.500-9.el8 AppStream 25 k
perl-libnet noarch 3.11-3.el8 AppStream 121 k
perl-libnetcfg noarch 4:5.26.3-416.el8 AppStream 77 k
perl-local-lib noarch 2.000024-2.el8 AppStream 74 k
perl-open noarch 1.11-416.el8 AppStream 77 k
perl-perlfaq noarch 5.20180605-1.el8 AppStream 386 k
perl-srpm-macros noarch 1-25.el8 AppStream 11 k
perl-utils noarch 5.26.3-416.el8 AppStream 128 k
perl-version x86_64 6:0.99.24-1.el8 AppStream 67 k
python-srpm-macros noarch 3-37.el8 AppStream 14 k
python3-rpm-macros noarch 3-37.el8 AppStream 13 k
qt5-srpm-macros noarch 5.11.1-2.el8 AppStream 11 k
redhat-rpm-config noarch 116-1.el8.0.1 AppStream 82 k
rust-srpm-macros noarch 5-2.el8 AppStream 9.2 k
systemtap-sdt-devel x86_64 4.0-7.el8 AppStream 79 k
make x86_64 1:4.2.1-9.el8 BaseOS 498 k
perl-Carp noarch 1.42-396.el8 BaseOS 30 k
perl-Data-Dumper x86_64 2.167-399.el8 BaseOS 58 k
perl-Encode x86_64 4:2.97-3.el8 BaseOS 1.5 M
perl-Errno x86_64 1.28-416.el8 BaseOS 76 k
perl-Exporter noarch 5.72-396.el8 BaseOS 34 k
perl-File-Path noarch 2.15-2.el8 BaseOS 38 k
perl-File-Temp noarch 0.230.600-1.el8 BaseOS 63 k
perl-Getopt-Long noarch 1:2.50-4.el8 BaseOS 63 k
perl-HTTP-Tiny noarch 0.074-1.el8 BaseOS 58 k
perl-IO x86_64 1.38-416.el8 BaseOS 141 k
perl-MIME-Base64 x86_64 3.15-396.el8 BaseOS 31 k
perl-Math-BigInt noarch 1:1.9998.11-5.el8 BaseOS 195 k
perl-Math-Complex noarch 1.59-416.el8 BaseOS 108 k
perl-PathTools x86_64 3.74-1.el8 BaseOS 90 k
perl-Pod-Escapes noarch 1:1.07-395.el8 BaseOS 20 k
perl-Pod-Perldoc noarch 3.28-396.el8 BaseOS 86 k
perl-Pod-Simple noarch 1:3.35-395.el8 BaseOS 213 k
perl-Pod-Usage noarch 4:1.69-395.el8 BaseOS 34 k
perl-Scalar-List-Utils x86_64 3:1.49-2.el8 BaseOS 68 k
perl-Socket x86_64 4:2.027-2.el8 BaseOS 59 k
perl-Storable x86_64 1:3.11-3.el8 BaseOS 98 k
perl-Term-ANSIColor noarch 4.06-396.el8 BaseOS 46 k
perl-Term-Cap noarch 1.17-395.el8 BaseOS 23 k
perl-Text-ParseWords noarch 3.30-395.el8 BaseOS 18 k
perl-Text-Tabs+Wrap noarch 2013.0523-395.el8 BaseOS 24 k
perl-Time-Local noarch 1:1.280-1.el8 BaseOS 34 k
perl-Unicode-Normalize x86_64 1.25-396.el8 BaseOS 82 k
perl-constant noarch 1.33-396.el8 BaseOS 25 k
perl-interpreter x86_64 4:5.26.3-416.el8 BaseOS 6.3 M
perl-libs x86_64 4:5.26.3-416.el8 BaseOS 1.6 M
perl-macros x86_64 4:5.26.3-416.el8 BaseOS 72 k
perl-parent noarch 1:0.237-1.el8 BaseOS 20 k
perl-podlators noarch 4.11-1.el8 BaseOS 118 k
perl-threads x86_64 1:2.21-2.el8 BaseOS 61 k
perl-threads-shared x86_64 1.58-2.el8 BaseOS 48 k
python3-pyparsing noarch 2.1.10-7.el8 BaseOS 142 k
Installing weak dependencies:
perl-Encode-Locale noarch 1.05-9.el8 AppStream 21 k
perl-IO-Socket-SSL noarch 2.060-2.el8 AppStream 289 k
perl-Mozilla-CA noarch 20160104-7.el8 AppStream 15 k
perl-TermReadKey x86_64 2.37-7.el8 AppStream 40 k
Transaction Summary
================================================================================
Install 160 Packages
Total download size: 30 M
Installed size: 95 M
Downloading Packages:
(1/160): apr-util-1.6.0-1.x86_64.rpm 148 kB/s | 103 kB 00:00
... (removed for space limitations on stackoverflow)
(160/160): perl-interpreter-5.26.3-416.el8.x86_ 7.6 MB/s | 6.3 MB 00:00
--------------------------------------------------------------------------------
Total 5.6 MB/s | 30 MB 00:05
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : perl-Exporter-5.72-396.el8.noarch 1/160
... (removed for space limitations on stackoverflow)
Installing : perl-4:5.26.3-416.el8.x86_64 159/160
Running scriptlet: cwp-httpd-2.4.39-3.x86_64 160/160
Installing : cwp-httpd-2.4.39-3.x86_64 160/160
Running scriptlet: cwp-httpd-2.4.39-3.x86_64 160/160
Verifying : cwp-httpd-2.4.39-3.x86_64 1/160
... (removed for space limitations on stackoverflow)
Verifying : python3-pyparsing-2.1.10-7.el8.noarch 160/160
Installed:
cwp-httpd-2.4.39-3.x86_64
apr-util-1.6.0-1.x86_64
apr-1.6.2-1.x86_64
perl-Encode-Locale-1.05-9.el8.noarch
perl-IO-Socket-SSL-2.060-2.el8.noarch
perl-Mozilla-CA-20160104-7.el8.noarch
perl-TermReadKey-2.37-7.el8.x86_64
compat-openssl10-1:1.0.2o-3.el8.x86_64
dwz-0.12-9.el8.x86_64
efi-srpm-macros-3-2.el8.noarch
ghc-srpm-macros-1.4.2-7.el8.noarch
go-srpm-macros-2-16.el8.noarch
libpq-10.5-1.el8.x86_64
ocaml-srpm-macros-5-4.el8.noarch
openblas-srpm-macros-2-2.el8.noarch
perl-4:5.26.3-416.el8.x86_64
perl-Algorithm-Diff-1.1903-9.el8.noarch
perl-Archive-Tar-2.30-1.el8.noarch
perl-Archive-Zip-1.60-3.el8.noarch
perl-Attribute-Handlers-0.99-416.el8.noarch
perl-B-Debug-1.26-2.el8.noarch
perl-CPAN-2.18-397.el8.noarch
perl-CPAN-Meta-2.150010-396.el8.noarch
perl-CPAN-Meta-Requirements-2.140-396.el8.noarch
perl-CPAN-Meta-YAML-0.018-397.el8.noarch
perl-Compress-Bzip2-2.26-6.el8.x86_64
perl-Compress-Raw-Bzip2-2.081-1.el8.x86_64
perl-Compress-Raw-Zlib-2.081-1.el8.x86_64
perl-Config-Perl-V-0.30-1.el8.noarch
perl-DB_File-1.842-1.el8.x86_64
perl-Data-OptList-0.110-6.el8.noarch
perl-Data-Section-0.200007-3.el8.noarch
perl-Devel-PPPort-3.36-5.el8.x86_64
perl-Devel-Peek-1.26-416.el8.x86_64
perl-Devel-SelfStubber-1.06-416.el8.noarch
perl-Devel-Size-0.81-2.el8.x86_64
perl-Digest-1.17-395.el8.noarch
perl-Digest-MD5-2.55-396.el8.x86_64
perl-Digest-SHA-1:6.02-1.el8.x86_64
perl-Encode-devel-4:2.97-3.el8.x86_64
perl-Env-1.04-395.el8.noarch
perl-ExtUtils-CBuilder-1:0.280230-2.el8.noarch
perl-ExtUtils-Command-1:7.34-1.el8.noarch
perl-ExtUtils-Embed-1.34-416.el8.noarch
perl-ExtUtils-Install-2.14-4.el8.noarch
perl-ExtUtils-MM-Utils-1:7.34-1.el8.noarch
perl-ExtUtils-MakeMaker-1:7.34-1.el8.noarch
perl-ExtUtils-Manifest-1.70-395.el8.noarch
perl-ExtUtils-Miniperl-1.06-416.el8.noarch
perl-ExtUtils-ParseXS-1:3.35-2.el8.noarch
perl-File-Fetch-0.56-2.el8.noarch
perl-File-HomeDir-1.002-4.el8.noarch
perl-File-Which-1.22-2.el8.noarch
perl-Filter-2:1.58-2.el8.x86_64
perl-Filter-Simple-0.94-2.el8.noarch
perl-IO-Compress-2.081-1.el8.noarch
perl-IO-Socket-IP-0.39-5.el8.noarch
perl-IO-Zlib-1:1.10-416.el8.noarch
perl-IPC-Cmd-2:1.02-1.el8.noarch
perl-IPC-SysV-2.07-397.el8.x86_64
perl-IPC-System-Simple-1.25-17.el8.noarch
perl-JSON-PP-1:2.97.001-3.el8.noarch
perl-Locale-Codes-3.57-1.el8.noarch
perl-Locale-Maketext-1.28-396.el8.noarch
perl-Locale-Maketext-Simple-1:0.21-416.el8.noarch
perl-MRO-Compat-0.13-4.el8.noarch
perl-Math-BigInt-FastCalc-0.500.600-6.el8.x86_64
perl-Math-BigRat-0.2614-1.el8.noarch
perl-Memoize-1.03-416.el8.noarch
perl-Module-Build-2:0.42.24-5.el8.noarch
perl-Module-CoreList-1:5.20181130-1.el8.noarch
perl-Module-CoreList-tools-1:5.20181130-1.el8.noarch
perl-Module-Load-1:0.32-395.el8.noarch
perl-Module-Load-Conditional-0.68-395.el8.noarch
perl-Module-Loaded-1:0.08-416.el8.noarch
perl-Module-Metadata-1.000033-395.el8.noarch
perl-Net-Ping-2.55-416.el8.noarch
perl-Net-SSLeay-1.85-6.el8.x86_64
perl-Package-Generator-1.106-11.el8.noarch
perl-Params-Check-1:0.38-395.el8.noarch
perl-Params-Util-1.07-22.el8.x86_64
perl-Perl-OSType-1.010-396.el8.noarch
perl-PerlIO-via-QuotedPrint-0.08-395.el8.noarch
perl-Pod-Checker-4:1.73-395.el8.noarch
perl-Pod-Html-1.22.02-416.el8.noarch
perl-Pod-Parser-1.63-396.el8.noarch
perl-SelfLoader-1.23-416.el8.noarch
perl-Software-License-0.103013-2.el8.noarch
perl-Sub-Exporter-0.987-15.el8.noarch
perl-Sub-Install-0.928-14.el8.noarch
perl-Sys-Syslog-0.35-397.el8.x86_64
perl-Test-1.30-416.el8.noarch
perl-Test-Harness-1:3.42-1.el8.noarch
perl-Test-Simple-1:1.302135-1.el8.noarch
perl-Text-Balanced-2.03-395.el8.noarch
perl-Text-Diff-1.45-2.el8.noarch
perl-Text-Glob-0.11-4.el8.noarch
perl-Text-Template-1.51-1.el8.noarch
perl-Thread-Queue-3.13-1.el8.noarch
perl-Time-HiRes-1.9758-1.el8.x86_64
perl-Time-Piece-1.31-416.el8.x86_64
perl-URI-1.73-3.el8.noarch
perl-Unicode-Collate-1.25-2.el8.x86_64
perl-autodie-2.29-396.el8.noarch
perl-bignum-0.49-2.el8.noarch
perl-devel-4:5.26.3-416.el8.x86_64
perl-encoding-4:2.22-3.el8.x86_64
perl-experimental-0.019-2.el8.noarch
perl-inc-latest-2:0.500-9.el8.noarch
perl-libnet-3.11-3.el8.noarch
perl-libnetcfg-4:5.26.3-416.el8.noarch
perl-local-lib-2.000024-2.el8.noarch
perl-open-1.11-416.el8.noarch
perl-perlfaq-5.20180605-1.el8.noarch
perl-srpm-macros-1-25.el8.noarch
perl-utils-5.26.3-416.el8.noarch
perl-version-6:0.99.24-1.el8.x86_64
python-srpm-macros-3-37.el8.noarch
python3-rpm-macros-3-37.el8.noarch
qt5-srpm-macros-5.11.1-2.el8.noarch
redhat-rpm-config-116-1.el8.0.1.noarch
rust-srpm-macros-5-2.el8.noarch
systemtap-sdt-devel-4.0-7.el8.x86_64
make-1:4.2.1-9.el8.x86_64
perl-Carp-1.42-396.el8.noarch
perl-Data-Dumper-2.167-399.el8.x86_64
perl-Encode-4:2.97-3.el8.x86_64
perl-Errno-1.28-416.el8.x86_64
perl-Exporter-5.72-396.el8.noarch
perl-File-Path-2.15-2.el8.noarch
perl-File-Temp-0.230.600-1.el8.noarch
perl-Getopt-Long-1:2.50-4.el8.noarch
perl-HTTP-Tiny-0.074-1.el8.noarch
perl-IO-1.38-416.el8.x86_64
perl-MIME-Base64-3.15-396.el8.x86_64
perl-Math-BigInt-1:1.9998.11-5.el8.noarch
perl-Math-Complex-1.59-416.el8.noarch
perl-PathTools-3.74-1.el8.x86_64
perl-Pod-Escapes-1:1.07-395.el8.noarch
perl-Pod-Perldoc-3.28-396.el8.noarch
perl-Pod-Simple-1:3.35-395.el8.noarch
perl-Pod-Usage-4:1.69-395.el8.noarch
perl-Scalar-List-Utils-3:1.49-2.el8.x86_64
perl-Socket-4:2.027-2.el8.x86_64
perl-Storable-1:3.11-3.el8.x86_64
perl-Term-ANSIColor-4.06-396.el8.noarch
perl-Term-Cap-1.17-395.el8.noarch
perl-Text-ParseWords-3.30-395.el8.noarch
perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch
perl-Time-Local-1:1.280-1.el8.noarch
perl-Unicode-Normalize-1.25-396.el8.x86_64
perl-constant-1.33-396.el8.noarch
perl-interpreter-4:5.26.3-416.el8.x86_64
perl-libs-4:5.26.3-416.el8.x86_64
perl-macros-4:5.26.3-416.el8.x86_64
perl-parent-1:0.237-1.el8.noarch
perl-podlators-4.11-1.el8.noarch
perl-threads-1:2.21-2.el8.x86_64
perl-threads-shared-1.58-2.el8.x86_64
python3-pyparsing-2.1.10-7.el8.noarch
Complete!
Last metadata expiration check: 0:01:19 ago on Sat 23 Nov 2019 03:22:59 PM EST.
Package cwp-suphp-0.7.2-3.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
#############################################
Please wait... Installing PHP ...
#############################################
Last metadata expiration check: 0:01:20 ago on Sat 23 Nov 2019 03:22:59 PM EST.
Error:
Problem: cannot install the best candidate for the job
- nothing provides libpng15.so.15()(64bit) needed by cwp-php-5.6.37-1.x86_64
- nothing provides libpng15.so.15(PNG15_0)(64bit) needed by cwp-php-5.6.37-1.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Compiler requires 512 MB RAM + SWAP
Installation FAILED at php
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 899 100 899 0 0 1872 0 --:--:-- --:--:-- --:--:-- 1869
sh: line 36: mysql: command not found
sh: line 46: /usr/local/bin/php: No such file or directory
grep: /etc/init.d/httpd: No such file or directory
Received
#
In order to try to resolve the errors, which seem to be primarily this:
Error:
Problem: cannot install the best candidate for the job
- nothing provides libpng15.so.15()(64bit) needed by cwp-php-5.6.37-1.x86_64
- nothing provides libpng15.so.15(PNG15_0)(64bit) needed by cwp-php-5.6.37-1.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Compiler requires 512 MB RAM + SWAP
Installation FAILED at php
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 899 100 899 0 0 1872 0 --:--:-- --:--:-- --:--:-- 1869
sh: line 36: mysql: command not found
sh: line 46: /usr/local/bin/php: No such file or directory
grep: /etc/init.d/httpd: No such file or directory
Firstly, I tried to install php manually, and was able to successfully do so with yum install php. However, the installer still proceeded with the identical problem, nothing changed.
The preceeding errors like nothing provides libpng15.so.15()(64bit) I tried to resolve by manually installing libpng, but it seems that libpng is already installed.
# yum install libpng
Last metadata expiration check: 0:06:35 ago on Sat 23 Nov 2019 03:26:25 PM EST.
Package libpng-2:1.6.34-5.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
However, it's possibly because libpng15 as asked for by cwp is an older package. See https://pkgs.org/download/libpng15.so.15()(64bit), which I found the rpm for CentOS at https://centos.pkgs.org/7/centos-x86_64/libpng-1.5.13-7.el7_2.x86_64.rpm.html
An attempt to install libpng15 from the rpm (since it can't be found with yum install libpng15), results in another error:
c# rpm -ivh http://mirror.centos.org/centos/7/os/x86_64/Packages/libpng-1.5.13-7.el7_2.x86_64.rpm
Retrieving http://mirror.centos.org/centos/7/os/x86_64/Packages/libpng-1.5.13-7.el7_2.x86_64.rpm
warning: /var/tmp/rpm-tmp.lWZHpk: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Verifying... ################################# [100%]
Preparing... ################################# [100%]
package libpng-2:1.6.34-5.el8.x86_64 (which is newer than libpng-2:1.5.13-7.el7_2.x86_64) is already installed
file /usr/share/man/man5/png.5.gz from install of libpng-2:1.5.13-7.el7_2.x86_64 conflicts with file from package libpng-2:1.6.34-5.el8.x86_64
It seems that libpng16 is already installed, so libpng15 can't be installed with libpng16 installed.
The error, Compiler requires 512 MB RAM + SWAP doesn't make sense, since I have 24GB of RAM.
Here is my setup:
# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 2.0G 18M 2.0G 1% /run
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/mapper/cl-root 13G 1.9G 11G 15% /
/dev/mapper/cl-tmp 5.5G 72M 5.4G 2% /tmp
/dev/mapper/cl-home 199G 1.5G 198G 1% /home
/dev/sda1 2.0G 182M 1.7G 10% /boot
tmpfs 3.2G 0 3.2G 0% /run/user/0
The error sh: line 36: mysql: command not found comes from the fact that I can't seem to get mysql installed due to MariaDB conflict.
The error grep: /etc/init.d/httpd: No such file or directory seems to be because apache is not installed, of course, possibly because the script ended without installing it? Not sure.
Please help me get CentOS Web Panel installed on CentOS 8. Thank you!
As of today, a beta version of the CWP for Centos 8 is available. CWP Documentation for install on Centos 8
the CWP is not supporting centos 8 yet, they are working on it.
I recommend waiting until they officially support centos 8.
It's very important to install cwp with the appropriate shell script, if you try to install cwp for CentOS 7 on a CentOS 8 is natural it's not working.
cwp-el7-latest it's only for CentOS 7, link:
wget https://centos-webpanel.com/cwp-el7-latest
cwp-el8-latest it's only for CentOS 8, link:
wget https://centos-webpanel.com/cwp-el8-latest
As per CWP Installation Instructions, they have installation for CentOS 8. Below are the instructions:
#cd /usr/local/src
#wget http://centos-webpanel.com/cwp-el8-latest
#chmod +x cwp-el8-latest
#bash cwp-el8-latest
The shell script shall install all the necessary packages through yum.
Steps to install CWP on Centos8
1.Login to server/VPS through SSH by using root login
2.Update the server and install wget, use below commands.
yum update -y
yum install wget
3.Go to src directory, as below
cd /usr/local/src/
4.Download the latest version of CWP, using below commands
wget http://centos-webpanel.com/cwp-el8-latest
5.Start CWP control panel installation.
sh cwp-el7-latest
It will take around 30-60 mins for its complete installation, also you will get all details after installation. Like CWP login url and details.
Once the installation is completed, you will get the following messages as shown in the following image.

Oracle virtual box (6.0.10) exiting and erroring when the minikube start is ran

My Oracle virtual box (6.0.10) is exiting when I run the minikube start command. Below is the VBoxHardening.log towards the end file content showing some problem. Please provide me some clue to resolve this.
39f8.5258: \SystemRoot\System32\privman64.dll:
39f8.5258: CreationTime: 2017-06-22T16:52:44.000000000Z
39f8.5258: LastWriteTime: 2017-06-22T16:52:44.000000000Z
39f8.5258: ChangeTime: 2019-08-04T03:13:22.783874200Z
39f8.5258: FileAttributes: 0x20
39f8.5258: Size: 0x39100
39f8.5258: NT Headers: 0xf8
39f8.5258: Timestamp: 0x594be02a
39f8.5258: Machine: 0x8664 - amd64
39f8.5258: Timestamp: 0x594be02a
39f8.5258: Image Version: 0.0
39f8.5258: SizeOfImage: 0x3a000 (237568)
39f8.5258: Resource Dir: 0x38000 LB 0x578
39f8.5258: [Version info resource found at 0x80! (ID/Name: 0x1; SubID/SubName: 0x0)]
39f8.5258: [Raw version resource data: 0x380a0 LB 0x37c, codepage 0x4e4 (reserved 0x0)]
39f8.5258: ProductName: PowerBroker for Windows
39f8.5258: ProductVersion: 7.3.0.0
39f8.5258: FileVersion: 7.3.0.0
39f8.5258: FileDescription: BeyondTrust PowerBroker for Windows DLL
39f8.5258: supR3HardenedWinInitAppBin(0x0): '\Device\HarddiskVolume2\Program Files\Oracle\VirtualBox'
39f8.5258: Calling main()
39f8.5258: SUPR3HardenedMain: pszProgName=VBoxHeadless fFlags=0x0
39f8.5258: supR3HardenedWinInitAppBin(0x0): '\Device\HarddiskVolume2\Program Files\Oracle\VirtualBox'
39f8.5258: '\Device\HarddiskVolume2\Program Files\Oracle\VirtualBox\VBoxHeadless.exe' has no imports
39f8.5258: supHardenedWinVerifyImageByHandle: -> 24202 (\Device\HarddiskVolume2\Program Files\Oracle\VirtualBox\VBoxHeadless.exe)
39f8.5258: SUPR3HardenedMain: Respawn #2
39f8.5258: Error (rc=-5640):
39f8.5258: More than one thread in process
39f8.5258: Error -5640 in supR3HardenedWinReSpawn! (enmWhat=1)
39f8.5258: More than one thread in process
39f8.5258: '\Device\HarddiskVolume2\Windows\System32\ntdll.dll' has no imports
39f8.5258: supHardenedWinVerifyImageByHandle: -> 0 (\Device\HarddiskVolume2\Windows\System32\ntdll.dll)
39f8.5258: supR3HardenedWinVerifyCacheInsert: \Device\HarddiskVolume2\Windows\System32\ntdll.dll
39f8.5258: supR3HardenedMonitor_LdrLoadDll: pName=C:\windows\System32\ntdll.dll (Input=ntdll.dll, rcNtResolve=0xc0150008) *pfFlags=0x0 pwszSearchPath=0000000000000801:<flags> [calling]
39f8.5258: supR3HardenedMonitor_LdrLoadDll: returns rcNt=0x0 hMod=00007ffbc3730000 'C:\windows\System32\ntdll.dll'
3078.6bc: supR3HardNtChildWaitFor[1]: Quitting: ExitCode=0x1 (rcNtWait=0x0, rcNt1=0x0, rcNt2=0x103, rcNt3=0x103, 48 ms, the end);
If you are running the PowerBroker for Windows from BeyondTrust it will prevent VirtualBox and minikube from running properly. Uninstall PowerBroker is the only documented solution.

How to break a single line into rows where .txt acts as delimiter

I'm looking to split the following file into rows based on the .txt extension, which acts as a column identifier.
I would like to use bash/awk to do this. Can I get some assistance around how I may achieve this?
ORIGINAL FILE
5001-A.txt:Sun Jun 23 07:37:21.687 UTC 5001-A.txt: Active Packages: 8 5001-A.txt: ncs5k-xr-6.5.3 version=6.5.3 [Boot image] 5001-A.txt: ncs5k-mpls-3.1.0.0-r653 5001-A.txt: ncs5k-isis-2.1.0.0-r653 5001-A.txt: ncs5k-mpls-te-rsvp-1.0.0.0-r653 5001-A.txt: ncs5k-ospf-2.0.0.0-r653 5001-A.txt: ncs5k-mcast-2.1.0.0-r653 5001-A.txt: ncs5k-mgbl-3.0.0.0-r653 5001-A.txt: ncs5k-k9sec-3.1.0.0-r653 5001-B.txt:Sun Jun 23 07:36:17.743 UTC 5001-B.txt: Active Packages: 8 5001-B.txt: ncs5k-xr-6.5.3 version=6.5.3 [Boot image] 5001-B.txt: ncs5k-mpls-3.1.0.0-r653 5001-B.txt: ncs5k-isis-2.1.0.0-r653 5001-B.txt: ncs5k-mpls-te-rsvp-1.0.0.0-r653 5001-B.txt: ncs5k-ospf-2.0.0.0-r653 5001-B.txt: ncs5k-mcast-2.1.0.0-r653 5001-B.txt: ncs5k-mgbl-3.0.0.0-r653 5001-B.txt: ncs5k-k9sec-3.1.0.0-r653 540-A.txt:Sun Jun 23 07:29:10.954 UTC 540-A.txt: Active Packages: 10 540-A.txt: ncs540-xr-6.3.2 version=6.3.2 [Boot image] 540-A.txt: ncs540-mpls-1.0.0.0-r632 540-A.txt: ncs540-isis-1.0.0.0-r632 540-A.txt: ncs540-mcast-1.0.0.0-r632 540-A.txt: ncs540-mgbl-1.0.0.0-r632 540-A.txt: ncs540-ospf-1.0.0.0-r632 540-A.txt: ncs540-mpls-te-rsvp-1.0.0.0-r632 540-A.txt: ncs540-li-1.0.0.0-r632 540-A.txt: ncs540-eigrp-1.0.0.0-r632 540-A.txt: ncs540-k9sec-1.0.0.0-r632 5501-A.txt:Sun Jun 23 07:39:57.757 UTC 5501-A.txt: Active Packages: 7 5501-A.txt: ncs5500-xr-6.5.3 version=6.5.3 [Boot image] 5501-A.txt: ncs5500-mpls-2.1.0.0-r653 5501-A.txt: ncs5500-k9sec-3.1.0.0-r653 5501-A.txt: ncs5500-mgbl-3.0.0.0-r653 5501-A.txt: ncs5500-isis-2.1.0.0-r653 5501-A.txt: ncs5500-mpls-te-rsvp-3.1.0.0-r653 5501-A.txt: ncs5500-ospf-2.0.0.0-r653 5502-A.txt:Sun Jun 23 07:45:41.923 UTC 5502-A.txt: Active Packages: 9 5502-A.txt: ncs5500-xr-6.3.2 version=6.3.2 [Boot image] 5502-A.txt: ncs5500-mcast-2.1.0.0-r632 5502-A.txt: ncs5500-mpls-2.1.0.0-r632 5502-A.txt: ncs5500-mgbl-4.0.0.0-r632 5502-A.txt: ncs5500-mpls-te-rsvp-2.2.0.0-r632 5502-A.txt: ncs5500-ospf-2.0.0.0-r632 5502-A.txt: ncs5500-isis-1.3.0.0-r632 5502-A.txt: ncs5500-li-1.0.0.0-r632 5502-A.txt: ncs5500-k9sec-4.1.0.0-r632 55A1-A.txt:Sun Jun 23 07:42:04.974 UTC 55A1-A.txt: Active Packages: 7 55A1-A.txt: ncs5500-xr-6.5.3 version=6.5.3 [Boot image] 55A1-A.txt: ncs5500-mpls-2.1.0.0-r653 55A1-A.txt: ncs5500-k9sec-3.1.0.0-r653 55A1-A.txt: ncs5500-mgbl-3.0.0.0-r653 55A1-A.txt: ncs5500-mcast-2.1.0.0-r653 55A1-A.txt: ncs5500-isis-2.1.0.0-r653 55A1-A.txt: ncs5500-ospf-2.0.0.0-r653 9010-A.txt:Sun Jun 23 17:47:19.268 AEST 9010-A.txt:Default Profile: 9010-A.txt: SDRs: 9010-A.txt: Owner 9010-A.txt: Active Packages: 9010-A.txt: disk0:asr9k-services-infra-6.5.3 9010-A.txt: disk0:asr9k-services-px-6.5.3 9010-A.txt: disk0:asr9k-mpls-px-6.5.3 9010-A.txt: disk0:asr9k-mini-px-6.5.3 9010-A.txt: disk0:asr9k-optic-px-6.5.3 9010-A.txt: disk0:asr9k-li-px-6.5.3 9010-A.txt: disk0:asr9k-doc-px-6.5.3 9010-A.txt: disk0:asr9k-video-px-6.5.3 9010-A.txt: disk0:asr9k-bng-px-6.5.3 9010-A.txt: disk0:asr9k-mgbl-px-6.5.3 9010-A.txt: disk0:asr9k-mcast-px-6.5.3 9010-A.txt: disk0:asr9k-9000v-nV-px-6.5.3 9010-A.txt: disk0:asr9k-fpd-px-6.5.3 9010-A.txt: disk0:asr9k-k9sec-px-6.5.3 9010-B.txt:Sun Jun 23 17:47:23.925 AEST 9010-B.txt:Default Profile: 9010-B.txt: SDRs: 9010-B.txt: Owner 9010-B.txt: Active Packages: 9010-B.txt: disk0:asr9k-mini-px-6.6.2 9010-B.txt: disk0:asr9k-services-infra-6.6.2 9010-B.txt: disk0:asr9k-9000v-nV-px-6.6.2 9010-B.txt: disk0:asr9k-bng-px-6.6.2 9010-B.txt: disk0:asr9k-doc-px-6.6.2 9010-B.txt: disk0:asr9k-fpd-px-6.6.2 9010-B.txt: disk0:asr9k-k9sec-px-6.6.2 9010-B.txt: disk0:asr9k-li-px-6.6.2 9010-B.txt: disk0:asr9k-mcast-px-6.6.2 9010-B.txt: disk0:asr9k-mgbl-px-6.6.2 9010-B.txt: disk0:asr9k-mpls-px-6.6.2 9010-B.txt: disk0:asr9k-optic-px-6.6.2 9010-B.txt: disk0:asr9k-services-px-6.6.2 9010-B.txt: disk0:asr9k-video-px-6.6.2 9904-A.txt:Sun Jun 23 17:46:57.761 AEST 9904-A.txt:Default Profile: 9904-A.txt: SDRs: 9904-A.txt: Owner 9904-A.txt: Active Packages: 9904-A.txt: disk0:asr9k-mini-px-6.6.2 9904-A.txt: disk0:asr9k-services-infra-6.6.2 9904-A.txt: disk0:asr9k-9000v-nV-px-6.6.2 9904-A.txt: disk0:asr9k-bng-px-6.6.2
DESIRED OUTPUT
$ cat testfile.txt
5001-A.txt:Sun Jun 23 07:37:21.687 UTC
5001-A.txt: Active Packages: 8
5001-A.txt: ncs5k-xr-6.5.3 version=6.5.3 [Boot image]
5001-A.txt: ncs5k-mpls-3.1.0.0-r653
5001-A.txt: ncs5k-isis-2.1.0.0-r653
5001-A.txt: ncs5k-mpls-te-rsvp-1.0.0.0-r653
5001-A.txt: ncs5k-ospf-2.0.0.0-r653
5001-A.txt: ncs5k-mcast-2.1.0.0-r653
540-A.txt: Active Packages: 10
540-A.txt: ncs540-xr-6.3.2 version=6.3.2 [Boot image]
540-A.txt: ncs540-mpls-1.0.0.0-r632
540-A.txt: ncs540-isis-1.0.0.0-r632
9010-A.txt: disk0:asr9k-9000v-nV-px-6.5.3
9010-A.txt: disk0:asr9k-fpd-px-6.5.3
etc.
Thanks.
#Cyrus, the highlighted line is not rendered correctly. It happens when we move between different .txt names.
5001-B.txt: ncs5k-mcast-2.1.0.0-r653
5001-B.txt: ncs5k-mgbl-3.0.0.0-r653
5001-B.txt: ncs5k-k9sec-3.1.0.0-r653 540-A.txt:Sun Jun 23 07:29:10.954 UTC <---
540-A.txt: Active Packages: 10
540-A.txt: ncs540-xr-6.3.2 version=6.3.2 [Boot image]
540-A.txt: ncs540-mpls-1.0.0.0-r632
With GNU awk for multi-char RS, RT and \s shorthand:
$ awk -v RS='[^[:space:]]+[.]txt:' 'NR>1 && RT{sub(/\s+$/,""); print p $0} {p=RT}' file
5001-A.txt:Sun Jun 23 07:37:21.687 UTC
5001-A.txt: Active Packages: 8
5001-A.txt: ncs5k-xr-6.5.3 version=6.5.3 [Boot image]
5001-A.txt: ncs5k-mpls-3.1.0.0-r653
5001-A.txt: ncs5k-isis-2.1.0.0-r653

Installing Ruby 1.9.3 on OSX 10.7.3 with RVM (make error)

I am have been trying to install Ruby via rvm on my Mac (OSX 10.7.3, with XCode 4.3.1) for 2 days now... I am getting an "error running make" every time I am trying. I could see many people have encountered the same problem, but so far what has worked for them hasn't for me (installing GCC, updating Xcode, readline related fixes, etc.).
Here is the make.log:
[2012-03-10 00:48:25] make
CC = clang
LD = ld
LDSHARED = clang -dynamiclib
CFLAGS = -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -fno-common -pipe
XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I. -I.ext/include/x86_64-darwin11.3.0 -I./include -I.
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace -install_name /Users/bryandufour/.rvm/rubies/ruby-1.9.3-p125/lib/libruby.1.9.1.dylib -current_version 1.9.1 -compatibility_version 1.9.1 -Wl,-unexported_symbol,_Init_* -Wl,-unexported_symbol,*_threadptr_* -Wl,-u,_objc_msgSend
SOLIBS =
linking miniruby
<internal:prelude>:1: [BUG] Bus Error
ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0]
-- Control frame information -----------------------------------------------
c:0003 p:0002 s:0006 b:0006 l:000005 d:000005 TOP <internal:prelude>:1
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000ce8 d:000ce8 TOP
-- Ruby level backtrace information ----------------------------------------
<internal:prelude>:1:in `<compiled>'
-- C level backtrace information -------------------------------------------
See Crash Report log file under ~/Library/Logs/CrashReporter or
/Library/Logs/CrashReporter, for the more detail of.
-- Other runtime information -----------------------------------------------
* Loaded script: ./miniruby
* Loaded features:
0 enumerator.so
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
make: *** [.rbconfig.time] Abort trap: 6
And the crash report:
Process: miniruby [2844]
Path: /Users/USER/*/miniruby
Identifier: miniruby
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: gnumake [2831]
Date/Time: 2012-03-10 00:48:25.719 +0100
OS Version: Mac OS X 10.7.3 (11D50b)
Report Version: 9
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000103ea2ab7
VM Regions Near 0x103ea2ab7:
--> __TEXT 0000000103e5e000-0000000104045000 [ 1948K] r-x/rwx SM=COW /Users/USER/*
__DATA 0000000104045000-0000000104061000 [ 112K] rw-/rwx SM=PRV /Users/USER/*
Application Specific Information:
objc[2844]: garbage collection is OFF
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff9a333ce2 __pthread_kill + 10
1 libsystem_c.dylib 0x00007fff8f17f7d2 pthread_kill + 95
2 libsystem_c.dylib 0x00007fff8f170a7a abort + 143
3 miniruby 0x0000000103e8e759 rb_bug + 185
4 miniruby 0x0000000103f3dbe6 sigbus + 54
5 libsystem_c.dylib 0x00007fff8f1d1cfa _sigtramp + 26
6 miniruby 0x0000000103f9685e vm_exec_core + 2734 (vm.inc:494)
7 miniruby 0x0000000103fa1e9e vm_exec + 94 (vm.c:1221)
8 miniruby 0x0000000103fa1dd2 rb_iseq_eval + 402 (vm.c:1448)
9 miniruby 0x0000000103f39258 ruby_process_options + 1432 (ruby.c:1098)
10 miniruby 0x0000000103e929c0 ruby_options + 128 (eval.c:73)
11 miniruby 0x0000000103e5f0e7 main + 71 (main.c:38)
12 miniruby 0x0000000103e5f094 start + 52
Thread 1:
0 libsystem_kernel.dylib 0x00007fff9a333df2 __select + 10
1 miniruby 0x0000000103fb15e3 thread_timer + 371 (thread_pthread.c:1158)
2 libsystem_c.dylib 0x00007fff8f17d8bf _pthread_start + 335
3 libsystem_c.dylib 0x00007fff8f180b75 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x0000000104193938 rdx: 0x0000000000000000
rdi: 0x0000000000000303 rsi: 0x0000000000000006 rbp: 0x0000000104193960 rsp: 0x0000000104193938
r8: 0x00007fff7de95fb8 r9: 0x00000001041934e8 r10: 0x00007fff9a333d0a r11: 0xffffff80002d8220
r12: 0x0000000104300028 r13: 0x0000000104295750 r14: 0x00007fff7de98960 r15: 0x00000001043fff50
rip: 0x00007fff9a333ce2 rfl: 0x0000000000000246 cr2: 0x0000000103fa8df0
Logical CPU: 0
Binary Images:
0x103e5e000 - 0x104044ff7 +miniruby (??? - ???) <B6C1C835-8EA0-3BE9-BF1D-8323E0E4A6A3> /Users/USER/*/miniruby
0x7fff63a5e000 - 0x7fff63a92baf dyld (195.6 - ???) <0CD1B35B-A28F-32DA-B72E-452EAD609613> /usr/lib/dyld
0x7fff8dda4000 - 0x7fff8ddaafff libmacho.dylib (800.0.0 - compatibility 1.0.0) <D86F63EC-D2BD-32E0-8955-08B5EAFAD2CC> /usr/lib/system/libmacho.dylib
0x7fff8ded2000 - 0x7fff8ded3ff7 libremovefile.dylib (21.1.0 - compatibility 1.0.0) <739E6C83-AA52-3C6C-A680-B37FE2888A04> /usr/lib/system/libremovefile.dylib
0x7fff8df7e000 - 0x7fff8dfccfff libauto.dylib (??? - ???) <D8AC8458-DDD0-3939-8B96-B6CED81613EF> /usr/lib/libauto.dylib
0x7fff8eb33000 - 0x7fff8eb34ff7 libsystem_sandbox.dylib (??? - ???) <5087ADAD-D34D-3844-9D04-AFF93CED3D92> /usr/lib/system/libsystem_sandbox.dylib
0x7fff8f127000 - 0x7fff8f12efff libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <172B1985-F24A-34E9-8D8B-A2403C9A0399> /usr/lib/system/libcopyfile.dylib
0x7fff8f12f000 - 0x7fff8f20cfef libsystem_c.dylib (763.12.0 - compatibility 1.0.0) <FF69F06E-0904-3C08-A5EF-536FAFFFDC22> /usr/lib/system/libsystem_c.dylib
0x7fff8fb6a000 - 0x7fff8fb6fff7 libsystem_network.dylib (??? - ???) <5DE7024E-1D2D-34A2-80F4-08326331A75B> /usr/lib/system/libsystem_network.dylib
0x7fff90265000 - 0x7fff90269fff libdyld.dylib (195.5.0 - compatibility 1.0.0) <F1903B7A-D3FF-3390-909A-B24E09BAD1A5> /usr/lib/system/libdyld.dylib
0x7fff90275000 - 0x7fff902eaff7 libc++.1.dylib (19.0.0 - compatibility 1.0.0) <C0EFFF1B-0FEB-3F99-BE54-506B35B555A9> /usr/lib/libc++.1.dylib
0x7fff9061d000 - 0x7fff9061dfff libkeymgr.dylib (23.0.0 - compatibility 1.0.0) <61EFED6A-A407-301E-B454-CD18314F0075> /usr/lib/system/libkeymgr.dylib
0x7fff90d6c000 - 0x7fff90d99fe7 libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <7BEBB139-50BB-3112-947A-F4AA168F991C> /usr/lib/libSystem.B.dylib
0x7fff90ff1000 - 0x7fff90ffaff7 libsystem_notify.dylib (80.1.0 - compatibility 1.0.0) <A4D651E3-D1C6-3934-AD49-7A104FD14596> /usr/lib/system/libsystem_notify.dylib
0x7fff9163e000 - 0x7fff9164cfff libdispatch.dylib (187.7.0 - compatibility 1.0.0) <712AAEAC-AD90-37F7-B71F-293FF8AE8723> /usr/lib/system/libdispatch.dylib
0x7fff917a7000 - 0x7fff917e2fff libsystem_info.dylib (??? - ???) <35F90252-2AE1-32C5-8D34-782C614D9639> /usr/lib/system/libsystem_info.dylib
0x7fff91af7000 - 0x7fff91af8fff libunc.dylib (24.0.0 - compatibility 1.0.0) <C67B3B14-866C-314F-87FF-8025BEC2CAAC> /usr/lib/system/libunc.dylib
0x7fff93096000 - 0x7fff93109fff libstdc++.6.dylib (52.0.0 - compatibility 7.0.0) <6BDD43E4-A4B1-379E-9ED5-8C713653DFF2> /usr/lib/libstdc++.6.dylib
0x7fff970c2000 - 0x7fff970cdff7 libc++abi.dylib (14.0.0 - compatibility 1.0.0) <8FF3D766-D678-36F6-84AC-423C878E6D14> /usr/lib/libc++abi.dylib
0x7fff970f8000 - 0x7fff970fafff libquarantine.dylib (36.2.0 - compatibility 1.0.0) <48656562-FF20-3B55-9F93-407ACA7341C0> /usr/lib/system/libquarantine.dylib
0x7fff97907000 - 0x7fff97908fff libdnsinfo.dylib (395.6.0 - compatibility 1.0.0) <718A135F-6349-354A-85D5-430B128EFD57> /usr/lib/system/libdnsinfo.dylib
0x7fff97922000 - 0x7fff97926fff libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) <FF83AFF7-42B2-306E-90AF-D539C51A4542> /usr/lib/system/libmathCommon.A.dylib
0x7fff9793c000 - 0x7fff97941fff libcache.dylib (47.0.0 - compatibility 1.0.0) <B7757E2E-5A7D-362E-AB71-785FE79E1527> /usr/lib/system/libcache.dylib
0x7fff97a13000 - 0x7fff97af7e5f libobjc.A.dylib (228.0.0 - compatibility 1.0.0) <871E688B-CF57-3BC7-80D6-F6476DFF109B> /usr/lib/libobjc.A.dylib
0x7fff97c3b000 - 0x7fff97c40fff libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> /usr/lib/system/libcompiler_rt.dylib
0x7fff98234000 - 0x7fff98235ff7 libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) <8BCA214A-8992-34B2-A8B9-B74DEACA1869> /usr/lib/system/libsystem_blocks.dylib
0x7fff98236000 - 0x7fff98253fff libxpc.dylib (77.18.0 - compatibility 1.0.0) <26C05F31-E809-3B47-AF42-1460971E3AC3> /usr/lib/system/libxpc.dylib
0x7fff984aa000 - 0x7fff984b2fff libsystem_dnssd.dylib (??? - ???) <7749128E-D0C5-3832-861C-BC9913F774FA> /usr/lib/system/libsystem_dnssd.dylib
0x7fff99513000 - 0x7fff99555ff7 libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0) <A5B9778E-11C3-3F61-B740-1F2114E967FB> /usr/lib/system/libcommonCrypto.dylib
0x7fff9a315000 - 0x7fff9a31bff7 libunwind.dylib (30.0.0 - compatibility 1.0.0) <1E9C6C8C-CBE8-3F4B-A5B5-E03E3AB53231> /usr/lib/system/libunwind.dylib
0x7fff9a31d000 - 0x7fff9a33dfff libsystem_kernel.dylib (1699.22.73 - compatibility 1.0.0) <69F2F501-72D8-3B3B-8357-F4418B3E1348> /usr/lib/system/libsystem_kernel.dylib
0x7fff9a51e000 - 0x7fff9a528ff7 liblaunch.dylib (392.18.0 - compatibility 1.0.0) <39EF04F2-7F0C-3435-B785-BF283727FFBD> /usr/lib/system/liblaunch.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 5338
thread_create: 1
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=54.6M resident=20.1M(37%) swapped_out_or_unallocated=34.4M(63%)
Writable regions: Total=75.0M written=676K(1%) resident=1396K(2%) swapped_out=0K(0%) unallocated=73.7M(98%)
REGION TYPE VIRTUAL
=========== =======
MALLOC 10.4M
MALLOC guard page 16K
MALLOC_LARGE (reserved) 256K reserved VM address space (unallocated)
STACK GUARD 4K
Stack 64.0M
__DATA 680K
__LINKEDIT 48.1M
__TEXT 6644K
shared memory 12K
=========== =======
TOTAL 129.9M
TOTAL, minus reserved VM space 129.7M
I am a beginner in programming, and am not super familiar with the terminal yet (have been a PC user for many years), so please be indulgent :).
I hope you guys can help.
Enjoy the week-end ;).
please check this answer https://stackoverflow.com/a/9651747/497756
I had no chance to prove if this patch helps for your issue - would be great.
As separate solution (to my previous answer), you might switch back to osx-gcc-installer which is known to compile all rubies.
There were reported comparability issues between osx-gcc-installer and Xcode 4.2.1, but none for Xcode 4.3 (but it's so known usage together).
Apple removed standard GCC from Xcode 4.2 - from this point you can not compile MRI Ruby on OSX easily, osx-gcc-installer is a private build of the required tools including GCC - which has proven to work to compile Ruby.
The most reliable solution is to remove Xcode totally from disk restart computer and install osx-gcc-installer.

Resources