hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : VPS Hosting : cannot update kernel in VPS
Reply

VPS Hosting Virtual private server discussion and vps hosting solutions. Review VPS hosting providers and offer advice on virtual web hosting solutions. If your service is unavailable, please click here.
Forum Jump

cannot update kernel in VPS

Reply Post New Thread In VPS Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-13-2008, 05:25 AM
hpham hpham is offline
Web Hosting Guru
 
Join Date: Sep 2007
Posts: 264

cannot update kernel in VPS


I could update to the latest kernel in dedicated server to 2.6.18-53.1.13.el5xen, but could not do it in vps. After running update, there is no new kernel. The kernel is still 2.6.18-53.1.6.el5xen.

This is yum config, can you tell me why the kernel could not be updated

Quote:
# cat /etc/yum.conf
[main]
cachedir=/var/cache/yum
keepcache=1
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

exclude=apache* httpd* mod_* mysql* MySQL* da_* *ftp* exim* sendmail* php* bind* bind-chroot*

# cat /etc/yum.repos.d/CentOS-Base.repo
# CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

Reply With Quote


Sponsored Links
  #2  
Old 02-13-2008, 05:30 AM
rghf rghf is offline
Web Hosting Master
 
Join Date: Jun 2003
Location: UK
Posts: 6,567
You need to ask your host to upgrade the kernel as its not possible to do it inside a Xen VPS

__________________
Rus Foster - Managing Director
VPS.net - Cloud Hosting At Its Finest -21 locations and growing!
VPNHQ - Come get yourself a lovely VPN

Reply With Quote
  #3  
Old 02-13-2008, 05:30 AM
hpham hpham is offline
Web Hosting Guru
 
Join Date: Sep 2007
Posts: 264
I just checked yum info, and it found new kernel, but could not update

Quote:
# yum info kernel-xen
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Available Packages
Name : kernel-xen
Arch : x86_64
Version: 2.6.18
Release: 53.1.13.el5
Size : 16 M
Repo : updates
Summary: The Linux kernel compiled for Xen VM operations
Description:
This package includes a version of the Linux kernel which
runs in Xen VM. It works for both priviledged and unpriviledged guests.

# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
No Packages marked for Update/Obsoletion

# yum update kernel-xen
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Could not find update match for kernel-xen
No Packages marked for Update/Obsoletion

Reply With Quote
Sponsored Links
  #4  
Old 02-13-2008, 05:33 AM
hpham hpham is offline
Web Hosting Guru
 
Join Date: Sep 2007
Posts: 264
Quote:
Originally Posted by a2b2 View Post
You need to ask your host to upgrade the kernel as its not possible to do it inside a Xen VPS
The main node is updated already

# uname -a
Linux server-name 2.6.18-53.1.13.el5xen #1 SMP Tue Feb 12 13:33:07 EST 2008 x86_64 x86_64 x86_64 GNU/Linux

So now, how to update kernel for vps?
Thank you.

Reply With Quote
  #5  
Old 02-13-2008, 05:49 AM
markhard markhard is offline
Web Hosting Master
 
Join Date: Mar 2004
Location: Netherlands
Posts: 740
you can't update VPS's kernel. VPS use the kernel that installed on the main node

__________________
HalfDedi.com • Half Dedicated Half Price
We provide affordable VPS hosting solution Singapore datacenter

Reply With Quote
  #6  
Old 02-13-2008, 06:13 AM
keywolf keywolf is offline
Web Hosting Master
 
Join Date: Jul 2006
Posts: 1,078
Yes the VPS will use whatever Kernel the Host node is using, In the Case on Xen and OpenVZ the host controls the kernel.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Students Contribute to Joomla through Google Summer of Code Program Web Hosting News 2012-05-08 15:22:35
Oracle is the Latest Vendor to Apply Patch for Apache Killer Flaw Web Hosting News 2011-09-19 14:43:58
Web Hosting Software Firm CloudLinux Releases CloudLinux OS Version 6.1 Web Hosting News 2011-09-13 14:08:49
Linux Foundation Website Down After Security Breach Last Week Web Hosting News 2011-09-12 20:32:11
Cloud Infrastructure Developer Hexagrid Joins Open Virtualization Alliance Web Hosting News 2011-07-07 20:46:22


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?