logs archiveIRC Archive / Freenode / #centos / 2015 / October / 13 / 1
stacks88
running centos 7.1.1503 -- my goal is to setup automatic updates. so ive got this yum-cron installed, and it appears to be running but in yum-cron.conf ive got update_cmd = default -- which it says at the top of the conf file that default means yum upgrade -- so does that mean it will update all packages, cover all bases, incl security etc?
Zathrus
yes
stacks88
thx
tesaf
gentlemen
I have a script that is using lftp to download some files from a remote server
any idea where the cert is stored for such a script?
fenris02
typically you store personal certificates in ~/.cert/
fedorafan
hey Ive forgotten the password
is there a way to set a new one
lnb
is there a way to boot a VM and not mount /var ?
fedorafan
http://www.tecmint.com/reset-forgotten-root-password-in-rhel-centos-and-fedora/ hmm there they just say need to click "a" to modify the kernel argument but in my grub there is not such an option
Bahhumbug
@pwrecover
         

centbot
For assistance with recovering a lost or forgotten root password please see http://wiki.centos.org/TipsAndTricks/ResetRootPassword
fedorafan
Bahhumbug thx
as I said there is no a
cant do that like they wrote
ahhh moment
there is linked a new version https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/sec-Terminal_Menu_Editing_During_Boot.html#sec-Recovering_Root_Password
allright what installation disk do I need here hmm, its centos 7
I would need to redownload some image dont have it any more on disk
programmerq
I've got a report of a centos user that is getting a certificate error when using a custom repo. I can't reproduce it on a clean centos 7 install. the error message is 'Peer's certificate issuer has been marked as not trusted by the user'
googling that error brings up a bunch of openldap stuff, not yum stuff.
I'm not sure what yum configs could cause it to reject certs. the certificate is valid, but it is using a server alternate name, not the normal CN
my google fu has run out. :(
lnb
when interrupting the boot process, what syntax would be needed to tell it not to mount /var which is a lv
fenris02
rewind. why would you want to consider such a thing?
lnb
have a problem with deleted 2nd disk
fenris02
did your lv span multiple disks?
lnb
the one lv no
it seems /var was on a second dis
disk
in the vm manager have added back a second disk
fenris02
then all your data is lost?
lnb
no
because its backed up every week
but even using the restore, when it starts booting, it has problem with var
fenris02
boot using rescue media. edit your fstab accordingly. make sure you have a viable /var before booting off the disk itself. restore the most recent /var from backup.
lnb
the original var was kvm101_img_1 and now there is a kvm101_img_2
i have modified the xml for it to reflect kvm101_img_2
this is a quemu vm
fenris02
so?
lnb
i do not know of any rescue media
fenris02
means you can shortcut using guestfish or the like, but hte process remains roughly the same.
lnb
do you happen to know what the syntax is when server is boot, press any key to interrupt, but then tell it to boot either single user mode or not mount all file systems?
has to be a way
i do this in freebsd all the time
just dont know how in centos
fenris02
err, i told you how above.
lnb
your saying to use some rescue media, this is not a physical server its virtual server
fenris02
due to the nature of what you've done - recover is a pain.
it does not matter if it's a vm or a phy box.
process remains the same.
lnb
there is a restore script on the physical host server
and it works
but
         

fenris02
if there is a "but" then it's not working.
lnb
since /var was something like /dev/mapper/vg_lv_var and its not there
i need to get into the server recreate the lv and then it should be able to restore to the point where it was backed up
fenris02
boot using rescue media .. as above. livemedia will also work in a pinch. rescue is easier. it's part of the dvd / boot iso files.
and that makes the third time saying the same thing. good luck to you, i hope it works out. eventually.
cynixx3_
Anyone good with smartctl logs? Wheres erroro http://pastebin.com/6GQqvzgr
MrPockets
Anyone using something online to backup their server, like dropbox or google drive?
fedorafan
hmmm now I have downloaded the centos dvd iso and I cant boot from it within a virtual machine system
using vmware fusion
in the boot menu have got selected cd rom and the iso should be the dvd
lnb
it says when booting.. Refusing partial activation of LV vg_cs/lv_var use --activationmode partial to override
the question is how to use that --activationmode partial ?
fedorafan
lnb do you mean me
no
lnb
well fenris02 was talking to me before
it saying it cannot find device with UUID ...
thats because that device as inadvertently deleted
fedorafan
ok can I i install a i386 kernel
or how it is called
running 64 bit
billings
you want to boot a 32-bit kernel on an installed 64-bit version of CentOS?
fedorafan
right
billings
do you want a broken system?
fedorafan
dumb idea right
billings
it won't boot.
I mean, even if you managed to install a 32-bit kernel, it'd simply panic once it tried to start init, which would be a 64-bit executable
fedorafan
allright I dont know have thought there is a easy way to get both in one system
billings
you can boot a 64-bit kernel on a 32-bit installed OS.
fedorafan
ohhh cool
hmm well so have need to install a new 32bit version
billings
you might be better served by creating a 32-bit chroot with mock
or a vm
or a docker container
fedorafan
yeah it will be in a vm
oh there are lot of variants
hmm using vmware well lets see how to create the 32bit as standard it seems to be 64bit
ahhh oki
the dvd itself got x86_64 so I need another iso
hmm
centos 7 just available for 64 bit right so I need to use 6 or 5
supportquestion, are there still supported or not hmm
billings
there's a 32-bit centos7 iso
fedorafan
end of life is 2020 allright
https://wiki.centos.org/Download
there is 32bit really where
« prev 1 2 3 4 5 next »