logs archiveIRC Archive / Freenode / #centos / 2015 / July / 29 / 1
genewitch
http://i.imgur.com/wj00BiD.png How do i fix this? the hypervisor needed a hard powercycle and now this guest won't boot; do i boot from CD and attempt to fix it? or what else could be the cause?
wN
genewitch: run fsck against the root filesystem
genewitch
wN: it's lvm
wN
excellent. i love lvm. its awesome
genewitch
wN: lvscan shoiws /dev/vg_centos6501/lv_root and lv_swap
wN
genewitch: can you mount them?
genewitch
wN: it says special device doesn't exist
wN
genewitch: that means its not activated. try: vgchange -ay
how are you currently viewing this? rescue mode?
and what version of centos?
genewitch
wN: that worked, it's mounted. centos 6.6 and i'm viewing with a gentoo install liveCD (barest bones linux disc i got
stand by i am going to do a fsck
         

wN
genewitch: okay thats good. unmount it, and run a fsck against it
genewitch
thanks you
wN
let me know if that makes a difference
genewitch
wN: it said recovering journal and then the rest of the data, i ran it twice, and rebooted, same error as before
wN
genewitch: whats on your kernel line within grub? can you paste that here?
make sure root= (within the kernel line) is pointing to the correct device, and that there is an lvm option in there regarding lv_root
i thin kits rd_lvm_lv=
i think its*
genewitch
kernel /vmlinuz-2.6.32-504.30.3.el6.x86_64 ro root=/dev/mapper/vg_centos6501-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto rd_NO_DM rd_LVM_LV=vg_centos6501/lv_root KEYBOARDTYPE=pc KEYTABLE=us rd_LVM_LV=vg_centos6501/lv_swap rhgb quiet
wN
that all looks fine. remove 'rhgb quiet' and add 'rdshell'
it should give you more verbose information, and then will drop you to a shell
genewitch
wN: no shell cuz kernel panic: http://i.imgur.com/5bBevDP.png
wN
genewitch: hit return a couple of times
genewitch
can't, it shuts off
like immediately after the error
wN
it shuts off? :/
genewitch
yes
when did 2.6.32-504 come out
wN
im not sure why its shutting off. how far in the boot processes do you get?
genewitch
wN: that screenshot is the last thing it dsplays before it shuts off
wN
genewitch: no further info without the quiet on the kernel line?
genewitch
Nope, but it looks like the older kernel is booting so maybe an update-grub or something
wN
grub should be fine. the fact that you're getting a kernel panic means you're hitting a problem _at least_ at the initramfs level
genewitch: try removing rdshell and using rdbreak=switchroot
see if that gets you to a shell
genewitch
um
CENTOS6501 2.6.32-504.1.3.el6.x86_64
i told it to boot the older grub entry and it still loaded the newest kernel
wN
(Action) shrugs
genewitch
wN: bear with me i am going to verify that everything else is ok
:-D
         

wN
perhaps all entries are pointing to the same file
np
im here for another hour
genewitch
i'll check that too
Oh
first entry is /vmlinuz-2.6.32-504.30.3.el6.x86_64
second entry is /vmlinuz-2.6.32-504.1.3.el6.x86_64
wN
look for the initramfs file
genewitch
wN: there isn't one for the first entry
there is for all the other entries though
wN
hmm, well thats not good
genewitch
heh nope
the initramfs file for that kernel version isn't in /boot so evidently this died during an update, running yum check now
wN
genewitch: you should be able to rebuild it by running dracut
genewitch
wN: yes i'll do it by hand as a last resort
wN
dracut -f /boot/initramfs-verison.img <verison>
from rescue
genewitch
jeez, yum check takes a while, 30 minutes real so far
wN
genewitch: keepin mind that yum doesnt create the initramfs file. the rpm install spawns a dracut command to build it if i recall correctly
im not exactly sure what yum check does
genewitch
i'm running the dracut on version 2.6.32-504.30.3.el6.x86_64 now
wN
cool
darius93
Zerberus, i see what i might need to do and going to experiment with something
i did verify everything and cant ping gateway, nothing in iptables blocking network, etc
genewitch
wN: Welcome to Centos
wN: all better
wN
genewitch: excellent. just hte missing initramfs?
genewitch
and the corresponding initrd entry in menu.lst
wN
gotcha
ThunderFrog
hi, does anyone know if i can make dhcpd include directories which contain config files?
i'm automating stuff and want to drop single config files for host configurations and don't like to alter existing config files from scripts
or should i search for a different kind of dhcpd?
neither does it support SQL storage backends for configs..
how come i can't find proper alternatives?
B_rake
ThunderFrog: you can use ldap for the storage backend
ThunderFrog
B_rake: ah :)
i didn't know that
genewitch
wow the nginx on el6 is oooold
any issues with running stable (1.8.0) or mainline (1.9.3) on latest?
eb0t
wow ThunderFrog i thought dhcpd was used for giving hosts ip addresses
TrevorH
genewitch: CentOS doesn't ship nginx at all, it's in EPEL so if it's too old, complain in #epel or just get the one from the nginx repos
genewitch
TrevorH: Good point, i was just gunna do source
i didn't even know el7 was out
is that kernel 3 now?
TrevorH
yes, 3.10.0 and been out more than a year
elf
any news (or any way for us to track) when the updates for CVE-2015-5477 will become available in the centos repos?
devhen
elf: http://lists.centos.org/mailman/listinfo/centos-announce
the updates were just pushed out
for c7 & c5 anyway. havent seen the update for c6 yet. its probably incoming
http://lists.centos.org/pipermail/centos-announce/2015-July/thread.html
elf
awesome, cheers
porjo
Running Centos7 on Amazon EC2. ntpd won't start on boot even though the service is enabled. It starts fine when I do 'systemctl start ntpd'. I wondered if it might be cloud-init interfering, but can't see anything obvious.
Has anyone else had this issue?
oops, sorry - just realised it's running chronyd
cdrakka
When RHEL/CentOS 7 first came out, there were some difficulties with libvirtd/KVM and NetworkManager for bridged networking. The recommendation was to turn off NetworkManager. Is this still the case for 7.1? Is there any current best practices documentation for libvirtd/KVM bridged networking that I should be looking at? Thanks in advance.
fenrus02
chronyc -m -n sources tracking;
cdrakka
For example, is this actually best practices for KVM bridged networking?: http://unix-linux-server.blogspot.com/2014/10/centos-7-kvm-installation-and-bridge.html Is NetworkManager and KVM/libvirtd still broken?
« prev 1 2 3 4 5 6 next »