OpenVZ Forum


Home » General » Support » *SOLVED* Fedora Core 5 VZ Template - Kernel too old
*SOLVED* Fedora Core 5 VZ Template - Kernel too old [message #2235] Sun, 26 March 2006 17:49 Go to next message
phpfreak is currently offline  phpfreak
Messages: 47
Registered: January 2006
Member
From Moderator:

The solution is echo 2.6.9 > /proc/sys/kernel/virt_osrelease



[root@spv507 ~]# vzctl start 1000
Starting VPS ...
VPS is mounted
Adding IP address(es): xxx.xxx.xxx.xxx
FATAL: kernel too old
Setting CPU units: 100000
FATAL: kernel too old
File resolv.conf was modified
VPS start in progress...
FATAL: kernel too old

[root@spv507 ~]# uname -r
2.6.8-022stab072.2-enterprise

Any ideas on that one?


[Updated on: Mon, 27 March 2006 11:20] by Moderator

Report message to a moderator

Re: Fedora Core 5 VZ Template - Kernel too old [message #2238 is a reply to message #2235] Mon, 27 March 2006 00:28 Go to previous messageGo to next message
RapidVPS is currently offline  RapidVPS
Messages: 32
Registered: January 2006
Member
I had the same prob, on multiple OVZ servers with the latest vzctl tools and kernel.

Re: Fedora Core 5 VZ Template - Kernel too old [message #2239 is a reply to message #2235] Mon, 27 March 2006 04:52 Go to previous messageGo to next message
duswil is currently offline  duswil
Messages: 77
Registered: January 2006
Member
Same problem here.

root@elyssa:~# vzctl start 1401
Starting VPS ...
VPS is mounted
Adding IP address(es): 172.16.4.1 12.158.188.22
arpsend: 172.16.4.1 is detected on another computer : 00:07:84:46:74:0a
vps-net_add WARNING: arpsend -c 1 -w 1 -D  -e 172.16.4.1 -e 12.158.188.22 eth0 FAILED
FATAL: kernel too old
Setting CPU units: 1000
VPS start in progress...
FATAL: kernel too old
Re: Fedora Core 5 VZ Template - Kernel too old [message #2242 is a reply to message #2235] Mon, 27 March 2006 08:53 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

1. you can try setting
/proc/sys/kernel/virt_os_release
to 2.6.16 Smile))

2. I asked Kir to check it. Looks like FC5 requires 2.6.15 or later.


http://static.openvz.org/userbars/openvz-developer.png
Re: Fedora Core 5 VZ Template - Kernel too old [message #2246 is a reply to message #2242] Mon, 27 March 2006 11:17 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

To fix the problem with FC5 start, you need to do
echo 2.6.9 > /proc/sys/kernel/virt_osrelease


After that, everything works fine. You can add this line to your startup scripts if you need this after reboot.

The problem is caused by the fact FC5 was compiled with the minimum kernel requirement of 2.6.9. But it works fine with 2.6.8 as well Smile


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Fedora Core 5 VZ Template - Kernel too old [message #2266 is a reply to message #2246] Tue, 28 March 2006 01:23 Go to previous messageGo to next message
duswil is currently offline  duswil
Messages: 77
Registered: January 2006
Member
Worked for me. Thanks!
Re: *SOLVED* Fedora Core 5 VZ Template - Kernel too old [message #2268 is a reply to message #2235] Tue, 28 March 2006 02:45 Go to previous messageGo to next message
phpfreak is currently offline  phpfreak
Messages: 47
Registered: January 2006
Member
Thanks! I'll give it a shot. I assume this will have no affect on any other VPS running on the system, such as the CentOS, Debian and etc?


Re: *SOLVED* Fedora Core 5 VZ Template - Kernel too old [message #2269 is a reply to message #2235] Tue, 28 March 2006 03:44 Go to previous messageGo to next message
duswil is currently offline  duswil
Messages: 77
Registered: January 2006
Member
Is there any remote chance that this is related to this error (linked)?

http://forum.openvz.org/index.php?t=tree&goto=2267
Re: *SOLVED* Fedora Core 5 VZ Template - Kernel too old [message #2274 is a reply to message #2268] Tue, 28 March 2006 06:05 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

phpfreak wrote on Tue, 28 March 2006 06:45

I assume this will have no affect on any other VPS running on the system, such as the CentOS, Debian and etc?


Aside from the fact they will be thinking they are running on 2.6.9 not 2.6.8 -- no. I believe this should not create any problems at all.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png

[Updated on: Tue, 28 March 2006 06:05]

Report message to a moderator

Re: Fedora Core 5 VZ Template - Kernel too old [message #5346 is a reply to message #2246] Fri, 18 August 2006 04:55 Go to previous messageGo to next message
paulreynand is currently offline  paulreynand
Messages: 3
Registered: August 2006
Location: philippines
Junior Member

hi to all,

im kind a new in OpenVZ, i have encountered this problem too using fedora-core-5 template and try to do this "echo 2.6.9 > /proc/sys/kernel/virt_osrelease" but it says

-bash: /proc/sys/kernel/virt_osrelease: No such file or directory

im using debian sarge. hope can anyone help me with this.

thanks in advance
Re: Fedora Core 5 VZ Template - Kernel too old [message #5354 is a reply to message #5346] Fri, 18 August 2006 07:52 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

have you rebooted to OVZ kernel?
# uname -a


http://static.openvz.org/userbars/openvz-developer.png
Re: Fedora Core 5 VZ Template - Kernel too old [message #5420 is a reply to message #5354] Fri, 18 August 2006 18:32 Go to previous messageGo to next message
paulreynand is currently offline  paulreynand
Messages: 3
Registered: August 2006
Location: philippines
Junior Member

yes, i already create vps using debian and centos template but not yet in fedora core 5 because of this problem.
Re: Fedora Core 5 VZ Template - Kernel too old [message #5439 is a reply to message #5420] Fri, 18 August 2006 23:09 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

What kernel version are you using? Can you post the output of uname -a here?

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Fedora Core 5 VZ Template - Kernel too old [message #5448 is a reply to message #5439] Sat, 19 August 2006 04:20 Go to previous messageGo to next message
paulreynand is currently offline  paulreynand
Messages: 3
Registered: August 2006
Location: philippines
Junior Member


Linux ermita 2.6.8-022stab064-up #1 Wed Mar 8 11:53:09 CET 2006 i686 GNU/Linux
Re: Fedora Core 5 VZ Template - Kernel too old [message #5470 is a reply to message #5448] Mon, 21 August 2006 08:14 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

update to the more latest 2.6.8 kernel. this feature was added later specially for FC5.


http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: Creating Template
Next Topic: Install CPANEL
Goto Forum:
  


Current Time: Sun Jul 14 23:24:01 GMT 2024

Total time taken to generate the page: 0.02370 seconds