Upgrading hyperv image to newest version not working

Report bugs and workarounds
Post Reply
shareonline
Posts: 10
Joined: 19 Nov 2016 18:35

Upgrading hyperv image to newest version not working

Post by shareonline »

Hi all, i just finished setting up EFA in front of my Exchange, as i wanted a replacement for xeams.
So far it is working okay and mail gets delivered. But..

I cannot get LDAP to Work, when i try to log in with either UPN/Mail/Samaccountname i just get a http 500 error..
Furthermore, i cannot update the server to the new version 3.0.1.5. I'm on the 3.0.0.9 build so a Little far behind:)
When i try to update, it goes to Work, backs up, downloads etc. I can see that it first tries to update to 3.0.1.0 but then fails with this:

error: Packadge util-linux-ng-2.17.2-12.24.e16.x86_64 (updates)
requires: kernel-2.6.32-642
Installed: kernel-2.6.32-573.e16.x86_64 (@anaconda-CentOS-201508042137.x86_64/6.7)
update to version 3.0.1.0 FAILED

Can anybody help me? I really wanna get this going, but wont configure to much if i have to do it all over Again:) Furthermore i cannot find a hyperv image of the new 3.0.1.5??
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Upgrading hyperv image to newest version not working

Post by shawniverson »

Did you try rebooting into the new kernel?
shareonline
Posts: 10
Joined: 19 Nov 2016 18:35

Re: Upgrading hyperv image to newest version not working

Post by shareonline »

shawniverson wrote:Did you try rebooting into the new kernel?
Hmm no im really not a linux guy so no idea how to do that? I thought it came preloaded with only one kernel?
shareonline
Posts: 10
Joined: 19 Nov 2016 18:35

Re: Upgrading hyperv image to newest version not working

Post by shareonline »

shareonline wrote:
shawniverson wrote:Did you try rebooting into the new kernel?
Hmm no im really not a linux guy so no idea how to do that? I thought it came preloaded with only one kernel?
I just tried to import the hyperv image to a new vm, quickly walked through the configuration, and it has the same problem. So to me it seems like the 3.0.0.9 hyperv image has a broken update function?

But if somebody could please give me a shell command or guide to booting into the other kernel it would really help me :think:
shareonline
Posts: 10
Joined: 19 Nov 2016 18:35

Re: Upgrading hyperv image to newest version not working

Post by shareonline »

shareonline wrote:
shareonline wrote:
shawniverson wrote:Did you try rebooting into the new kernel?
Hmm no im really not a linux guy so no idea how to do that? I thought it came preloaded with only one kernel?
I just tried to import the hyperv image to a new vm, quickly walked through the configuration, and it has the same problem. So to me it seems like the 3.0.0.9 hyperv image has a broken update function?

But if somebody could please give me a shell command or guide to booting into the other kernel it would really help me :think:
I tried the following yum install kernel-2.6.32-642.6.2.el6.centos.plus.x86_64.rpm, but it tells me no packadge available..

when i do yum check-update | grep kernel
it gives me info about 2.0.8-40.el6.centos.. Please help i really wanna update to newest version :)
Morotalizer
Posts: 3
Joined: 21 Nov 2016 15:16

Re: Upgrading hyperv image to newest version not working

Post by Morotalizer »

same issue/error for me.

Seems something missed when creating the hyper-v appliance
shareonline
Posts: 10
Joined: 19 Nov 2016 18:35

Re: Upgrading hyperv image to newest version not working

Post by shareonline »

Morotalizer wrote:same issue/error for me.

Seems something missed when creating the hyper-v appliance
Glad I'm not the only one :) hoping for a fix, and in the meantime it really is a good spam filter. Pretty impressed so far :)
Morotalizer
Posts: 3
Joined: 21 Nov 2016 15:16

Re: Upgrading hyperv image to newest version not working

Post by Morotalizer »

i'm linux noob...but i managed to update the kernel (its updating the efa right now so i dont know if this is supported, but it seems to work)

Googled this:
https://www.centos.org/forums/viewtopic.php?t=17716
And found that kernel was excluded from update.. so i..
Edit
/etc/yum.conf
From:
exclude=kernel* mysql* postfix* mailscanner* clamav* clamd* open-vm-tools* perl-Net-DNS
To
exclude=mysql* postfix* mailscanner* clamav* clamd* open-vm-tools* perl-Net-DNS

The run
yum update kernel

Then i was able to run update... but as i say i'm noob at linux and haven't verified that everything is working after this. :-)
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Upgrading hyperv image to newest version not working

Post by shawniverson »

Update is supposed to update the kernel first. Interesting it did not do that for you :think:
shareonline
Posts: 10
Joined: 19 Nov 2016 18:35

Re: Upgrading hyperv image to newest version not working

Post by shareonline »

Morotalizer wrote:i'm linux noob...but i managed to update the kernel (its updating the efa right now so i dont know if this is supported, but it seems to work)

Googled this:
https://www.centos.org/forums/viewtopic.php?t=17716
And found that kernel was excluded from update.. so i..
Edit
/etc/yum.conf
From:
exclude=kernel* mysql* postfix* mailscanner* clamav* clamd* open-vm-tools* perl-Net-DNS
To
exclude=mysql* postfix* mailscanner* clamav* clamd* open-vm-tools* perl-Net-DNS

The run
yum update kernel

Then i was able to run update... but as i say i'm noob at linux and haven't verified that everything is working after this. :-)
Wow nice find! Will test this instantly :) will report back with findings..
shareonline
Posts: 10
Joined: 19 Nov 2016 18:35

Re: Upgrading hyperv image to newest version not working

Post by shareonline »

It works great! I\m now on latest version and so far everything seems to work great! Thx for the help guys!
Morotalizer
Posts: 3
Joined: 21 Nov 2016 15:16

Re: Upgrading hyperv image to newest version not working

Post by Morotalizer »

maybe change back the yumf.conf after update?
shareonline
Posts: 10
Joined: 19 Nov 2016 18:35

Re: Upgrading hyperv image to newest version not working

Post by shareonline »

Morotalizer wrote:maybe change back the yumf.conf after update?
Yup did that just in case. And if it fails Again we know what to do.. :whistle:
Post Reply