Page 1 of 1
Upgrading hyperv image to newest version not working
Posted: 19 Nov 2016 23:38
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??
Re: Upgrading hyperv image to newest version not working
Posted: 20 Nov 2016 15:06
by shawniverson
Did you try rebooting into the new kernel?
Re: Upgrading hyperv image to newest version not working
Posted: 20 Nov 2016 19:24
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?
Re: Upgrading hyperv image to newest version not working
Posted: 20 Nov 2016 19:56
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

Re: Upgrading hyperv image to newest version not working
Posted: 21 Nov 2016 07:31
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

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

Re: Upgrading hyperv image to newest version not working
Posted: 21 Nov 2016 18:29
by Morotalizer
same issue/error for me.
Seems something missed when creating the hyper-v appliance
Re: Upgrading hyperv image to newest version not working
Posted: 21 Nov 2016 19:06
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

Re: Upgrading hyperv image to newest version not working
Posted: 21 Nov 2016 19:38
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.

Re: Upgrading hyperv image to newest version not working
Posted: 22 Nov 2016 00:23
by shawniverson
Update is supposed to update the kernel first. Interesting it did not do that for you

Re: Upgrading hyperv image to newest version not working
Posted: 22 Nov 2016 18:57
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..
Re: Upgrading hyperv image to newest version not working
Posted: 22 Nov 2016 19:26
by shareonline
It works great! I\m now on latest version and so far everything seems to work great! Thx for the help guys!
Re: Upgrading hyperv image to newest version not working
Posted: 22 Nov 2016 19:47
by Morotalizer
maybe change back the yumf.conf after update?
Re: Upgrading hyperv image to newest version not working
Posted: 22 Nov 2016 20:29
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..
